Fieldset preview
A native fieldset and legend with linked help, error, requirement copy, and consumer-owned controls.
pro · Forms · primitive
When to use
- Use it when a product interface needs a native fieldset and legend with linked help, error, requirement copy, and consumer-owned controls.
- Choose it when the host application can supply the required state and keep business logic outside the presentation component.
Alternatives
- Choose form-field instead when a labeled email field with validation and help text is the actual interface need, rather than fieldset.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/fieldsetImport components/ui/tidal.css, components/ui/fieldset.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/fieldset.css";
import{TidalFieldset}from"./components/ui/fieldset";
export default()=><div className="tidal-scope"><TidalFieldset children={"value"} legend={"value"}/></div>;API and props
TidalFieldset.children (required)ReactNodeRequired children value accepted by this exported component.
TidalFieldset.legend (required)ReactNodeRequired legend value accepted by this exported component.
TidalFieldset.aria-disabledBooleanish | undefinedAccessible disabled supplied by the consumer.
TidalFieldset.aria-invalidboolean | "true" | "false" | "grammar" | "spelling" | undefinedAccessible invalid supplied by the consumer.
TidalFieldset.contentPropsOmit<HTMLAttributes<HTMLDivElement>, "children"> | undefinedOptional content props value accepted by this exported component.
TidalFieldset.descriptionReactNodeOptional description value accepted by this exported component.
TidalFieldset.disabledboolean | undefinedOptional disabled value accepted by this exported component.
TidalFieldset.errorReactNodeOptional error value accepted by this exported component.
TidalFieldset.requirementReactNodeOptional requirement value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- Keep field state, validation results, submission, and persistence in the host form workflow.