Skip to content
nexubDesign System
v11.9.0

Components · Motion

Reveal

BetaAdded v3.1.0

Fades its content up as it scrolls into view, in marketing mode. CSS scroll-driven where supported, an IntersectionObserver elsewhere; content on screen at load, and every visitor without JS or with reduced motion, just sees it.

import { Reveal } from '@nexub/react';
View as Markdown

Examples

Default

Scroll down

Section 1
Section 2
Section 3

Props

Props
PropTypeDefaultDescription
asChildbooleanfalseMerge onto the child element instead of a div.
childrenrequiredReact.ReactNode—Content to reveal.

On iOS & Android