EN
PortuguêsEnglishEspañol
All tools
Developer tools 100% free

CSS scroll-snap carousel (slider) generator

Paste the images and choose how many show at a time. The swipe is handled by the browser itself with scroll-snap; the script only drives the arrows.

How to use

Thank you so much for helping!

Every donation helps pay for the servers and keeps the tools free for everyone. Pick or type an amount:

Secure payment by Stripe. Opens in a new tab.

Back to Ready-made site blocks

A light carousel you swipe with your finger


Available in: PortuguêsEnglish

Advertisement

CSS scroll-snap carousel (slider) generator: what it is for

Photo or card carousels are common on business websites, but slider libraries are heavy and sometimes make scrolling janky on phones.

This generator uses CSS scroll-snap, which snaps each item using the browser's native scrolling: swiping feels smooth, it works with trackpads and keyboards and needs almost no JavaScript. Choose how many items show at a time on desktop and phone (including one and a peek of the next, to show it can be swiped), the spacing and the corners. No auto-rotation, which hurts reading and accessibility (WCAG 2.2.2).

How to use

  1. Paste the image URLs.
  2. Choose how many show at a time and the spacing.
  3. Copy the code and paste it into your site.

When to use it

  • Product showcase.
  • Work photos and portfolio.
  • Testimonial or service cards.

Frequently asked questions

Why scroll-snap and not a library?

Scroll-snap uses the browser's native scrolling: swiping on phones feels smooth like Instagram, it works with trackpads and keyboards and weighs nothing. Slider libraries often add dozens of KB of JavaScript to do the same thing.

Does the carousel advance on its own?

No, on purpose. Carousels that rotate on their own get in the way of reading and are an accessibility problem (WCAG 2.2.2 requires being able to pause anything that moves for more than 5 seconds). People who want to see more swipe or use the arrows.

Can I use it with text cards?

Yes. Replace the images with any content inside each list item; the size and snapping stay the same.

Is it really free?

Yes, 100% free. No sign-up, no subscription and no usage limits. All Tools123 tools are free and run right in your browser.

Similar tools

The tools are provided as is, without warranty. We are not responsible for the results or for how they are used.