# Feature Showcase

> A section that shows a few features in depth: alternating rows, tabs that swap the visual, tall cards or a scroll tour past a pinned visual.

- Type: React block (Marketing Sections)
- Access: Pro (the source needs a Wingo UI Pro plan, see https://wingo-ui.com/pricing)
- Version: 1.0.0
- Install: `npx wingo-ui@latest add feature-showcase`
- Docs: https://wingo-ui.com/components/feature-showcase

## Interaction

Zigzag: each feature is a row with an eyebrow, a title, a short text, a three-item checklist and a Learn more link next to a visual, alternating sides on desktop and stacking copy over visual on phones. The visuals are drawn in code (a roadmap timeline, a doc editor, an automation rule) unless you pass media. Tabs: a row of tabs (or a list of cards beside the visual from 1024px) picks the feature; the visual and copy fade over. Arrow keys move between tabs, Home and End jump. On phones the tabs become a horizontally scrolling segmented row. Cards: one tall card per feature with its visual on top, three to a row from 1024px and a swipeable snap rail below. Sticky: on desktop the copy of each feature scrolls by while the visual column stays pinned and crossfades to the feature crossing the middle of the screen; on phones each feature shows its own visual under its copy. The pin needs the page (or the nearest scroll container) to scroll, so do not wrap it in an overflow container.

## Installation

```bash
npx wingo-ui@latest add feature-showcase
```

Pro item: run `npx wingo-ui@latest login` once with a Pro account. The CLI adds the files, their dependencies and a version record for updates.

With shadcn: `npx shadcn@latest add @wingo-ui/feature-showcase` (needs the @wingo-ui registry with your API key in components.json)

Files:

- `components/blocks/feature-showcase.tsx`

npm dependencies: `npm i motion @radix-ui/react-tabs lucide-react`

Wingo UI dependencies (installed automatically):

- [Marketing Section](https://wingo-ui.com/components/marketing-section) ([Markdown](https://wingo-ui.com/components/marketing-section.md))
- [Avatar](https://wingo-ui.com/components/avatar) ([Markdown](https://wingo-ui.com/components/avatar.md))
- [useControllableState](https://wingo-ui.com/components/use-controllable-state) ([Markdown](https://wingo-ui.com/components/use-controllable-state.md))
- [useMediaQuery](https://wingo-ui.com/components/use-media-query) ([Markdown](https://wingo-ui.com/components/use-media-query.md))
- [Motion presets](https://wingo-ui.com/components/motion) ([Markdown](https://wingo-ui.com/components/motion.md))
- [Navigation](https://wingo-ui.com/components/navigation) ([Markdown](https://wingo-ui.com/components/navigation.md))
- [Tones](https://wingo-ui.com/components/tones) ([Markdown](https://wingo-ui.com/components/tones.md))
- [UIProvider](https://wingo-ui.com/components/ui-config) ([Markdown](https://wingo-ui.com/components/ui-config.md))

## Usage

```tsx
// app/(marketing)/page.tsx
"use client"

import Link from "next/link"
import { FeatureShowcase, FEATURE_SHOWCASE_SAMPLE } from "@/components/blocks/feature-showcase"

export default function Home() {
  return (
    <FeatureShowcase
      linkComponent={Link}
      layout="tabs"
      tabsPosition="left"
      features={FEATURE_SHOWCASE_SAMPLE}
      onValueChange={(value) => console.log("viewing", value)}
    />
  )
}
```

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `eyebrow?` | `ReactNode` | `"Product"` | The small line over the section title. |
| `title?` | `ReactNode` | `"One workspace, from plan to launch"` | The section title. |
| `description?` | `ReactNode` | `"Acme brings planning, docs and automations together, so the work and the context never drift apart."` | The paragraph under the title. |
| `actions?` | `ReactNode` |  | Buttons under the heading. |
| `features?` | `FeatureShowcaseItem[]` | `"FEATURE_SHOWCASE_SAMPLE"` | Each feature: icon, eyebrow, title, description, up to three points, href, and media or a drawn visual. |
| `layout?` | `"zigzag" \| "tabs" \| "cards" \| "sticky"` | `"zigzag"` | zigzag: alternating rows; tabs: one visual that swaps as you pick a feature; cards: tall cards side by side (a swipeable rail on phones); sticky: the copy scrolls past a pinned visual that swaps to the feature in view. |
| `tabsPosition?` | `"top" \| "left"` | `"top"` | Tabs only: a centered row above the visual, or a list of cards beside it from 1024px. |
| `reverse?` | `boolean` | `false` | Zigzag: the first row starts with the visual; sticky: the pinned visual sits on the start side. |
| `align?` | `"start" \| "center"` | `"center"` | Where the section heading sits. |
| `frame?` | `"tinted" \| "plain"` | `"tinted"` | A gray well around each visual, or none. |
| `tone?` | `"neutral" \| "brand" \| "success" \| "warning" \| "danger" \| "info"` | `"neutral"` | Checks, eyebrow icons and the accents in the drawn visuals. |
| `color?` | `string` | `""` | Any CSS color; replaces the tone. Leave empty to use the tone. |
| `background?` | `"none" \| "muted"` | `"none"` | muted sets the section on a gray band. |
| `spacing?` | `"none" \| "sm" \| "md" \| "lg"` | `"md"` | Vertical padding of the section. |
| `width?` | `"sm" \| "md" \| "lg" \| "xl"` | `"lg"` | The content column: 720, 960, 1200 or 1400px. |
| `value?` | `string` |  | Tabs: the selected feature (its value, or its index as a string). |
| `defaultValue?` | `string` |  | Tabs: the feature selected first; default the first one. |
| `onValueChange?` | `(value: string) => void` |  | Tabs: called when another feature is picked. |
| `linkComponent?` | `(props: LinkComponentProps) => ReactNode` |  | The router link for Learn more links; default the LinkProvider's. |
| `labels?` | `Partial<FeatureShowcaseLabels>` |  | learnMore and tabs (the tab list's aria-label). |
| `className?` | `string` |  | Classes for the <section>. |
| `classNames?` | `Partial<Record<FeatureShowcaseSlot, string>>` |  | Classes for rows, row, copy, points, point, link, media, tabs, list, trigger, panel, card (cards) and stop (sticky). |

## Parts

### FEATURE_SHOWCASE_SAMPLE (constant)

Three Acme features (planning, docs, automations) with their drawn visuals.

### DEFAULT_FEATURE_SHOWCASE_LABELS (constant)

The English strings.

### FeatureShowcaseItem (type)

One showcased feature: its tab, eyebrow, title, description, bullet points, link and media.

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `value?` | `string` |  | The tab value; default the index. |
| `icon?` | `ReactNode` |  | Shown next to the eyebrow and in the tab. |
| `eyebrow?` | `ReactNode` |  | The small line over the title, also the tab label. |
| `title` | `ReactNode` |  | The row title. |
| `tabLabel?` | `ReactNode` |  | Overrides the tab label. |
| `description` | `ReactNode` |  | Two or three sentences. |
| `points?` | `ReactNode[]` |  | Up to three checklist lines. |
| `href?` | `string` |  | Adds a Learn more link. |
| `linkLabel?` | `ReactNode` |  | Overrides labels.learnMore for this row. |
| `media?` | `ReactNode` |  | Your screenshot, video or component; replaces the drawn visual. |
| `visual?` | `"timeline" \| "doc" \| "automation"` |  | Which drawn visual to show without media. |

### FeatureShowcaseProps (type)

Props of FeatureShowcase.

## Examples

- **Tabs on the side**: Feature cards on the left pick the visual on the right; a scrolling segmented row on phones.
- **Tabs on top, brand accents**: A centered tab row over copy and visual, with the marketing orange on checks and highlights.
- **Reversed zigzag on a gray band**: The first visual on the start side, plain frames and an action under the heading.
- **Feature cards**: Three tall cards with a peek at each visual; a swipeable rail on phones.
- **Sticky product tour**: The copy scrolls past a pinned visual that swaps to the feature in view.
- **Your own media**: A row with a photo passed as media next to the drawn visuals.
- **Acme in your pocket**: The iOS and Android apps keep your tasks, docs and comments a tap away, even offline.

## See also

- [Feature Grid](https://wingo-ui.com/components/feature-grid) ([Markdown](https://wingo-ui.com/components/feature-grid.md))
- [Marketing Section](https://wingo-ui.com/components/marketing-section) ([Markdown](https://wingo-ui.com/components/marketing-section.md))
- [Tabs](https://wingo-ui.com/components/tabs) ([Markdown](https://wingo-ui.com/components/tabs.md))
- [Segmented Control](https://wingo-ui.com/components/segmented-control) ([Markdown](https://wingo-ui.com/components/segmented-control.md))

---

Canonical: https://wingo-ui.com/components/feature-showcase
More components: https://wingo-ui.com/components · Index for agents: https://wingo-ui.com/llms.txt
