Examples
Onboarding Pro
The first-run pages before an app: swipe or tap through them, watch the dots follow, skip at any point, and finish with Get started on the last page. Pages are data (art, title, body), so you change the words without touching the layout. It follows the reduce-motion setting.
import { OnboardingScreen } from '@patine-ui/pro';
Loading…
<OnboardingScreen key={run} onDone={restart} onSkip={restart} />
Make it yours
| Prop | Type | Default |
|---|---|---|
pages | { art, title, body }[] | Three sample pages (ONBOARDING_PAGES) |
onDone | () => void | Required |
onSkip | () => void | Hides Skip when left out |
labels | Partial<OnboardingLabels>: next, skip, done, page | English |
Built from the free Button, Heading and Text.
In real apps
Every complete app has its own version of this screen, wired to its auth, data and settings: see the templates.
Related
- Sign in PRO
- Paywall PRO
- All blocks