react-minimal-carousel

A simple ReactJS carousel component

Usage no npm install needed!

<script type="module">
  import reactMinimalCarousel from 'https://cdn.skypack.dev/react-minimal-carousel';
</script>

README

Simple React Carousel

WIP

Usage

<SimpleCarousel
    items={['foo', 'bar', 'baz', 'qux']} //Provide the carousel items
    index={0} //Specify the index of the currently visible carousel item
/>

Docker

Build and start Docker containers (using docker-compose)

docker-compose up -d --build

Open index.html in your browser to load the app.

Development

Build (development) assets.

yarn webpack --mode="development"

Watch and develop (development) assets.

yarn webpack --mode="development" --watch