marclayuiv0.4.0
Components

Input

A pressed-into-the-clay text field: inset shadow well, warm focus ring, and optional label / hint / error chrome.

tsx
import { Input } from "marclayui";

Label, hint & block

We never share it.

Sizes

Validation

PropTypeDefaultDescription
labelReact.ReactNode—Renders a linked <label> above the field.
hintReact.ReactNode—Helper text below the field.
errorstring—Shows red text, a danger ring and aria-invalid.
size"sm" | "md" | "lg""md"Padding and radius scale.
blockbooleanfalseField and wrapper stretch to full width.
…restInputHTMLAttributes—All native input attributes are forwarded.