Label
A text label for a form control.
When to use
- Use when
- Naming a form control, when you aren't using Field.
- Avoid when
- You are using Field, which renders its own label.
Installation
The source lands in src/components/ui/label.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
@stylexjs/stylex- Shelf items
foundations,utils- Figma
- In progress. See Designers and Figma.