Skip to content

Grove

File Card

A file or folder as a card or a row, with an icon chip by type, details and actions.

Live, interactive React component · light themeResponsive

About the Grove File Card

One file or folder in a file manager: an icon in a pastel chip picked by kind, the name, a quiet meta line, the people it is shared with and a menu. layout="card" is a white tile for the grid view; layout="row" is one line for the list view (small chip, name, meta at the end, menu) that draws a hairline above every row but the first, so rows stack inside one card (<div className="overflow-hidden rounded-card bg-surface shadow-card">). With href the name is a link and the whole card or row is its target; the menu stays clickable above it. selected fills it soft green and puts a check on the chip. Kinds map to tints: folders and archives honey, documents and sheets sky, PDFs apricot, images, video and audio lilac, code and other neutral.

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.