FormanceCustom component built for Formance products.
Installation#
Install the following dependencies:
Copy and paste the following code into your project.
Update the import paths to match your project setup.
Usage#
Compound Components
Compose the pieces you need:
<Stepper />Root provider with value, orientation, and validation.<StepperList />Tab list container for step triggers.<StepperItem />Individual step with value, completed, and disabled state.<StepperTrigger />Clickable trigger for a step.<StepperIndicator />Step number or check icon, styled by state.<StepperTitle />Label text for a step.<StepperDescription />Secondary text below the step title.<StepperSeparator />Line between steps, colored by completion state.<StepperContent />Panel content shown for the active step.<StepperPrevTrigger />Button to navigate to the previous step.<StepperNextTrigger />Button to navigate to the next step (runs validation).