Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/karl-horning/tailwind-carousel
https://github.com/karl-horning/tailwind-carousel
Last synced: about 6 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/karl-horning/tailwind-carousel
- Owner: Karl-Horning
- License: mit
- Created: 2024-03-22T21:04:52.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-23T00:22:26.000Z (8 months ago)
- Last Synced: 2024-03-23T23:26:05.395Z (8 months ago)
- Language: HTML
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tailwind CSS Carousel
A carousel using Tailwind CSS and JavaScript. This will form the basis for a Next.js component.
## Carousel
The properties that the Carousel will use are:
```javascript
interface CarouselProps {
width: string;
}
```## CarouselSlide
The properties that the CarouselSlide will use are:
```javascript
interface CarouselSlideProps {
height: string;
src: string;
alt: string;
caption: string;
captionPosition: "top" | "middle" | "bottom";
}
```