Skip to content

GroveMotion

App Shell

Frames an app screen with a sidebar, a top bar and the page; on phones the sidebar opens as a drawer.

Live, interactive React component · light themeResponsive

About the Grove App Shell

The frame of an app screen: a Sidebar, a Topbar and the page. From lg the sidebar stands beside the content; below lg it slides in as a drawer over a scrim. Any element with data-nav-toggle inside the shell (the Topbar has one) opens the drawer under lg and folds the sidebar to a 72 px icon rail from lg. The drawer closes on Esc, on the scrim and when a link in it is followed; focus goes into it and returns to the button. The content column is a <main> with the page gutters. Client component.

It is part of Grove: white cards on sage, pastel chips, pine green. The style’s 135 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.