Documentation
v1.5.0Getting Started
Dynamic island
Visual effects
Interaction
Animated
Card 1
Description
Card 2
Description
Card 3
Description
Try me
Flip (default)FadeSlideZoomWhat is it?
Rotating Cards animates card elements within a specified container, creating a dynamic visual experience by cycling through different rotation animations. The effect supports multiple rotation types and speeds, making it customizable for various use cases.
How to set it up?
To use the Rotating Cards, configure the following attributes on the container and card elements in Bricks Builder:
'data-rotating-cards-container'. Sets up the container that holds the rotating cards. This attribute must be present on the parent element for the effect to work.
'data-rotating-card'. Marks each card element inside the container to participate in the rotation animation. All child elements with this attribute will be included in the effect.
'data-rotation-type' (Optional). Defines the type of rotation animation used when transitioning between cards.
"flip"
(default): Flips the card along the Y-axis."fade"
: Cards gradually appear and disappear."slide"
: Cards slide horizontally."zoom"
: Cards scale in and out.
'data-rotation-speed' (Optional). Specifies the speed of the rotation animation in seconds.
- Example values:
"1"
(fast animation)"1.5"
(default)"2"
(slower animation)
'data-rotation-interval' (Optional). Sets the time interval (in milliseconds) between each card rotation.
- Example values:
"3000"
(3 seconds)"4000"
(default, 4 seconds)"5000"
(5 seconds)
Support
Need a hand? I'm here to assist with setup, customization, or any questions you may have. Feel free to reach out—I aim to respond as soon as possible, and I appreciate your patience if there's a slight delay
Contact