Appearance
Fibbl Carousel
A carousel element to show images.
This is an expandable element. Read how it handles its styles in the Expandable elements section.
Code example
html
<script
src="https://cdn.fibbl.com/fibbl.js"
type="module"
></script>
<fibbl-carousel
data-product-id="@demo-shoe"
style="width: 300px; height: 300px"
></fibbl-carousel>
Custom attributes:
data-product-id
- a unique id of product in Fibbl's databases.data-controls
- a list of controls (e.g. expand button). Possible valuesexpand
,none
. The default isexpand
.data-mode
- a current mode of the element, eitherfull
orposter
(render only one image). The default isposter
.
Live demo
See the Pen fibbl-carousel by Fibbl (@Fibbl) on CodePen.