Draft UI

Label

Displays a form input field or a component that looks like an input field.

Important

Label is a primitive component, it is not meant to be used on it's own. Many components that behave as form inputs automatically handle linking labels to their respective inputs, such as DatePicker, RadioGroup, Select, TextField, Switch, etc.

Installation

bash
npx @sly-cli/sly add draft-ui label

Examples

Default

This is the default Label