Label

Native label wrapper for form fields and inline UI copy.

Installation

npx @glass-ui-kit/cli add label

Usage

import { Label } from "@glass-ui-kit/glass"
export default function App() {
return <Label htmlFor="email">Email address</Label>
}

Examples

Checkbox Pairing

Labels are especially useful for making checkbox rows easier to scan and click without losing native behavior.

Field Pairing

Use htmlFor with a matching form control id to keep label and input behavior fully native.

Styling & API

Label accepts standard label attributes and class composition.

<Label htmlFor="name">
Name
</Label>