OOratiq

Label

Ready

Names a form control.

Requires radix-ui

Installation

$ npx @oratiq-js/ui add label

Copies the component and everything it depends on into your project, then lists the npm packages to install. The code is yours after this.

Usage

import
import { Label } from "@/components/ui/label";

Default, required, optional

Mark whichever is rarer in your form — if most fields are required, mark the optional ones. Marking both is noise.

View source on GitHub → components/ui/label.tsx