animui
ComponentsBlocksDocsPackageTry the demo
Introduction
Installation
Theming
Motion
AI guide
Changelog
Metrics dashboard
KPI drilldown
Metric explorer
Revenue explorer
MRR waterfall
Cohort retention
Usage forecast
Journey flow
Choropleth explorer
Connected scatter
Market terminal
Budget variance
Small multiples
Line replay
AI chat
AI composer
Agent run
AI side panel
SidebarPro4
Page header
Command palette
Notification center
Empty states
Search resultsPro
Login and sign up5
OTP input
Multi-step formPro
Settings page
Settings command
Security settings
Billing overview
Usage billing
Cancel flow
Team members
Invite people
Team directory
Roles and permissions
API keys
Webhooks
Integrations
Environment variables
Plan comparison
Pricing calculatorPro
Usage pricingPro
Cart drawerPro
Checkout summaryPro
Invoice studio
Wallet card
Product listing
Product detail
Inbox triage
Support conversation
Support widget
Help centerNew
File upload
Media playerPro
Week calendar
Availability picker
Project board
Release readiness
Kanban boardNew
Hero section
Hero signupPro
Scroll storyPro
Spotlight gridPro
Feature bentoPro
Comparison table
Logo marquee
Studio perspectivesPro
Stats band
Changelog feed
FAQ section
Contact section
Team showcasePro
Blog grid
Site header
Site footer
CTA section
Newsletter signup
Activity terrain
Revenue globe
Customer galaxy
Semantic zoom
Layout morph
What’s new8 new
BlocksInbox triage

Inbox triagePro

Process a focused inbox with archive, snooze, and restore actions.

Live block · sample data

When to use

  • A queue of messages or requests that need archive, snooze, or restore decisions.
  • Inboxes where rows expand in place to show details and actions.

When not to use

  • Use inbox-sidebar for mail navigation with folders and counts.
  • Use notification-center for system notifications.
  • Use swipe-actions for touch-first lists with gesture actions.

Installation

Install animui once, then import any component or block from its typed package entry.

animui · 250 components and blocks

React 19 and React DOM 19 are required. The package includes Free and Pro entries, styles and TypeScript declarations.

npm install https://animui.stracture.net/__local/package.tgz

Load the stylesheet once at your app root, then use the typed component import:

import 'animui/styles.css';
import { InboxTriage } from 'animui/inbox-triage';

Read the Code tab for the implementation files and the API reference below for required props.

Download animui 0.3.0 · Agent guide

Usage

Use this pattern when messages need clear next actions. Connect the demo folder state to your own message service.

example.tsx
1import { InboxTriage } from "animui/inbox-triage";2 3export function Messages() {4  return <InboxTriage />;5}
Built fromAvatarButtonMotion

API reference

InboxTriage

Inbox, Snoozed, and Archive tabs with messages that expand in place, an Unread filter, archive, snooze, and restore actions with single-key shortcuts, and an undo for the last move. Takes no props; messages are sample data.

No props.

Keyboard interactions

ArrowLeftorArrowRight
Switch folders in the tab list.
ArrowUporArrowDown
Move between message rows.
EnterorSpace
Expands or collapses the focused message and marks it read.
E
Archives the focused message (outside Archive).
S
Snoozes the focused message (in Inbox).
U
Moves the focused message back to Inbox (in Snoozed or Archive).

Accessibility

  • Folders are a tablist with arrow key navigation; the list is its tabpanel.
  • Message rows toggle with aria-expanded and aria-controls and declare their shortcuts with aria-keyshortcuts.
  • After a message leaves, focus moves to the next row, or to the heading when the list is empty; undo returns focus to the restored row.
  • Moves are announced in a polite role="status" region; the Unread filter uses aria-pressed.

Motion

  • Rows and message details open and collapse with height and opacity on the smooth spring.
  • The folder indicator glides between tabs with a shared layoutId; the status line swaps with a short rise.
  • Reduced motion removes height and travel and keeps plain fades.

Responsive behavior

  • Container queries: below 560px rows switch to a two-line layout with a 32px avatar, subject and preview under the sender, and a short hint in the footer.
  • Below 360px the unread count hides, tabs tighten, and detail text drops its avatar indent.

Performance

  • Rows collapse with height animation; the list is not virtualized.
  • Focus moves to the next row after an action on the next frame, without extra timers.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use when a queue of messages or requests needs clear next actions.
  • No callbacks are exposed; replace initialMessages and the move() and undo() functions with calls to your message service.
  • Composes animui Avatar and Button.
/components/blocks/inbox-triage/markdown

The full library index for assistants is at /llms.txt.

Related

Sidebar: InboxProBlockA mail sidebar whose Compose button grows into a composer and whose folders take dropped mail.Notification centerBlockA home for updates with read state, grouped information, and animated disclosure.Swipe actionsComponentReveal row actions with a swipe, or from the same actions in a menu.Support conversationProBlockA responsive message thread with useful quick replies and live feedback.
PreviousSupport conversationNextCommand palette
animui · 84 block pagesllms.txt

On this page

  • Preview
  • When to use
  • When not to use
  • Installation
  • Usage
  • API reference
  • Keyboard
  • Accessibility
  • Motion
  • Responsive behavior
  • Performance
  • Notes for AI
  • Related
View as Markdown

Messages

2 unread

SsnoozeEarchiveOpen a message to snooze or archive it