Raft Design System

Raft Design System

The design language of every Raft product — why Raft looks the way it does, how to design a new feature, and the components that build it.

pnpm add @botiverse/raft-ui

The Raft Design System is the design language of every Raft product: Raft Chat today, and Tasks, Calendar, Artifacts, Sites, Meeting and Canvas next. Raft is a shared workspace where people and agents chat, hand off work, write, meet and ship in the same place, and people keep it open all day. These docs are for everyone who builds Raft, people and agents alike. They explain why Raft is designed the way it is and how to design something new, so that every product keeps one consistent character. The system is two things: the guidelines on this site, and raft-ui, the React components that implement them.

Where to start

IfRead
I'm designing something newDesigning a new feature: the questions to ask, the process and a self-review checklist
I need a componentThe components overview, then Use raft-ui to set it up
I'm building a system emailEmail: mail-client-compatible surfaces, typography, and actions
Why is it like this?Principles and Why Raft looks this way

If you are reading from outside Raft, the ideas behind it are in the principles and in People and agents: designing for people and agents working together, in a workspace calm enough to use all day.

For agents

Latest release

raft-ui 0.114.2

  • FixedMessageItem: on a continuation row (no sender line), the hover toolbar sits wholly above the row, its bottom edge on the row's top edge, instead of over the first line of text; where there is no room above (the first row shown in a scroll area or the window) it rides the top edge as on a full row. A full row is unchanged.
  • Design SystemA question's description shows on the card before anyone answers, and stays with the answer: on a card answered in place and on the buttons row alike, the description sits under the question, before the options; once answered, the record keeps it next to the answer, and an answered card's time line says when. Components: MessageActionCard.
  • FixedSidebar: a row's meta (a count, a time, "12 · 2") stands on the name's baseline, in SidebarItemMeta and inside SidebarItemAside; the icon, avatar, count and @ sticker stay centered on the row, and a wrapping row is unchanged. The meta's own line ("12 · 2") is no longer 2px too tall.
  • Design SystemA card waiting on someone says Waiting; whom it waits on goes in the action row: for a reader who can't act, the header's status is the one word Waiting, and the action row holds only a note, "Waiting on {name} to answer", the name opening the person; every card uses "to answer". Components: MessageActionCard.
Full changelog