Genesis
@beta

InboxViews

InboxViews — the views rail of a 3-pane inbox: "Mine", "Unassigned", "All open", "Waiting", "Solved", saved views. Each with a count and an icon; the active one is marked `aria-current`. Plain props: the app fills it from its own data, and counts can change live. The default for `InboxLayout`'s `views` pane; an app can put anything there.

packages/ui/src/components/patterns/messaging/inbox-views.tsx

Import
Subpath export: @marktiderman/genesis-ui/patterns
import { InboxViews } from "@marktiderman/genesis-ui/patterns";
Components
Auto-generated from TypeScript source via react-docgen-typescript.

InboxViews

PropTypeDefaultDescription
onSelect*(id: string) => void—
views*readonly InboxView[]—
activeIdstring | null—
classNamestring—
sectionsreadonly { title: string; ids: readonly string[]; }[]—Group headings over the views ("Views", "Saved").
testIDstringinbox-views