Skip to content

Bavaria

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 Bavaria Card

Quiet box with 8 px corners: flat (white with a hairline, no shadow), raised (the same with the small soft shadow of things that float over other content: a sticky aside, a toolbar), outline (the hairline alone) or sunken (a borderless well), on any tone: accent is the forest panel (chalk text, sage primary button), tint-1 the pale sage wash, inverse the other mode. sage makes it the sage note: ink on sage in both modes, with an ink primary button. interactive firms up the hairline on hover (an outline card also turns white); cards never lift. Where the template uses rules instead of boxes (service cells, stats, detail rows), don't use a Card: use the rule recipes in SKILL.md. 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 Bavaria: chalk pages, architectural photos, sage and forest green. The style’s 93 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.

Form & Field 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.