Skip to content
nexubDesign System
v2.4.0

Components · Mobile only · Feedback

Coachmark

AlphaiOS & Android

A one-time hint pointing at a control, dismissed by the user.

Usage

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

<Coachmark title="New: split bills" onDismiss={seen}>Tap here to split.</Coachmark>

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

Coachmark on iPhone (iOS simulator)

iPhone (iOS simulator)

Coachmark 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.

Coachmark props

Coachmark props (React Native)
PropTypeDefaultDescription
titlestring——
childrenrequiredstring——
arrow'top' | 'bottom''top'Which side the arrow is on (towards the thing it explains).
onDismissrequired() => void——
dismissLabelstring—Dismiss label.
styleStyleProp<ViewStyle>——