Feature Showcase

NewPremium

Interactive three-panel bento: sidebar nav switches a live demo center panel and code snippet right panel. Perfect for SaaS feature sections.

cardsbentoshowcasetabsdemocodesaas

Installation

Terminalbash
npx motioncraft add feature-showcase

Usage

feature-showcase.tsxtsx
import { FeatureShowcase } from "@/components/cards/feature-showcase";

<FeatureShowcase
  label="AI FEATURES"
  title="Smart Automation"
  items={[
    {
      id: "routing",
      title: "Smart Routing",
      category: "Core",
      demo: <AnimatedDemo />,
      code: `const router = new SmartRouter();
router.configure({ mode: "ai" });`,
      tags: ["AI", "Routing"],
    },
  ]}
  color="cyan"
/>

Props

PropTypeDefaultDescription
items*FeatureShowcaseItem[]Array of features with id, title, demo, and code
titlestringSection title
subtitlestringSection subtitle
labelstringSYSTEMSColored label text
colorstringblueAccent color theme
classNamestringAdditional CSS classes

Related Components