Webflow's native slider works for basic use cases, but it's limited. No touch-swipe on desktop, no coverflow or cards effects, no autoplay pause on hover, no multiple visible slides. If you need a proper carousel slider in Webflow, you're usually looking at custom JavaScript or third-party embeds.
There's an easier way. OneType Transforms lets you add a full-featured carousel to Webflow with custom attributes - the same way you'd add any other interaction. No code to write, no embed blocks needed for simple setups. For the full feature overview, see the main carousel slider guide.
How to add a carousel slider to Webflow
Step 1: Add the script tag
The Swiper carousel is a premium transform. Sign up at transforms.onetype.ai/pricing, grab your script tag, then add it to Webflow:
- Open the Webflow Designer
- Go to Site Settings (Webflow logo, top-left)
- Click the Custom Code tab
- Paste the script tag in the Footer Code section (before </body>)
- Click Save Changes
- Publish the site
<script src="https://cdn.transforms.onetype.ai/bundle/{YOUR-TOKEN}.js"></script>This requires a Webflow Basic site plan or above ($14/mo). The free Starter plan doesn't support custom code.
Step 2: Build the carousel
You have two options depending on your slide content.
Option A: Custom attributes on a Div Block (recommended)
- Add a Div Block to your page - this is the carousel container
- Add child Div Blocks inside it - each one becomes a slide
- Select the parent Div Block
- Open the Settings panel (gear icon, right sidebar)
- Under Custom Attributes, click +
- Add: Name =
ot, Value =swiper - Add more attributes for options:
ot-navigation=true,ot-pagination=bullets - Publish to see it live
This is the cleanest approach - you're using Webflow's native elements with custom attributes. Style your slides however you want in the Webflow Designer, then add the attributes to activate the carousel.
Option B: Embed element (for custom HTML)
If you prefer writing raw HTML, add an Embed element (press A, search "Embed") and paste your carousel markup:
<div ot="swiper" ot-navigation="true" ot-pagination="bullets" ot-autoplay="true" ot-loop="true">
<div><img src="slide-1.jpg" alt="Slide 1"></div>
<div><img src="slide-2.jpg" alt="Slide 2"></div>
<div><img src="slide-3.jpg" alt="Slide 3"></div>
</div>Webflow carousel examples
Portfolio gallery with coverflow:
Set up a Div Block with children for each portfolio item. Add these custom attributes to the parent:
ot=swiperot-effect=coverflowot-slides-per-view=2ot-centered=trueot-loop=trueot-grab-cursor=true
Testimonial slider with autoplay:
ot=swiperot-effect=fadeot-autoplay=trueot-autoplay-pause=trueot-pagination=bullets
Multi-card row:
ot=swiperot-slides-per-view=3ot-space-between=20ot-navigation=trueot-pagination=fraction
Webflow native slider vs OneType carousel
Webflow's built-in Slider component handles basic slideshows. Here's where the OneType carousel adds more:
- Touch swipe on desktop - drag to swipe, not just on mobile
- Multiple slides visible - show 2, 3, or more slides at once with spacing
- 6 transition effects - slide, fade, coverflow, cards, cube, flip
- Autoplay with pause on hover - stops when users interact
- Free-mode scrolling - slides don't snap to position
- Keyboard and mousewheel navigation - accessible by default
Using with Webflow CMS
You can use the carousel with Webflow CMS Collection Lists. Set up a Collection List, add the ot="swiper" attribute to the list wrapper, and each Collection Item becomes a slide. This works great for dynamic content like blog posts, products, or team members pulled from the CMS.
Important notes
- Custom code only renders on the published site, not in the Webflow Designer preview
- Custom attributes work on all Webflow plans including free - but the script tag needs a Basic plan ($14/mo) minimum
- OneType also offers a Webflow Designer Extension that lets you apply transforms visually inside the Designer - no manual attribute setup needed
For the full list of carousel options and effects, see the complete carousel slider guide. Browse all transforms at transforms.onetype.ai.






