Command Palette

Search for a command to run...

Loading component...

Components free Card swipe carousel

Card swipe carousel

A swipeable card stack component with smooth animations and touch gestures. Features a modern card-stacking effect where users can swipe through cards with natural physics-based animations.

Dependencies

Interaction Type

Try swiping cards left or right
Try grab a card and go all the way to end
Optional autoplay with customizable timing

with shacn cli3.0

//components.json
  "registries": {
    "@skiper-ui": "https://skiper-ui.com//registry/{name}.json"
  }
npx shadcn add @skiper-ui/skiper48

OR with old shacncli

 npx shadcn@latest add https://skiper-ui.com/registry/skiper48.json

How to use

import { Carousel_002 } from "@/components/v1/skiper48";

// Using the carousel component with custom images
const CustomCarousel = () => {
  const images = [
    {
      src: "/path/to/image1.jpg",
      alt: "Description 1",
    },
    {
      src: "/path/to/image2.jpg",
      alt: "Description 2",
    },
    // ... more images
  ];

  return (
    <Carousel_002
      images={images}
      showPagination={true}
      showNavigation={true}
      loop={true}
      autoplay={true}
      spaceBetween={40}
    />
  );
};
Props
Description

images

Array of image objects with src and alt properties

className

Additional CSS classes for styling

showPagination

Show pagination dots at the bottom

showNavigation

Show navigation arrows

loop

Enable infinite loop

autoplay

Enable automatic slideshow

spaceBetween

Space between slides in pixels

style Customization

  • Well most of the style you can customize inline.
  • But some style you have to do it with css classes.
  • Find out the style name from dev tools.
  • Access it with you className.
<Swiper className="Carousal_001" />
.Carousal_001 {
  padding-bottom: 50px !important;
}

.Carousal_001 .swiper-slide {
  border: 1px solid red;
}

.Carousal_001 .swiper-pagination {
  color: red;
}

.Carousal_001 .swiper-pagination-bullet-active {
  background: red;
}

Attribution

Source code

Click on the top right
to view the source code

Keep in mind

Most components here are recreations of the best out there. I don't claim to be the original creator. This is my attempt to reverse-engineer, replicate, and often add a few extra features. I've tried to credit everyone, but if I missed something, let me know.

Contact

Additionlly, if you find any bug or issue, feel free to
Drop a dm.

License & Usage:

  • Free to use and modify in both personal and commercial projects.
  • Attribution to Skiper UI is required when using the free version.
  • No attribution required with Skiper UI Pro.