Skip to content

Wizard

Wizard

jsx
import Wizard from '@semcore/ui/wizard';
<Wizard />;

WizardProps

& {...}
NameTypeDescription
step Active step value
localestring Specifies the locale for i18n support

Wizard.Sidebar

jsx
import Wizard from '@semcore/ui/wizard';
<Wizard.Sidebar />;

WizardSidebarProps

& {...}
NameTypeDescription
title Sidebar title

Wizard.Stepper

jsx
import Wizard from '@semcore/ui/wizard';
<Wizard.Stepper />;

WizardStepperProps

& {...}
NameTypeDescription
step Ordered step position from 0
onActive((step: , e: | ) => void) | Is invoked when active the step
number Stepper number
completedboolean Is the step completed
disabledboolean Disables interaction with the stepper

Wizard.Step

jsx
import Wizard from '@semcore/ui/wizard';
<Wizard.Step />;

WizardStepProps

& {...}
NameTypeDescription
step Ordered step position from 0
disabledboolean Disabled step

Wizard.Content

jsx
import Wizard from '@semcore/ui/wizard';
<Wizard.Content />;

WizardContentProps

& {...}
NameTypeDescription
noSidebarboolean Renders wizard content container with border-radius on the left side

Wizard.StepBack

jsx
import Wizard from '@semcore/ui/wizard';
<Wizard.StepBack />;

WizardStepBackProps

& {...}
NameTypeDescription
onActive((step: , e: ) => void) | Callback invoked when navigating to the previous step
stepNamestring Step name being navigated to

Wizard.StepNext

jsx
import Wizard from '@semcore/ui/wizard';
<Wizard.StepNext />;

WizardStepNextProps

& {...}
NameTypeDescription
onActive((step: , e: ) => void) | Callback invoked when navigating to the next step
stepNamestring Step name being navigated to

Released under the MIT License.

Released under the MIT License.