Skip to content

Form & Field

Button

Seven variants, three sizes, a loading state that keeps the width, and a link with the same look.

Live, interactive React component · light themeResponsive

About the Form & Field Button

Pill buttons in seven variants and three sizes (40 / 48 / 56 px), semibold. primary is the ink pill with a paper label (lime with an ink label at night, and ink again on the lime panel): the main action, one per block. secondary is the hairline pill on transparent that fills with ink on hover ("Explore the portfolio", "Get to know the studio"). outline is the same with a darker line, ghost text only, accent the lime pill with an ink label (never on the lime panel), destructive for deleting, and link the text link: a line under the label and its arrow, a 2 px olive line draws over it on hover, while the arrow steps up and right. In a pill the iconEnd arrow sits well apart from the label, as in the theme, and steps up and right too. Loading shows a thin spinner, keeps the width, sets aria-busy, disables the button and announces loadingLabel. ButtonLink is an <a> with the same look (never disabled). buttonClass(look, className) gives the classes for a router link.

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 Button

Seven variants, three sizes, a loading state that keeps the width, and a link with the same look.

Bavaria Button

Seven variants, three sizes, a loading state that keeps the width, and a link with the same look.

Glass Meridian Button

Seven variants, three sizes, a loading state that keeps the width, and a link with the same look.

Grove Button

Seven variants, three sizes, a loading state that keeps the width, and a link with the same look.

Neo-Brutal Button

Seven variants, three sizes, a loading state that keeps the width, and a link with the same look.

Noir Aurora Button

Seven variants, three sizes, a loading state that keeps the width, and a link with the same look.

Soft Bento Button

Seven variants, three sizes, a loading state that keeps the width, and a link with the same look.

Swiss Tech Mono Button

Seven variants, three sizes, a loading state that keeps the width, and a link with the same look.