UNPKG

@yourwishes/carousel

Version:

A modern, flexible and performant carousel for the time concious developer.

20 lines (15 loc) 641 B
# YW Carousel A modern, simple yet flexible carousel. Designed to be performant and use modern tech without burdening the user with heavy and bloated stylesheets. ## How to install Same as other NPM packages: ``` npm install @yourwishes/carousel ``` or using yarn with `yarn add` ## How does it work? The carousel itself is trying to be content aware, rather than other carousels where the content generally has to be aware of the carousel container. By using CSS variables and `translate` you can use this to build your own, flexible carousel. I would suggest checking out the `examples` while I get the repo set up.