Skip to content

    Browse components

    Cascade List

    Items drop in one at a time, like a live notification feed.

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/cascade-list

    First time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glintui.vercel.app/r/cascade-list.json

    Usage

    import { CascadeList } from "@/components/ui/cascade-list";
    
    <CascadeList items={notifications.map((n) => <Notification key={n.id} {...n} />)} />

    Props

    PropTypeDefaultDescription
    itemsReactNode—Array of nodes to cycle through.
    delaynumber1200Ms between new items.
    maxnumber4Max items visible.
    classNamestring—Extra classes for the root element.