Skip to content

Conversation

@Sagar-S-R
Copy link

Overview

Added a new Stepper component to shadcn/ui for displaying progress through a sequence of steps.

What's Added

  • 5 Core Components

    • stepper.tsx - Main container with context
    • stepper-item.tsx - Individual step wrapper
    • step-indicator.tsx - Visual circle indicator
    • step-label.tsx - Title and description
    • step-connector.tsx - Line between steps
  • 4 Examples

  • Basic horizontal stepper

  • Vertical orientation

  • Custom icons support

  • Full registration flow with react-hook-form + zod validation

  • Documentation

    • Complete MDX documentation at /docs/components/stepper
    • Installation instructions (CLI + manual)
    • API reference with prop tables
    • Accessibility guidelines
    • Usage examples
  • Tests

    • Component tests in __tests__/stepper.test.tsx
  • Registry

  • Fully registered and installable via CLI:

    npx shadcn@latest add stepper

Features

  • ✅ Horizontal and vertical orientations
  • ✅ Custom icons support via prop
  • ✅ Fully accessible with ARIA attributes
  • ✅ TypeScript support with exported interfaces
  • ✅ Composable component architecture
  • ✅ Follows shadcn/ui design system and patterns

Testing

  • Tested locally by installing via CLI in a fresh Next.js project
  • All examples render and function correctly
  • Component works with form libraries (react-hook-form + zod)

Copilot AI review requested due to automatic review settings December 15, 2025 16:30
@vercel
Copy link
Contributor

vercel bot commented Dec 15, 2025

@Sagar-S-R is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@Sagar-S-R Sagar-S-R requested a review from Copilot December 15, 2025 17:19
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant