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

Flow beams

A how-it-works diagram: icon nodes joined by drawn connectors.

Preview

Version
Preview theme color
More themes

A beam of light travels from node to node along the connectors and each node glows as it arrives, in a loop. The loop stops when the diagram is off screen and has a pause button. With reduced motion turned on, it renders the plain layout.

How a signup reaches you

Sample flow for a made-up product.

  1. Step 1:

    Visitor signs up

    From the form in your hero.

  2. Step 2:

    Email is stored

    In your own database.

  3. Step 3:

    Welcome goes out

    Through your mail provider.

  4. Step 4:

    You launch

    To a list that asked for it.

How a signup reaches you

Sample flow for a made-up product.

  1. Step 1:

    Visitor signs up

    From the form in your hero.

  2. Step 2:

    Email is stored

    In your own database.

  3. Step 3:

    Welcome goes out

    Through your mail provider.

  4. Step 4:

    You launch

    To a list that asked for it.

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 { FlowBeams } from "@/components/custom/flow-beams";

<FlowBeams
  title="How it works"
  nodes={[
    { icon: <MousePointerClick />, label: "Visitor signs up", description: "…" },
    { icon: <Database />, label: "Email is stored" },
    { icon: <Rocket />, label: "You launch" },
  ]}
/>
import { FlowBeamsMotion } from "@/components/custom/flow-beams/flow-beams-motion";

<FlowBeamsMotion nodes={nodes} />

Props

PropTypeDefaultDescription
nodes* (required){ icon: ReactNode; label: string; description? }[]–3 to 5 read best. Pass icons as rendered elements (<Zap />), not components.
title / descriptionstring–Optional heading (h2) and line under it.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.
PropTypeDefaultDescription
nodes* (required){ icon: ReactNode; label: string; description? }[]–3 to 5 read best. Pass icons as rendered elements (<Zap />), not components.
title / descriptionstring–Optional heading (h2) and line under it.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.

Accessibility

  • An ordered list; each node is announced as “Step N” with an h3.
  • Icons, connectors and beams are decorative and hidden from screen readers.
  • The motion version follows the visitor's reduced-motion setting and never hides content before it animates.