Skip to content

Inbox, compact

The compact variant for the notifications slot of AppShell: shorter rows without the body, a limit and a link to the full inbox.

  • Inbox
Status
Stable
axe:
Light, Dark, High contrast
Unit tests:
yes
Keyboard pass:
not yet
Screen reader pass:
not yet
Used in:
no app yet

PreviewLink to the section Preview

Live in all three themes. Everything here is interactive.

Light theme, Inbox, compact

Notifications2 unread

See all notifications

Dark theme, Inbox, compact

Notifications2 unread

See all notifications

High contrast theme, Inbox, compact

Notifications2 unread

See all notifications

UsageLink to the section Usage

tsx
import { Inbox } from '@skribly/ui/inbox'
tsx
<AppShell
  notifications={{
    label: 'Notifications, 2 new',
    title: 'Notifications',
    badge: 2,
    content: <Inbox notifications={items} labels={labels} variant="compact" limit={5} viewAllHref="/inbox" hideTitle />
  }}
/>

Every label is a prop, so the app passes its own words in its own language. See no built-in text.

AccessibilityLink to the section Accessibility

This page has no notes of its own yet. The rules every component follows are on the accessibility page.

This demo runs through axe in all three themes on every test run. See what the tests check.

Search this site

Arrows move through the results, Enter opens one, Esc closes. Ctrl K /