Label
Accessible label for form controls such as inputs, selects or textareas.
View SourceInstallation
Follow instructions for individual framework usage below
Styles
Variants
Props
Examples
Default
html
<label class="x-label">Label</label>vue
<script setup lang="ts">
import { Label } from '@/components/label'
</script>
<template>
<Label for="input">Label</Label>
</template>jsx
import { Label } from '@/components/label'
export function Example() {
return (
<Label for="input">Label</Label>
)
}