Skip to main content
239

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Themes
React Native docs
LayoutReact Native

Steps

Show numbered instructions with titles and bodies.

Public APILumenStepsReact Native

Native example

Use Steps

Use it for setup guides. Use a stepper for a stateful workflow.

Steps rendered in the Expo web renderer Lumen playground

Captured exampleExpo web renderer

Open interactive preview
Open the Steps demo
tsx
import { LumenSteps } from '@santi020k/lumen-react-native'

const setupSteps = [
  { id: 'install', title: 'Install Lumen', body: 'Run the installer for your package manager.' },
  { id: 'provider', title: 'Add the provider', body: 'Wrap the app in LumenProvider and choose a theme.' },
  { id: 'build', title: 'Build your first screen', body: 'Import components from the root entry point.' }
]

export function GetStarted() {
  return <LumenSteps label="Get started" layout="rail" steps={setupSteps} />
}
React Native
Three numbered setup steps joined by a rail.

Reference

Public API

The primary shared and platform-specific options exposed by LumenSteps.

APIValues or typeDefaultDescription
steps / start / layoutitems / first number / list or railrequired / 1 / listUse it for setup guides.

Native behavior

Design and accessibility

When to use it

Use it for setup guides. Use a stepper for a stateful workflow.

Accessibility

Ordered list; markers are decorative and titles are headings.

Shared component

Available on other platforms

Apple / SwiftUIAndroid / Compose Web
React Native docsNative primitives