Field
Compose labels, controls, descriptions and errors.
This is your public display name.
Horizontal
Receive emails about your account activity.
Checkbox
You agree to our Terms of Service and Privacy Policy.
Form
Error
Please enter a valid email address.
Fieldset
Field group
API reference
[buiField]
Inputs
| Prop | Type | Default | Description |
|---|---|---|---|
orientation | "horizontal" | "responsive" | "vertical" | 'vertical' | How the label and control are arranged within the field. |
label[buiFieldLabel]
Inputs
| Prop | Type | Default | Description |
|---|---|---|---|
for | string | undefined | Id of the control this label is associated with (maps to the `for` attribute). |
legend[buiFieldLegend]
Inputs
| Prop | Type | Default | Description |
|---|---|---|---|
variant | "label" | "legend" | 'legend' | Whether the legend is styled as a section legend or a smaller label. |
Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.