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

feat: add Timeline component #5897

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

PrtHub
Copy link

@PrtHub PrtHub commented Nov 21, 2024

Description

This PR adds a new Timeline component to the UI library. The Timeline component is designed for displaying chronological events or activities in a vertical layout.

Features

  • Vertical timeline layout with dots and connectors
  • Support for multiple dot variants (default, success, error, warning)
  • Customizable content sections
  • Responsive design
  • Accessible structure
  • Support for both default and new-york themes

Added Files

  • apps/www/registry/default/ui/timeline.tsx
  • apps/www/registry/new-york/ui/timeline.tsx
  • apps/www/registry/default/example/timeline-demo.tsx
  • apps/www/registry/new-york/example/timeline-demo.tsx
  • apps/www/content/docs/components/timeline.mdx

Screenshots

Screenshot 2024-11-21 145011
image

Checklist

  • Component follows Shadcn UI design patterns
  • Implemented in both default and new-york themes
  • Added comprehensive documentation
  • Added example usage
  • Tested for accessibility
  • Follows project's coding style

Copy link

vercel bot commented Nov 21, 2024

@PrtHub is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

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