Interactive testing environment for react-shared components
Current: Default
A legend component for labeling fieldset groups in forms
Customize the legend text and see the changes in real-time
Different legend examples for form sections
childrenReact.ReactNode - The legend text content
Semantic HTML: This component renders a span element with legend-like styling. Use it within StoreFieldset components to label form sections.
Typography: Uses the style-text-label-sm-bold class for consistent small, bold label styling across the application.
Spacing: Includes mb-2 (margin-bottom) to provide appropriate spacing between the legend and form fields.
Typical Usage: Place this component as the first child of a StoreFieldset to provide a descriptive label for grouped form inputs.