Reveal
Content that fades and travels into place
Automatic updates are on.
Installation
nub add @gpuixui/componentsUsage
import { Reveal } from "@gpuixui/components/reveal";
<Reveal>
<text>Automatic updates are on.</text>
</Reveal>;API
| Prop | Type | Default |
|---|---|---|
children | ReactNode | — |
open | boolean | — |
from | RevealFrom | "below" |
distance | number | 8 |
level | MotionLevel | "normal" |
delayMs | number | 0 |
className | string | — |
style | StateStyle<RevealState> | — |
Edit this page on GitHubpackages/components/docs/reveal.mdx