Skip to content

Label

A text label for form controls.

---
import { Checkbox } from '@bejamas/ui/components/checkbox';
import { Label } from '@bejamas/ui/components/label';
---
<div class="flex items-center space-x-2">
<Checkbox id="terms" />
<Label for="terms">Accept terms and conditions</Label>
</div>
Terminal window
bunx bejamas add label
---
import { Label } from '@bejamas/ui/components/label';
---
<Label for="terms">Accept terms and conditions</Label>