Form & FieldMotion
Portfolio Filter
Project cards under a row of round filters, each with its count, that narrow the grid to one discipline.
About the Form & Field Portfolio Filter
The portfolio index: a row of round discipline filters, each with its count (All work 06), over the project grid in the theme's card language, with a polite live line ("Showing 3 of 6") between them. The filters come from the projects' tags, in order of first use; each is a toggle button (aria-pressed), and the pressed one fills with ink. Without JavaScript every project shows. Client component.
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.