Label
Example
import { Checkbox, Label } from "@databricks/appkit-ui/react"
export default function LabelExample() {
return (
<div>
<div className="flex items-center space-x-2">
<Checkbox id="terms" />
<Label htmlFor="terms">Accept terms and conditions</Label>
</div>
</div>
)
}
Label
Source: packages/appkit-ui/src/react/ui/label.tsx
Props
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
asChild | boolean | - | - |
Usage
import { Label } from '@databricks/appkit-ui';
<Label /* props */ />