TidalUI

Text reveal preview

A semantic text entrance with finite word, line, and simple visual staging.

pro · Essentials · composite

When to use

Alternatives

Configure components.json and the @tidal-pro namespace before installing Pro components.

Installation

npx shadcn@latest add @tidal-pro/text-reveal

Import components/ui/tidal.css, components/ui/text-reveal.css. Wrap installed components in tidal-scope.

Preview

Text reveal component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/text-reveal.css";
import{TidalTextReveal}from"./components/ui/text-reveal";
export default()=><div className="tidal-scope"><TidalTextReveal children={"value"}/></div>;

API and props

TidalTextReveal.children (required)
string

Plain text is kept intact for the accessible name while only the visual layer is staged.

TidalTextReveal.active
boolean | undefined

Whether the finite reveal is active. False renders the final readable state.

TidalTextReveal.as
TidalTextRevealTag | undefined

The semantic element that owns the caller's text.

TidalTextReveal.durationMs
number | undefined

Bounded entrance duration in milliseconds.

TidalTextReveal.mode
TidalTextRevealMode | undefined

Optional mode value accepted by this exported component.

TidalTextReveal.replayKey
string | number | undefined

Change this value intentionally to replay the finite reveal.

TidalTextReveal.staggerMs
number | undefined

Bounded delay between visual tokens in milliseconds.

TidalTextReveal.startDelayMs
number | undefined

Bounded delay before the first visual token.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas