import { Label } from 'welcome-ui/Label'const Example = () => {return <Label>Default label</Label>}export default Example
Variants
danger, warning, or success variant add specific badge, you can add a custom one as well.
Required
With required property.
Disabled
Customize label for disabled elements.
More content
Checkboxes and radio buttons are normally nested inside labels. If you do this, make sure there is only one other child (in this example, a div).