Fieldset
Groups related form fields under a shared legend and optional description, and can disable them together.
Paste this into your agent.
Fieldset puts clusters like a shipping address, billing details or a set of radio options under one shared name. Disabling the Fieldset disables every control in it.
Install
bashnpx shadcn@4.18.0 add @siteplane/fieldset
Import it from @/siteplane/components/fieldset. The project needs Siteplane UI's one-time setup first: .
When to pick it
- vs : Pick Field for a single control; render a Field as the Fieldset when a radio or checkbox group needs a legend and one name.
- vs : Pick Card for a visual container. Put a Fieldset inside it when the controls also need a shared accessible name.
- vs : Pick Form for submission and validation. Fieldset groups controls and does not submit.
Rules
- Write a
FieldsetLegendthat says what the controls have in common. - Put shared help for the group in
FieldsetDescriptionand help for one input in FieldDescription. - Set
disabledon Fieldset to switch off every control inside it. Keep it away from read-only displays. - For radio or checkbox groups, render the Field as the Fieldset. The legend then labels the whole set, and each option inherits the Field's name.
Reference
Add to your agent
Print this skill from the terminal, or connect the whole catalog over MCP. Setup guides
CLI
MCP server
Questions
Related skills
Siteplane Checkboxby UI Skillbook
A box for one independent yes/no choice, with indeterminate state and form submission built in.
Siteplane UI
Siteplane Checkbox Groupby UI Skillbook
Holds a set of related checkboxes as one array value, with an optional parent box that selects all.
Siteplane UI
Siteplane Date Fieldby UI Skillbook
A typed date input built from day, month and year segments, with an optional calendar popover.
Siteplane UI
Siteplane Fieldby UI Skillbook
Ties a control to its label, help text and validation messages, with top or floating labels.
Siteplane UI