Skip to content
nexubDesign System
v2.4.0

Components · Mobile only · Layout

Page Indicator

AlphaiOS & Android

Dots for a carousel or onboarding pages.

Usage

@nexub/react-native
import { PageIndicator } from '@nexub/react-native';

<PageIndicator count={3} index={i} />

Interactive preview of @nexub/react-native rendered for the web. Native chrome (switches, pickers, Liquid Glass) looks like the platform on a device.

On device

Page Indicator on iPhone (iOS simulator)

iPhone (iOS simulator)

Page Indicator on Pixel (Android emulator)

Pixel (Android emulator)

Screenshots from the latest CI run of the showcase app; the live frame renders the same code for the web.

PageIndicator props

PageIndicator props (React Native)
PropTypeDefaultDescription
countrequirednumber——
indexrequirednumber——
styleStyleProp<ViewStyle>——