Skip to content

Grove

Chat

A message thread with grouped bubbles and a composer, plus a list of conversations.

Live, interactive React component · light themeResponsive

About the Grove Chat

A message thread on one card: the contact with an avatar in the header, the messages in a scrolling log and a composer under it. Their messages sit at the start on the sunken sage, mine at the end on the pine green; consecutive messages from one sender form a group with one avatar, one name and one time, and a message of mine can show "Sent" or a ticked "Read". Sending (Enter or the send button) appends the typed text as a message of mine with nowLabel as its time and scrolls to the end; empty text does nothing. The thread is uncontrolled: it starts from messages and keeps its own list. 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.