Fieldset
Groups related fields under a legend; disabling it disables every field inside.
When to use
- Use when
- Grouping related fields under one legend, such as an address.
- Avoid when
- There is only one field; use Field.
Installation
The source lands in src/components/ui/fieldset.tsx, along with any Shelf items it builds on, and .shelf/lock.json records what was installed. It's yours to edit.
Usage
Built on
- Packages
@base-ui/react,@stylexjs/stylex- Shelf items
foundations,utils- Accessibility
- Focus, keyboard, and ARIA behavior come from Base UI.
- Figma
- In progress. See Designers and Figma.