<input type="range">
slider via an HTML embed and style it with CSS.data-slide
attributes, hiding all but the default.data-slide
value.You're trying to create a slider-based content switcher in Webflow: a slider (bar) on the left that dynamically updates content on the right. Webflow doesn't offer this natively out-of-the-box, but you can build it using a combination of native range input, interactions, and a bit of custom logic.
<input type="range">
element to your Webflow canvas. Webflow Designer doesn’t offer a native UI for range sliders.<input type="range" id="content-slider" min="1" max="3" value="1">
.<head>
or inside the Embed itself.data-slide="1"
, data-slide="2"
, etc.Webflow Interactions don’t work natively with input range changes, so you need light custom JavaScript.
Inside the Before
tag section of your page’s Page Settings, add this:
(Do not include