Mail Sort
An inbox sorting itself: a pointer labels one message, swipes two into Done and Later, opens another and a new message drops in, while the counts roll. Visitors can open rows, drag them sideways or use the hover buttons, and switch folders with the arrow keys.
pixikit.com/docs/blocks/illustrations/mail-sort
Customize
Autoplay
Loop
Speed1.0x
Height360px
Width560px
Props
15| Name | Type | Default | Description |
|---|---|---|---|
messages | MailSortMessage[] | DEFAULT_MESSAGES | The messages; the last one is the one that arrives during the scene. |
title | string | "Inbox" | The name in the top bar. |
folders | [string, string, string] | DEFAULT_FOLDERS | The three folder tabs: inbox, later, done. |
unreadLabel | string | "Unread: {n}" | The unread count text; {n} is replaced by the number. |
doneLabel | string | "Mark done" | What screen readers call the done button. |
laterLabel | string | "Read later" | What screen readers call the later button. |
backLabel | string | "Back to inbox" | What screen readers call the back to inbox button. |
emptyLabel | string | "Nothing here" | The text of an empty folder. |
autoplay | boolean | true | Starts when the scene scrolls into view; when off it waits for a click on replay. |
loop | boolean | true | Plays again from the start layout after the hold. |
speed | number | 1 | Playback speed multiplier. |
height | number | 360 | The height of the scene in px. |
width | number | 560 | The widest the scene grows, in px. It shrinks to fit a narrower parent. |
replayLabel | string | "Replay" | What screen readers call the replay button. |
className | string | None |