Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Stepper Component #49

Open
aswinshenoy opened this issue Jan 27, 2023 · 1 comment
Open

Add Stepper Component #49

aswinshenoy opened this issue Jan 27, 2023 · 1 comment
Labels
new component 🦄 a new component is to be added

Comments

@aswinshenoy
Copy link
Contributor

aswinshenoy commented Jan 27, 2023

Props

  • isVertical - bool, false
  • variant - string, ENUM - checkbox | icon | numbered | minimal
  • items - StepType[]
  • id
  • className
  • stepClassName
  • onChange
  • currentStep - string - id
type StepType = {
  id: str
  title?: str
  description?: str
  isCompleted?: bool #(default false)
  icon?: <Icon>
}

Samples

https://tailwindui.com/components/application-ui/navigation/steps

image

image

https://pro.chakra-ui.com/components/application/steps

Example of checkbox

image

Example of checkbox, but without title or description

image

Example of numbered

image

Example of vertical

image

Example of numbered vertical

image

Example of minimal

image

@aswinshenoy aswinshenoy added the new component 🦄 a new component is to be added label Jan 27, 2023
@Advaith3600
Copy link
Contributor

@Advaith3600 Advaith3600 changed the title Add Steps Component Add Stepper Component Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new component 🦄 a new component is to be added
Projects
None yet
Development

No branches or pull requests

2 participants