Skip to content
PixiKit

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
NameTypeDefaultDescription
messagesMailSortMessage[]DEFAULT_MESSAGESThe messages; the last one is the one that arrives during the scene.
titlestring"Inbox"The name in the top bar.
folders[string, string, string]DEFAULT_FOLDERSThe three folder tabs: inbox, later, done.
unreadLabelstring"Unread: {n}"The unread count text; {n} is replaced by the number.
doneLabelstring"Mark done"What screen readers call the done button.
laterLabelstring"Read later"What screen readers call the later button.
backLabelstring"Back to inbox"What screen readers call the back to inbox button.
emptyLabelstring"Nothing here"The text of an empty folder.
autoplaybooleantrueStarts when the scene scrolls into view; when off it waits for a click on replay.
loopbooleantruePlays again from the start layout after the hold.
speednumber1Playback speed multiplier.
heightnumber360The height of the scene in px.
widthnumber560The widest the scene grows, in px. It shrinks to fit a narrower parent.
replayLabelstring"Replay"What screen readers call the replay button.
classNamestringNone

Related