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

Carousel: add dot indicator #87

Open
ConcernedHobbit opened this issue Mar 24, 2024 · 1 comment
Open

Carousel: add dot indicator #87

ConcernedHobbit opened this issue Mar 24, 2024 · 1 comment

Comments

@ConcernedHobbit
Copy link
Collaborator

add dot indicator for amount of slides and where we're currently at, unless there are no other slide views

@Jokauppi
Copy link
Member

There's already a good hook and component for this in the embla examples:

https://codesandbox.io/p/sandbox/embla-carousel-default-react-ww73yq?file=%2Fsrc%2Fjs%2FEmblaCarouselDotButton.tsx

Though we can probably strip away the click features

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

No branches or pull requests

2 participants