Black Friday: 30% off Pro

Get 30% off

Feature Morph

Pro

Preview

Customize

Visible7
Duration2500ms

Installation

Pro

Feature Morph is a Pro component

Sign in to see the source, or install it with a license key. The live preview and props above are free to explore.

Install with a key

  1. Add the Pro registry to components.json:
    components.json
    {
      "registries": {
        "@uibrik-pro": {
          "url": "https://uibrik.com/r/pro/{name}.json",
          "headers": { "Authorization": "Bearer ${UIBRIK_LICENSE}" }
        }
      }
    }
  2. Put your key in .env.local and add that file to .gitignore:
    .env.local
    UIBRIK_LICENSE=your-license-key
  3. Install it:
    Terminal
    npx shadcn@latest add @uibrik-pro/feature-morph

Usage

import { FeatureMorph } from "@/components/uibrik/feature-morph/feature-morph";​<FeatureMorph  visible={7}  autoplay  duration={2500}  label="Features"  onChange={(index) => {}}  // features={[{ title: "…", description: "…", icon: <…/> }]}/>

Where to use Feature Morph

  • Feature overviews

    One feature open as a card at a time keeps a list of six benefits short.

    Pairs with Stacked Steps

  • Product tours in a hero

    The card folding back into its icon and the next growing out works as an autoplaying tour.

  • Bento sections

    Icon tiles plus an open card fit a tidy row inside a larger bento layout.

Props

FeatureMorph
visible
Type number
7
Items in the row, the open card included. Fewer show when they don't fit, or when there are fewer features.
autoplay
Type boolean
true
Turn on its own. Holds while pointed at or focused, and with reduced motion.
duration
Type number
2500
How long each feature stays open while playing.
features
Type { title: string; description: string; icon: ReactNode; color?: string; cta?: { label: string; href?: string; onClick?: () => void } }[]
7 sample features
Features in order. <Duotone icon={…} fill={…} /> pairs a Tabler outline icon with its filled twin; color tints it while open.
label
Type string
"Features"
Names the row for screen readers.
onChange
Type (index: number) => void
–
Called with the newly open feature.
className
Type string
–
Classes for the wrapper.