Skip to content
ProLifetime access for $199, paid once, every future release included
Truffle UI

Animated List

Pro

Reveals items one at a time, newest on top, like a notification feed.

Installation

pnpm dlx shadcn@latest add @viewport/animated-list

First time? Add the @viewport registry to components.json. Setup takes one minute.

Usage

The code behind the preview above comes with Truffle Pro.

Props

PropTypeDefault
intervalnumber

Milliseconds between items.

1400
maxnumber

Maximum items visible at once. Older items leave from the bottom.

4
loopboolean

Start over after the last item.

true
classNamestring—
children*React.ReactNode—

Accessibility

  • Shows all items at once under reduced motion.
  • Uses layout animation, so siblings move smoothly instead of jumping.