Rebar UI

1.0

opinion

Onboarding

Swipeable full-screen intro slides with dots, Skip and Next. The last slide’s button finishes.

Intro slidesSwipe, tap the dots, or use Next. Skip and Get started both call onDone
Athic.

TodayΓÇÖs readings

Open Athic each day to the Mass readings, with a one-tap check-in when youΓÇÖve been to Mass.

StatesSlide 3, the last slide while finishing, and a deck without Skip
Athic.

A private journal

Your Reconciliation Journal is encrypted on this device. Only you can read it.

Athic.

Pray with the Rosary

Pray bead by bead, and find other prayers with audio and text.

Independent, not an official Church product
Athic.

TodayΓÇÖs readings

Open Athic each day to the Mass readings, with a one-tap check-in when youΓÇÖve been to Mass.

Props

PropTypeRequiredDefault
slidesOnboardingSlide[]Yes—
indexnumber | undefinedNo—
defaultIndexnumber | undefinedNo0
onIndexChange((index: number) => void) | undefinedNo—
onDone(() => void) | undefinedNo—
skippableboolean | undefinedNotrue
labelsOnboardingLabels | undefinedNo—
logoReactNodeNo—
headerReactNodeNo—
finishingboolean | undefinedNofalse
fullscreenboolean | undefinedNofalse
appearance"default" | "classic" | undefinedNo—

Accessibility

A carousel region (aria-roledescription="carousel"), focusable: ArrowLeft and ArrowRight change slide. Swiping is never the only way: Next, Back and the dots (role="tab" with aria-selected) do the same. Slides other than the current one are aria-hidden. Skip and the dots keep 44px targets; the track and the dot morph stop animating under prefers-reduced-motion.

data-rebar-* attributes

data-rebar-component="onboarding", data-rebar-fullscreen, data-rebar-state="finishing". Parts: top, logo, skip, viewport, track (data-rebar-dragging), slide (data-rebar-active), icon, title, description, note, footer, dots, dot, buttons.

Migrating to Ant Design

AntD Mobile's Swiper plus Steps-style dots is the closest match. Map slides to Swiper.Items and keep onDone on the last item's button.

appearance="classic"

appearance="classic" is a 480px column with a round filled icon, plain title and copy, 8px dots and compact pill buttons. Tokens: --rebar-onboarding-max-width / -icon-bg / -title-color / -description-color / -muted / -dot / -dot-on plus the classic button tokens.