Label
Form field labels with terminal-aesthetic uppercase styling.
Import
Usage
The Label component provides form field labels with terminal aesthetics and support for required/optional indicators.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | 'default' | 'required' | 'optional' | 'disabled' | 'default' | Visual variant |
| size | 'sm' | 'md' | 'lg' | 'md' | Label size |
| required | boolean | false | Show required indicator (*) |
| optional | boolean | false | Show optional indicator |
| children | React.ReactNode | - | Label content |
| className | string | - | Additional CSS class names |