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

DocsFeatures

Feature rows

Feature rows with media on alternating sides.

Preview

Version
Preview theme color
More themes

Each row's media slides in from its own side as it scrolls into view. With reduced motion turned on, it renders the plain layout.

Install

One command, then it's yours

The CLI copies the component into your project. Sample copy.

Theme

Matches the rest of your app

Sections read your shadcn tokens. Sample copy.

Install

One command, then it's yours

Sample copy.

Theme

Matches the rest of your app

Sample copy.

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 { FeatureRows } from "@/components/custom/feature-rows";

<FeatureRows
  rows={[
    { label: "Install", title: "One command", description: "…", media: <Screenshot /> },
    { label: "Theme", title: "Your colors", description: "…", media: <Screenshot /> },
  ]}
/>
import { FeatureRowsMotion } from "@/components/custom/feature-rows/feature-rows-motion";

<FeatureRowsMotion rows={rows} />

Props

PropTypeDefaultDescription
rows* (required){ title; description; media; label? }[]–Rows alternate media sides from the lg breakpoint.
title / descriptionstring–Optional heading (h2) above the rows.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.
PropTypeDefaultDescription
rows* (required){ title; description; media; label? }[]–Rows alternate media sides from the lg breakpoint.
title / descriptionstring–Optional heading (h2) above the rows.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.

Accessibility

  • Copy always comes before media in reading order, whatever side the media shows on.
  • The motion version follows the visitor's reduced-motion setting and never hides content before it animates.