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

[New Component]: Stepper / Steps #5

Open
junwen-k opened this issue Nov 17, 2024 · 0 comments
Open

[New Component]: Stepper / Steps #5

junwen-k opened this issue Nov 17, 2024 · 0 comments
Labels
api-design API needs more thorough consideration enhancement New feature or request

Comments

@junwen-k
Copy link
Owner

Stepper

Steppers convey progress through numbered steps.

Visual References

image

Description

This component could potentially borrow some ideas from existing Timeline component with subcomponents:

import {
  Timeline,
  TimelineConnector,
  TimelineContent,
  TimelineDescription,
  TimelineDot,
  TimelineItem,
  TimelineSeparator,
  TimelineTitle,
} from "@/components/ui/timeline"

Anatomy

<Stepper.Root>
    <Stepper.Item />
    <Stepper.Previous />
    <Stepper.Next />
</Stepper.Root>

Libraries / Hooks

  • Radix UI's Tab - This component could be potentially built on top of Radix UI's Tab primitive.
  • headless-stepper - Does not support controlled mode properly.

References

Ant Design
Chakra UI
MUI

@junwen-k junwen-k added enhancement New feature or request api-design API needs more thorough consideration labels Nov 17, 2024
@junwen-k junwen-k changed the title [New Component]: Stepper / Steps [New Component]: Stepper / Steps Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-design API needs more thorough consideration enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant