Email card
The split view card, three lines: sender and time, subject, preview with the tag. The list sits straight on the window, 392 wide, with no panel behind it.
States
The open email is state/selected (current), and so is anything picked with its checkbox. A starred email shows the gold star before the time. Click a card to open it.
Today
Mara Lindqvist09:41Notes from the onboarding reviewThree things to fix before Thursday, none of them largeWork
Design Weekly08:15Twelve type pairings worth stealingThis week: grotesques that hold up at 13 pixelsNewsletters
Jonas Weber07:58Offsite: flights and hotel optionsTwo hotels near the venue, both under budgetTravel
Usage
import { EmailCard } from "@kuori/ui/inbox";<EmailCard email={email} current={email.id === openId} onOpen={open} />EmailCard
PropTypeDescription
emailRequiredEmailSummarySender, address, subject, preview, tag, time, unread and starred
currentbooleanThe email in the reading paneDefault:
falseselectedbooleanPicked with its checkboxDefault:
falseonSelectedChange(selected: boolean) => voidThe checkbox
onOpen() => voidClicking the card or pressing Enter on it