FormLabel
FormLabel Component
Playground
Props
| Prop | Type | Default | Value |
|---|---|---|---|
| required | boolean | — | |
| error | boolean | — | |
| focused | boolean | — | |
| disabled | boolean | — |
Default
Required
Error
Focused
Disabled
| PROP | TYPE | DEFAULT | DESCRIPTION |
|---|---|---|---|
disabled | boolean | — | Disabled state |
error | boolean | — | Error state |
focused | boolean | — | Focused state |
required | boolean | — | Appends a red asterisk |
Using FormLabeltsx
import { FormLabel } from '@/components/FormLabel'
<FormLabel
required="..."
error="..."
focused="..."
disabled="..."
/>Tokens Used
No design tokens detected