Filters
The two dropdowns in the inbox header. They always show their current value, never a bare “Filter”.
Read status and tags
24 tall, radius 8, a border/subtle hairline. ReadFilter picks one of All mail, Unread or Read. TagFilter picks several: “Show mail tagged”, All tags, then each tag in its colour with a count. With several picked the label reads “Work + 2”. There is no Starred filter; the sidebar’s Favourites covers it.
Usage
import { ReadFilter, TagFilter } from "@kuori/ui/inbox";<ReadFilter value={read} onValueChange={setRead} />ReadFilter
PropTypeDescription
valueRequired'all''unread''read'The current choice, shown on the trigger
onValueChangeRequired(value) => voidCalled with the new choice
TagFilter
PropTypeDescription
valueRequiredTagId[]The picked tags. Empty means All tags
onValueChangeRequired(value: TagId[]) => voidCalled with the new set, in tag order
labelRequiredstring“All tags”, “Work” or “Work + 2”
countsPartial<Record<TagId, number>>How many emails carry each tag