Skip to content

    Browse components

    Feature Showcase

    Feature list with an expanding description and a filling progress bar that auto-advances, crossfading a matching visual on the side.

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/feature-showcase

    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/feature-showcase.json

    Usage

    import { FeatureShowcase } from "@/components/ui/feature-showcase";
    
    <FeatureShowcase
      interval={5000}
      features={[
        { title: "Realtime analytics", icon: <ChartNoAxesColumn />, description: "Live numbers.", visual: <img src="/analytics.png" alt="" /> },
        { title: "Team inbox", icon: <MessagesSquare />, description: "Reply together.", visual: <img src="/inbox.png" alt="" /> },
      ]}
    />

    Props

    PropTypeDefaultDescription
    intervalnumber5000Milliseconds each feature stays active.
    autoPlaybooleantrueAdvance to the next feature automatically.
    pauseOnHoverbooleantruePause while the pointer or keyboard focus is inside.
    reversebooleanfalsePut the visual on the left.
    featuresReactNode—Array of { title, description, icon?, visual }.
    defaultIndexReactNode—Feature active on first render (number, default 0).
    onChangeReactNode—Called with the new active index.
    classNamestring—Extra classes for the root element.