bits

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

Label.Root

An enhanced label component that can be used with any input.

Property Type Description
asChild boolean

Whether to use render delegation with this component or not.

Default: false

🚧 UNDER CONSTRUCTION 🚧