Skip to content

Form & Field

Card

Surface box in flat, raised, outline or sunken looks, with an interactive state for linked cards.

Live, interactive React component · light themeResponsive

About the Form & Field Card

Soft box with 12 px corners: flat (the grey panel fill with no line and no shadow; paper on a panel band), raised (paper with a hairline and the small shadow of things that float over other content: a sticky aside, a toolbar), outline (the hairline alone) or sunken (a deeper well), on any tone: accent is the lime card (ink text, an ink button), tint-1 the pale lime wash, tint-2 to tint-4 lilac, peach and sage, inverse the other mode. mist makes it the pale lime panel, on which cards and chips turn paper. interactive shows an edge on hover (an outline card also takes the soft fill); cards never lift. cardClass(look, className) styles an <a> or <article> as a card; for tone inverse or accent also set data-surface on that element.

It is part of Form & Field: warm paper, ink pills, one lime. The style’s 91 pieces share one set of tokens, type and motion, in a light and a dark theme, so whatever you take from it fits together.

To put it in your project, copy the prompt into Claude Code, OpenAI Codex or Cursor, or add it by hand. The documentation walks through both.

The same piece, drawn for a different look. Open one to compare it live.

Aeris Card

Surface box in flat, raised, outline or sunken looks, with an interactive state for linked cards.

Bavaria Card

Surface box in flat, raised, outline or sunken looks, with an interactive state for linked cards.

Glass Meridian Card

Surface box in flat, raised, outline or sunken looks, with an interactive state for linked cards.

Grove Card

Surface box in flat, raised, outline or sunken looks, with an interactive state for linked cards.

Neo-Brutal Card

Surface box in flat, raised, outline or sunken looks, with an interactive state for linked cards.

Noir Aurora Card

Surface box in flat, raised, outline or sunken looks, with an interactive state for linked cards.

Soft Bento Card

Surface box in flat, raised, outline or sunken looks, with an interactive state for linked cards.

Swiss Tech Mono Card

Surface box in flat, raised, outline or sunken looks, with an interactive state for linked cards.