defaultValue number 1 Name defaultValue Description The value of the step that should be active when initially rendered. Use when you do not need to control the state of the steps.
Type number Default 1 orientation DataOrientation 'horizontal' Name orientation Description The orientation the steps are laid out. Mainly so arrow navigation is done accordingly (left & right vs. up & down).
Type 'vertical' | 'horizontal' Default 'horizontal' dir Direction — Name dir Description The reading direction of the combobox when applicable.
If omitted, inherits globally from ConfigProvider or assumes LTR (left-to-right) reading mode.
Type 'ltr' | 'rtl' Default — modelValue number — Name modelValue Description The controlled value of the step to activate. Can be bound as v - model .
Type number Default — linear boolean true Name linear Description Whether or not the steps must be completed in order.
Type boolean Default true asChild boolean false Name asChild Description Change the default rendered element for the one passed as a child, merging their props and behavior.
Read Reka UI's Composition guide for more details.
Type boolean Default false as AsTag | Component — Name as Description The element or component this component should render as. Can be overwritten by asChild .
Type ComponentOptions < any , any , any , ComputedOptions , MethodOptions , any , any , any , string , {} , {} , string , {} , {} , {} , string , ComponentProvideOptions > | ( props : any , ctx : Omit <{ attrs : Attrs ; slots : Readonly < InternalSlots > ; emit : ( event : string , ... args : any []) => void ; expose : < Exposed extends Record < string , any > = Record < string , any >>( exposed ?: Exposed | undefined ) => void ; } , 'expose' >) : any | ComponentPublicInstanceConstructor < any , any , any , any , ComputedOptions , MethodOptions > | 'a' | 'button' | 'div' | 'form' | 'h2' | 'h3' | 'img' | 'input' | 'label' | 'li' | 'nav' | 'ol' | 'p' | 'span' | 'svg' | 'ul' | 'template' | {} & string Default — class ClassValue — Name class Description Classes added to the part's own element, after its recipe classes.
Type null | string | false | Record < string , any > | ClassValue [] Default — statusLabel (( step : number , total : number ) => string ) `Step ${ step } of ${ total } ` Name statusLabel Description Says where the user is when the row is too narrow to name every step.
Type ( step : number , total : number ) : string Default `Step ${ step } of ${ total } `