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-uiThe 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
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
- /llms.txtEvery page with a one-line summary, by section.
- /llms-full.txtEvery page in one file, in the same order.
- /components/button.mdAny page as Markdown: its path plus .md.
- /components.jsonEvery component with its status, other names, category, import and doc URLs.
Latest release
- 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
SidebarItemMetaand insideSidebarItemAside; 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.