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
CLI
Copy & Paste
npx @sly-cli/sly add draft-ui labelExamples
Default
This is the default Label
Example
Code