Skip to content
Twentyfirst UIHalo

Mail Filter Bar

Data · MailFilterBar

View as Markdown

Filters for a mail list in one row: account and domain (menus), unread, starred and with attachments (toggles), and the agent that handled the mail. "Clear filters" appears when any is set; count shows how many messages match. The value is { account, domain, agent, unread, starred, attachments }.

18 messages

Props

MailFilterBar

PropTypeNotes
value?MailFilters
defaultValue?MailFilters
onChange?(filters: MailFilters) => void
accounts?Option[]
domains?Option[]
agents?Option[]Agents mail can be filtered by (mail an agent handled or drafted).
count?numberMessages matching, shown at the end.
label?string
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.