Skip to content

Form & FieldMotion

Navbar

Site header with logo, links and actions; its mobile menu opens before hydration and closes on Esc.

Live, interactive React component · light themeResponsive

About the Form & Field Navbar

The site header on paper: the logo at the start, the links in the middle as small semibold pills inside one round hairline frame (the current page gets a grey fill with an ink line under it), and the actions at the end (ThemeToggle, then the ink pill "Start a project ↗"). A link with children gets a small caret and a dropdown panel that opens on hover and on keyboard focus without JavaScript; the parent stays a real link. bar is the full-width header, which gains a hairline as the page scrolls; floating is a round hairline bar set in from the page edges. Under 992 px the links move into a sheet that drops from the top (children in a hairline box under their parent, the actions too on phones); it opens before hydration, closes on Esc, an outside tap, a link tap or its close button, and focus returns to the menu button. 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.

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

Aeris Navbar

Site header with logo, links and actions; its mobile menu opens before hydration and closes on Esc.

Bavaria Navbar

Site header with logo, links and actions; its mobile menu opens before hydration and closes on Esc.

Glass Meridian Navbar

Site header with logo, links and actions; its mobile menu opens before hydration and closes on Esc.

Grove Navbar

Site header with logo, links and actions; its mobile menu opens before hydration and closes on Esc.

Neo-Brutal Navbar

Site header with logo, links and actions; its mobile menu opens before hydration and closes on Esc.

Noir Aurora Navbar

Site header with logo, links and actions; its mobile menu opens before hydration and closes on Esc.

Soft Bento Navbar

Site header with logo, links and actions; its mobile menu opens before hydration and closes on Esc.

Swiss Tech Mono Navbar

Site header with logo, links and actions; its mobile menu opens before hydration and closes on Esc.