Stepper API
import { Stepper } from '@editora/ui-react';
Props
| Prop | Type | Description |
|---|---|---|
clickable | boolean | |
headless | boolean | |
linear | boolean | |
onChange | (detail: StepperChangeDetail) => void | |
onSelect | (detail: StepperChangeDetail) => void | |
orientation | 'horizontal' | 'vertical' | |
size | 'sm' | 'md' | 'lg' | |
steps | StepperStep[] | |
value | string | |
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