Tapas UI
Esc
  • IntroductionGetting startedWhat Tapas UI is and where to start.
  • InstallationGetting startedSet up shadcn/ui and add your first section.
  • CLI & AI agentsGetting startedThe shadcn CLI, the @tapas namespace, the MCP server and AI prompts.
  • TemplatesGetting startedWhole pages built from sections, installed with one command.
  • Demo sitesGetting startedThree fictional sites built only from Tapas sections.
  • ThemingCustomizationHow sections pick up your colors and radius.
  • ColorsCustomizationEvery CSS variable sections read, what it is for and where it is used.
  • Dark modeCustomizationSections follow your .dark variables.
  • MotionCustomizationPlain and motion versions, reduced motion and pause controls.
  • AccessibilityCustomizationWhat every section guarantees.
  • Waitlist formsGuidesPost signups to your own API route and store them.
  • Checkout linksGuidesPoint pricing buttons at Stripe payment links or any URL.
Menu
Browse the docs

DocsProduct story

Sticky showcase

A product story in steps, each with its media beside it.

Preview

Version
Preview theme color
More themes

From the lg breakpoint the media pins to the middle of the screen while the steps scroll past; the step crossing the middle becomes active and the media slides and cross-fades to it. Phones keep each media under its step. Pinning uses position: sticky, so no ancestor may set overflow: hidden (use overflow: clip). With reduced motion turned on, it renders the plain layout.

From signup to launch

Sample story for a made-up product.

Step 1 of 3:

Collect

A form that stores every email

Visitors sign up from the hero. Sample copy for a made-up product.

example.com
Step 2 of 3:

Review

See who joined, in order

Each signup lands in a list you can export. Sample copy.

example.com/signups
Step 3 of 3:

Measure

Watch the launch week

A chart of the week, without a tracking script. Sample copy.

example.com/stats

From signup to launch

Sample story for a made-up product.

Step 1 of 3:

Collect

A form that stores every email

Visitors sign up from the hero. Sample copy for a made-up product.

example.com
Step 2 of 3:

Review

See who joined, in order

Each signup lands in a list you can export. Sample copy.

example.com/signups
Step 3 of 3:

Measure

Watch the launch week

A chart of the week, without a tracking script. Sample copy.

example.com/stats

Installation

Run this in a project that already uses shadcn/ui. It adds the component and anything it needs; the motion version also adds the plain one and the motion package.

Usage

import { StickyShowcase } from "@/components/custom/sticky-showcase";

<StickyShowcase
  title="From signup to launch"
  steps={[
    { label: "Collect", title: "A form that stores every email", description: "…", media: <Screenshot /> },
    { label: "Review", title: "See who joined", description: "…", media: <Screenshot /> },
  ]}
/>
import { StickyShowcaseMotion } from "@/components/custom/sticky-showcase/sticky-showcase-motion";

<StickyShowcaseMotion steps={steps} />

Props

PropTypeDefaultDescription
steps* (required){ title; description; media; label? }[]–In order. media is any node: an image, a video or a component.
title / descriptionstring–Optional heading (h2) above the steps.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.
PropTypeDefaultDescription
steps* (required){ title; description; media; label? }[]–In order. media is any node: an image, a video or a component.
title / descriptionstring–Optional heading (h2) above the steps.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.

Accessibility

  • Each step is announced as “Step N of M” with an h3; its media follows it in reading order at every width.
  • Give each media its own text alternative (alt text or an aria-label).
  • The motion version follows the visitor's reduced-motion setting and never hides content before it animates.