Skip to content
Sign upGet access
MicrointeractionsInbox sweepMenu

Inbox sweep (Pro)

ProIncluded in $99

An approvals inbox that rewards clearing it, once, when you earn it.

ProApproved rows sweep out in green while the rest rise; the last one opens to a drawn check, a flick of pen strokes and the day's count.

Approving a row sweeps it out to the side in green while the rows below rise into its place. Approve the last one and the empty inbox opens: a check draws itself, a ring of short pen strokes flicks out round it, and All caught up arrives with the day's count rolling in.

Installation

$ pnpm dlx shadcn@latest add @chatcn-pro/inbox-sweep

Needs chatcn Pro

This command works with a Pro license, along with every Pro component.

Or start free: sign up and get three Pro components on us, with a new one every month.

Usage

tsx
import { InboxSweep } from "@/components/ui/chatcn/pro/inbox-sweep"

<InboxSweep items={pending} onApprove={(id) => approve(id)} approvedToday={count} />

Props

PropTypeNotes
items{ id, title, detail? }[]
onApprove(id: string) => voidCalled after the row has swept out
approvedTodaynumberFor the empty state

Accessibility

  • All caught up is a status; each row's button is labelled Approve.

Motion

  • Rows leave in 520 ms; the check draws 420 ms and the strokes flick out once. Reduced motion: rows go at once.