Patterns
How primitives compose
src/lib/avatar.ts, and the frame and list colours are each theme's own class strings from shared/themes.ts.At a glance#
The pieces below, composed the way the shell draws them: rail and channel list on the themed frame, and the channel's content panel floating beside them with its 54px header, the message rows and the composer. On a phone it becomes the two screens the app shows there: the channel list, and the open channel under a back bar. Switch the theme to see every piece move together.
Today
Pushed the new onboarding flow to staging. I'd love eyes on the invite step before Thursday.
Looking now. The invite step reads well, but the Skip link is easy to miss on phones.
Agree on Skip. I can make it a secondary button, same width as Continue.
JWMCSO3 repliesLast reply 5 minutes agoView threadHuddle at 11 to walk through it together? @Maya @Priya
Today
Pushed the new onboarding flow to staging. I'd love eyes on the invite step before Thursday.
Looking now. The invite step reads well, but the Skip link is easy to miss on phones.
Agree on Skip. I can make it a secondary button, same width as Continue.
JWMCSO3 repliesLast reply 5 minutes agoView threadHuddle at 11 to walk through it together? @Maya @Priya
Shift + Return to add a new line
Message row#
38px avatars (34px in the thread pane) and 600 sender names over 15px bodies at line-height 1.5, under a date pill. Own reactions take a 12% accent fill, a 1px inset accent ring and an accent count; others are muted. @mentions are accent chips, the open thread's parent holds an accent tint with a 3px bar, and the accent New divider marks the first unread. Links and @mentions take the accent too; there is no separate link blue. The second row is forced into its hover state: muted/60 behind it and the hover toolbar pinned above.
Today
Pushed the new onboarding flow to staging. I'd love eyes on the invite step before Thursday.
Looking now. The invite step reads well, but the Skip link is easy to miss on phones.
Agree on Skip. I can make it a secondary button, same width as Continue.
JWMCSO3 repliesLast reply 5 minutes agoView threadHuddle at 11 to walk through it together? @Maya @Priya
Composer#
A rounded-xl bordered box whose focus cue is a border shift (focus-within:border-foreground/25), not a ring. On top, the formatting bar in two groups split by one divider: B I U S as letters, then link, numbered, bulleted, quote, code, code block and clear as lucide line icons (28px buttons). Then the 14px field, then a row of 30px buttons: + / emoji / @ / slash / a text Aa, and an accent send joined to the schedule caret (channel, DM and thread composers pass one). Empty, both go muted and the Shift + Return hint, bottom right under the box, fades out. The typing line floats above the box, so an idle composer reserves no row for it. Accent fills take white text in light and #16090e in dark, where the accents are pastels.
md and up · typing, someone else typing
Shift + Return to add a new line
md and up · empty
Shift + Return to add a new line
Under md, closed is one row in a rounded-2xl box: +, field, emoji, Aa, send. Every control is 36px with a 44px hit area (an after:-inset-1 overlay). @ and slash hide, and there is no Shift + Return hint. An empty send goes transparent and the disabled caret is dropped. Aa opens formatting, which stacks: a single-row toolbar that scrolls sideways (36px buttons over a hairline), the full-width field, then the action row with send pushed right.
< md · closed, empty
< md · closed, typing
< md · formatting open
Hover toolbar#
A floating card pinned 16px above the row's top-right edge: two quick reactions (your most recent on this device, defaulting to 👀 ✅) and add reaction, a divider, then reply in thread, save for later and more (⋮). Everything else lives in the ⋮ menu — click it: Remind me, then Forward, Copy link and Pin, then Edit and Delete, each shown only when the caller may use it. It overlaps the row above rather than pushing content down.
Thread summary chip#
Stacked participant avatars (22px, 24px under md, each ringed in the background), "N replies" in the accent at 600, then "Last reply …" as a relative time. On hover the label becomes "View thread" and a chevron fades in; both labels share one grid cell, so the chip keeps its width instead of shrinking out from under the pointer. Under sm the label cell is hidden, and under md the chip grows to 36px.
sm and up · rest
JWMCSO3 repliesLast reply 5 minutes agoView threadsm and up · hover
JWMCSO3 repliesLast reply 5 minutes agoView thread< sm
JWMCSO3 repliesMember stack#
The channel header's members button: a few member avatars at 22px, overlapped by 5px and ringed in the background, then the member count. It uses the same avatar style as every other person avatar.
Link hover card#
Hovering a link in a message shows one compact row: a link icon, the host in semibold and the rest of the URL muted (up to two lines), then open in a new tab and copy. It sizes to the URL, from 240px up to 480px, and never wider than the viewport less 1rem. It prefers to sit above the link and flips below when there's no room.
figma.com/file/onboarding
docs.google.com/document/d/1x8Qe4rT0nboarding-v3-review-notes-and-open-questions/edit?tab=t.0#heading=h.invite-step
Huddle card#
Pinned to the foot of the channel list while a huddle is live. It sits on the list panel, so it darkens rather than lightens: black/22% with a white/8% inset ring and a white Join. The participant line takes the theme's item colour.