Mark
The studio
The mark sits above the field. Twelve pixels.
Names a form control. 12px secondary text, set above the control.
The studio
The mark sits above the field. Twelve pixels.
Three ways in. They share one source, so the pixels match whichever you pick.
npm install @noorddev/vlak-react
// once, next to your app's root
import "@noorddev/vlak-react/css";
import { Label } from "@noorddev/vlak-react";Precompiled React and one stylesheet. No compiler to configure. Per-component imports work too: @noorddev/vlak-react/components/label.
npx @noorddev/vlak-cli add label
The StyleX leaf lands in components/vlak/, for your own compiler to own. See StyleX.
npx shadcn add https://vlak.dev/r/label.json
The same registry item, installed by shadcn's CLI.
<link rel="stylesheet" href="node_modules/@noorddev/vlak/css/vlak.css" />
No React. Link vlak.css and use the markup and classes below.
import { Label } from "@noorddev/vlak-react";
<Label htmlFor="name">Name</Label>
<input id="name" className="rs-input rs-input-full" />Label above a control. 12px, secondary ink.
Also accepts LabelHTMLAttributes<HTMLLabelElement>.
<label class="rs-label" for="name">Name</label>