Input
Single-line text field with label, hint and error. Heights match Button.
We never share it.
This URL is taken. Try another one.
import { Input } from '@stanvision/atomus-react';
<Input label="Email" placeholder="you@company.com" hint="We never share it." /><Input label="URL" error="This URL is taken." />Single-line text field with label, hint and error. Heights match Button: sm 32 · md 40 · lg 48.
Provide
Section titled “Provide”label— always (Figma: Label); usearia-labelwhen the design hides it.placeholder— an example value, never the label.hint(Figma: Hint);errorreplaces it and turns the borderborder-error(Figma: State=Error).size,iconLeading,iconTrailingand any native input attribute.
- Write errors that say how to fix it: “Enter a date after today”.
- Don’t rely on the red border alone — the error text is required.
In Figma
Section titled “In Figma”Properties, variants and anatomy for the Figma component are on the Figma reference page. Prop names in React match the Figma property names.