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(components): add new timeline component #5986

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fiqryx
Copy link

@fiqryx fiqryx commented Dec 3, 2024

This PR adds a new Timeline component to the UI library. Timeline Component is designed to display events in chronological order or event sequences.

Feature

  • Vertical timeline layout with dots and connectors
  • Support dot variants
  • Support dot size
  • Customizable content
  • Accessible structure
  • Responsive design

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/registry/default/example/timeline-with-icon.tsx
  • apps/www/registry/new-york/example/timeline-with-icon.tsx
  • apps/www/content/docs/components/timeline.mdx

shadcn-timline-demo

shadcn-timline-with-icon

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 Dec 3, 2024

@fiqryx 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