Email row
The list view row, 36 tall: checkbox, star, unread dot, sender (150 wide), subject and preview, tag, time.
Unread, read and selected
Unread rows get the accent/solid dot, with sender and subject in Heading/XS text/primary. Read rows keep the dot’s space so senders line up, in Body/SM text/secondary. Selected is state/selected. Pick and star them: both are instant.
Today
Mara LindqvistNotes from the onboarding reviewThree things to fix before Thursday, none of them largeWork09:41Unread
Design WeeklyTwelve type pairings worth stealingThis week: grotesques that hold up at 13 pixelsNewsletters08:15
Jonas WeberOffsite: flights and hotel optionsTwo hotels near the venue, both under budgetTravel07:58Unread
Hover
state/hover, instant, and only on devices with a real pointer. Resting on a row for 450ms opens its peek card.
Design WeeklyTwelve type pairings worth stealingThis week: grotesques that hold up at 13 pixelsNewsletters08:15
Select all
SelectAllRow tops the list while anything is picked: the mixed checkbox, “4 of 50 selected” and “Select all 48,979”, with even space above and below.
4 of 50 selected
Usage
import { EmailGroup, EmailRow, SelectAllRow } from "@kuori/ui/inbox";<EmailRow email={email} selected={selected} onSelectedChange={select} onOpen={open} />EmailRow
PropTypeDescription
emailRequiredEmailSummarySender, address, subject, preview, tag, time, unread and starred
selectedbooleanPicked with its checkbox: state/selectedDefault:
falseonSelectedChange(selected: boolean) => voidThe checkbox
onStarredChange(starred: boolean) => voidThe star
onOpen() => voidClicking the row or pressing Enter on it
...propsHTMLAttributesPointer handlers and the rest, for the peek card
SelectAllRow
PropTypeDescription
selectedRequirednumberHow many are picked on this page
onPageRequirednumberHow many rows are on this page
totalRequirednumberEverything that matches, across pages
labelRequiredstring“4 of 50 selected”
selectAllLabelstring“Select all 48,979”. Hidden when it all fits on one page
onSelectPageRequired(select: boolean) => voidThe checkbox
onSelectAll() => voidThe Select all link
EmailGroup
PropTypeDescription
labelRequiredstringToday, Yesterday, Earlier this week, Last week, Earlier in {month}