Carousel

A carousel with motion and swipe, built on a paging ScrollView.
1
2
3
4
5
1
2
3
4
5
Slide 0 of 0
1
2
3
4
5

Installation

Every component ships in @astrawind/ui. If you haven't set it up, follow the installation guide, then import the component:
Terminal
npx expo install @astrawind/ui @astrawind/css lucide-react-native react-native-svg

Usage

tsx
import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, } from "@astrawind/ui/carousel"
See the Code tab above for a complete example.
Built with @astrawind/ui and @astrawind/css. Components ported from shadcn/ui (MIT).