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

iPhone (iOS simulator)

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
| Prop | Type | Default | Description |
|---|---|---|---|
| countrequired | number | — | — |
| indexrequired | number | — | — |
| style | StyleProp<ViewStyle> | — | — |