Giter Club home page Giter Club logo

shadcn-stepper's Introduction

Hi there 👋, It's Damián Ricobelli

I'm a Frontend developer. I like to use React and NextJS for web projects, and React Native for mobile projects.

I love web accessibility.

What i'm up to

  • 🌱 Always learning
  • 💬 Ask me about React, NextJS, TypeScript and JavaScript
  • 📫 How to reach me: Email, Twitter and Linkedin

Languages

shadcn-stepper's People

Contributors

damianricobelli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

shadcn-stepper's Issues

Footer Buttons submit Form

First off, great component, thanks for building!
When using the Footer component inside a Form component clicking any Footer Button will result in the submit of the form

I found a workaround which effectively prevents the submission of the form
<Button size="sm" onClick={(event) => { if (!isLastStep) event.preventDefault(); nextStep(); }}> {isLastStep ? "Finish" : isOptionalStep ? "Skip" : "Next"} </Button>

global control the steps

thanks for this, i want to control steps manually
for example i want after upload file in step 1 move to step 2 directly,
i try put useStepper as global but not work
how can i do that please?

have all steps expanded?

Hi there--love this component and getting some good use out of it. I'd love for there to be a way with the vertical stepper to show all the steps as expanded. This is useful in cases where you'd like the user to see all the steps at once, without hiding any of the content / form entries contained within a step.

Visible steps

Add a parameter to the main stepper, that will make all steps open/visible but disable those that are not completed.

For example:

There are 5 steps:
1st is visible and editable -> 2nd, 3rd, 4th, 5th are visible but disabled
After clicking next -> 1st and 2nd steps are visible and editable but others are disabled and etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.