1.0.22 • Published 2 years ago
tailwind-carousel v1.0.22
Tailwind-carousel
Easiest way to add carousel in you react js, next js with Tailwind project.
Usage/Examples
import TailwindCarousel from 'tailwind-carousel';
function App() {
return <body >
....
<TailwindCarousel
styleClass={`my-3 mx-auto w-2/3 h-64 rounded-md `} // tailwind class styles
style={{height: '250px', width: '75%' }} // height and width can also be passed as style prop or as styleClass
timespace={2500} // time for each slide image in milli second
carusal_cover={true} // carousal image cover whole size (true) or contain inside (false)
arrowVisible={true} // Arrows on left and right visible ?
hideArrowForMobile={true} // Hide Arrows for mobile screens if arrowVisible is true ?
pageIndicator={true} //page number indicators at bootom as dots visible ?
images={['https://example.com/image1.jpg',
'https://example.com/image2.jpg',
'https://example.com/image3.jpg']} // images for carousal in Array format
/>
.......
</body>
}
Demo
https://codesandbox.io/s/tailwind-carousel-46713p
Screenshots
Authors
🔗 Links
1.0.19
2 years ago
1.0.18
2 years ago
1.0.22
2 years ago
1.0.21
2 years ago
1.0.20
2 years ago
1.0.17
2 years ago
1.0.16
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago