Components
Label
An enhanced version of the native HTML label element.
Structure
<script lang="ts">
import { Label } from "bits-ui";
</script>
<Label.Root />
<script lang="ts">
import { Label } from "bits-ui";
</script>
<Label.Root />
Component API
Root
An enhanced label component that can be used with any input.
Prop | Default | Type/Description |
---|---|---|
asChild | false | boolean Whether to use render delegation with this component or not. |
🚧 UNDER CONSTRUCTION 🚧