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

DocsEffects

Text reveal

A large statement paragraph; the motion version lights it word by word as you scroll.

Preview

Version
Preview theme color
More themes

Words go from dim to full strength as the reader scrolls through the paragraph, with a tint of your primary color on the word being read. Scroll the page to see it. With reduced motion turned on, it renders the plain layout.

Sample statement

Most launch pages are written in a weekend and never touched again. Ours is built so the form stores the email, the button takes the payment, and the page still reads well a year later.

Sample statement

Most launch pages are written in a weekend and never touched again. Ours is built so the form stores the email, the button takes the payment, and the page still reads well a year later.

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 { TextReveal } from "@/components/custom/text-reveal/text-reveal";

<TextReveal
  eyebrow="Why we built it"
  text="Most launch pages are written in a weekend and never touched again."
/>
import { TextRevealMotion } from "@/components/custom/text-reveal/text-reveal-motion";

<TextRevealMotion text="Most launch pages are written in a weekend and never touched again." />

Props

PropTypeDefaultDescription
text* (required)string–The statement. One or two sentences read best.
eyebrowstring–Small label above the statement.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.
PropTypeDefaultDescription
text* (required)string–The statement. One or two sentences read best.
eyebrowstring–Small label above the statement.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.

Accessibility

  • The statement is a paragraph, not a heading: give the page its headings elsewhere.
  • In the motion version screen readers get the plain sentence once; the word-by-word copy is hidden from them.
  • Without JavaScript, and with reduced motion, the text is shown at full strength.
  • The motion version follows the visitor's reduced-motion setting and never hides content before it animates.