Skip to main content
Version: Next

Stepper API

import { Stepper } from '@editora/ui-react';

Props​

PropTypeDescription
clickableboolean
headlessboolean
linearboolean
onChange(detail: StepperChangeDetail) => void
onSelect(detail: StepperChangeDetail) => void
orientation'horizontal' | 'vertical'
size'sm' | 'md' | 'lg'
stepsStepperStep[]
valuestring
variant'default' | 'contrast' | 'minimal'

Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).

Element: <ui-stepper>​

Stepper renders the ui-stepper custom element from @editora/ui-core, which can also be used without React.

Attributes: aria-label, clickable, headless, linear, orientation, size, steps, value, variant

Events: before-change, change, input, select