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
- ChangedListRow: an action row's leading icon is 18px. On an interactive row with
tone="warning"ortone="danger"(Leave channel, Archive channel, Delete channel),ListRowIconsizes its svg 18px instead of 20px, also when the row is disabled. - ChangedMessageItem: in a message column at least 48rem wide, the sender line keeps the right fifth of the row empty, so a long description truncates at 80%.
- Added
CoachMark, one stop of a tour (work in progress, from@botiverse/raft-ui/wip; [CoachMark](https://raft-design.botiverse.build/components/coach-mark/), [Coach marks](https://raft-design.botiverse.build/patterns/coach-marks/)).CoachMarktakes the stop'sanchor,openandonDismiss;CoachMarkContentis the 300px bubble with an arrow, 8px from its target;CoachMarkAction,CoachMarkActions,CoachMarkCountandCoachMarkNext(the pink Next or Done) lay out its rows, withPopoverBody,PopoverTitleandPopoverDescriptionfor the text. While a stop is open its target holds the Located wash (data-located="held"). The bubble is non-modal: a press outside and focus leaving don't close it, focus goes to Next when a stop opens unless the person is typing in a field, its buttons come right after its target in the Tab order, and Esc in the bubble (or aPopoverClose) callsonDismiss, while Esc anywhere else goes on to what has focus. - Added
data-located="held"holds the Located wash ([States › Located](https://raft-design.botiverse.build/foundations/states/#located)): fullinfo-soft(fill-cell-selectedon a list cell) with no fade and no timeout, for as long as the attribute is there. CoachMark sets it on its target; don't set it by hand.