Command Palette

Search for a command to run...

Renders an accessible label associated with controls.

Label

import { Label } from "@/components/optics/label";import { Input } from "@/components/optics/input";<div className="flex flex-col gap-2 max-w-sm">  <Label htmlFor="email">    Email  </Label>  <Input    id="email"    placeholder="Enter your email"    type="email"    variant="raised"  /></div>

Installation

pnpm dlx shadcn@latest add @optics/label