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: new carousel #2075

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

feat: new carousel #2075

wants to merge 4 commits into from

Conversation

anubra266
Copy link
Collaborator

@anubra266 anubra266 commented Dec 2, 2024

✨ New Carousel Component

This PR introduces a modern, feature-rich carousel built with accessibility and usability in mind.

Key Features

  • πŸ–‡οΈ Scroll Snap-Based Navigation: Ensures precise alignment of slides for a seamless user experience.
  • πŸš€ Native Scroll for Sliding: Utilizes native scrolling for smoother transitions and optimal performance.
  • πŸ–οΈ Drag-to-Scroll Support: Allows users to navigate slides effortlessly by dragging, with the `draggable property.
  • 🎯 Focus and Keyboard Navigation: Fully accessible with keyboard controls and proper focus management.
  • ⏱️ Autoplay Functionality through autoplay property:
    • Configurable autoplayInterval to set the time between automatic transitions.
    • Includes play and pause methods to enable users to pause or resume autoplay.
  • πŸ”„ Flexible scrollBy Modes:
    • Supports view or item navigation modes for carousels with multiple slidesPerView.
  • πŸ“± Touch device handling
CleanShot.2024-12-02.at.10.21.44.mp4

Copy link

vercel bot commented Dec 2, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated (UTC)
zag-nextjs πŸ”„ Building (Inspect) Visit Preview Dec 3, 2024 7:36pm
zag-solid πŸ”„ Building (Inspect) Visit Preview Dec 3, 2024 7:36pm
zag-svelte πŸ”„ Building (Inspect) Visit Preview Dec 3, 2024 7:36pm
zag-vue πŸ”„ Building (Inspect) Visit Preview Dec 3, 2024 7:36pm
zag-website ❌ Failed (Inspect) Dec 3, 2024 7:36pm

Copy link

changeset-bot bot commented Dec 2, 2024

⚠️ No Changeset found

Latest commit: 6717cbf

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

pkg-pr-new bot commented Dec 2, 2024

Open in Stackblitz

@zag-js/anatomy

npm i https://pkg.pr.new/chakra-ui/zag/@zag-js/anatomy@2075

@zag-js/anatomy-icons

npm i https://pkg.pr.new/chakra-ui/zag/@zag-js/anatomy-icons@2075

@zag-js/docs

npm i https://pkg.pr.new/chakra-ui/zag/@zag-js/docs@2075

@zag-js/core

npm i https://pkg.pr.new/chakra-ui/zag/@zag-js/core@2075

@zag-js/store

npm i https://pkg.pr.new/chakra-ui/zag/@zag-js/store@2075

@zag-js/types

npm i https://pkg.pr.new/chakra-ui/zag/@zag-js/types@2075

commit: d05326c

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