Note
For the printer
A note that travels with the sheet.
Collects multiple lines of text. Resizes vertically only.
For the printer
A note that travels with the sheet.
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 { Textarea } from "@noorddev/vlak-react";Precompiled React and one stylesheet. No compiler to configure. Per-component imports work too: @noorddev/vlak-react/components/textarea.
npx @noorddev/vlak-cli add textarea
The StyleX leaf lands in components/vlak/ with its dependencies, for your own compiler to own. See StyleX.
npx shadcn add https://vlak.dev/r/textarea.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 { Textarea } from "@noorddev/vlak-react";
<Textarea label="Notes" placeholder="What should we know?" rows={4} />| Prop | Type | Default | Description |
|---|---|---|---|
label | ReactNode | ||
feedback | ReactNode |
Also accepts TextareaHTMLAttributes<HTMLTextAreaElement>.
| Keys | Does |
|---|---|
| Tab | Moves focus to the field; Enter inserts a line break |
<div class="rs-field"><span class="rs-field-label">Notes</span><textarea class="rs-textarea" placeholder="What should we know?"></textarea></div>