@hasancruk/cruk-carousel
v0.3.0
Published
This is an experimental Carousel component that closely mimicks CRUK's React Carousel component.
Downloads
1
Maintainers
Readme
CRUK Carousel
A web component implementation of the CRUK React Carousel.
Todo
- [ ] Explore container queries
- [ ] Explore how to distribute code that imports polyfills
- [ ] Remove default scrollbar
- [ ] A component props for
image-width
based on aspect ratio like Shoelace
Installation
Via npm
or download cruk-carousel.js
directly for use in your project.
npm install @hasancruk/cruk-carousel
Usage
If you've installed it via npm
, then you can import it into your project like this:
import "@hasancruk/cruk-carousel";