@bdt-component-library/progression

Progression component

Usage no npm install needed!

<script type="module">
  import bdtComponentLibraryProgression from 'https://cdn.skypack.dev/@bdt-component-library/progression';
</script>

README

Progression Component

About

This is a component published as its own package from our component library monorepo: https://github.com/BenefitsDataTrust/ui-components. Setup instructions, as well as higher-level goals and concerns can be found from the main project README.

Description

Handles display of progression according to style guide conventions.

API

prop type required default explanation
className string no n/a Adds an optional classname to the component
steps array("string") no no List of descriptions for different steps
currentStep number no 0 Determines which step the progression is on