SwipeUI

Onboarding checklist

Application-owned setup tasks with drawn checks and a completion summary.

npx @swipeui/cli add onboarding-checklist
Variant
Preset
Material
Scheme
Feel
Real free component with a browser animation bridge. Native motion, haptics and materials need a device.

When to use it

  • Getting-started cards with setup tasks, such as Add a photo, Invite a friend and Turn on notifications.
  • Showing setup progress, like "2 of 4 complete".
  • Tasks that open the screen where people finish them.

When not to use it

  • A step-by-step flow. Use Stepper.
  • A personal to-do list. Use Task card.
  • One-off tips. Use Alert or Tooltip.

Installation

Run this from your app's root. If SwipeUI isn't set up yet, run npx @swipeui/cli init first; it sets up Uniwind, the theme tokens and the cn helper.

npx @swipeui/cli add onboarding-checklist
  • Adds components/swipeui/ui/onboarding-checklist.tsx and 16 shared helpers.
  • Installs react-native-reanimated, react-native-worklets, uniwind, clsx, tailwind-merge, expo-haptics, class-variance-authority, react-native-svg, react-native-gesture-handler. In Expo apps it uses npx expo install so versions match your SDK.

Usage

app/(tabs)/index.tsx
import { OnboardingChecklist } from '@/components/swipeui/ui/onboarding-checklist';

<OnboardingChecklist tasks={tasks} />;

Examples

Use the variant and appearance controls in the live specimen to compare the documented states. The application owns validation, operation results and persistence.

API reference

OnboardingChecklistProps

PropTypeDefaultDescription
appearance?"elevated" | "transparent"'elevated'

Card or transparent surface.

showProgress?booleantrue

Completion summary visibility.

title?string'Get started'

Setup heading.

tasksreadonly OnboardingTask[]—

Tasks; completion belongs to the application.

onTaskChange?((id: string, completed: boolean) => void)—

Optional manual completion handler; otherwise a task opens its onPress action.

motion?MotionOverride—

Shared toggle/number/press feel.

haptics?booleantrue

Action haptics.

className?string—

Root classes.

style?StyleProp<ViewStyle>—

Native layout escape hatch.

testID?string—

Root ID.

Native view/input props not listed here pass through where the exported TypeScript type allows them.

Composition and behavior

  • title ("Get started" by default) above a Progress bar and count.
  • tasks each have an id, label, description, completed, disabled and optional onPress.
  • onTaskChange enables ticking tasks by hand.

Feedback lineup settings

PropDoes / default
idStable task identifier.
labelTask name.
descriptionOptional task guidance.
completedApplication-owned completion state.
onPressOptional task route or action.
disabledPrevent invoking the task.
appearanceCard or transparent surface. @default 'elevated'
showProgressCompletion summary visibility. @default true
titleSetup heading. @default 'Get started'
tasksTasks; completion belongs to the application.
onTaskChangeOptional manual completion handler; otherwise a task opens its onPress action.
motionShared toggle/number/press feel.
classNameRoot classes.
styleNative layout escape hatch.
testIDRoot ID.

Behaviour

A checklist tracks setup tasks (profile, teammates, first collection). Tasks may be completed in different sessions. Page dots show a viewed page; they do not track completed work.

Action haptics can be disabled independently with haptics={false} (default true).

Behavior and gestures

  • Tap a task to open where it's done (its onPress), or to tick it manually if you pass onTaskChange.
  • Completed tasks show a drawn check and strike-through text.
  • A progress bar and count update as tasks complete.

Accessibility

  • Progress is announced as "2 of 4 setup steps complete".
  • Each task is a checkbox; its description is read as a hint.
  • Tasks that can't be ticked or opened are disabled.

Motion

  • Uses the toggle, number and press motion roles, so it follows your app's feel. Pass motion to tune this one instance.
  • Checks draw with the toggle role; the bar fills with the number role.
  • Reduce Motion makes both instant.

Performance

  • Completion state belongs to your app; the list just reflects it.

Notes for AI

  • Give each task an id, label and either onPress or rely on onTaskChange.

Compatibility

Runs onSupported
Expo SDK 57Yes
Expo SDK 58Yes
React Native CLI (with Expo modules)Yes
Expo GoYes
iOSYes
AndroidYes

This table describes API support and static bundle checks. Native runtime, device accessibility and bare Uniwind compatibility remain pending.

Related items