Step Animation
Control the transition style between form steps.
Setup
Attribute: sf-step-animation
Options: fade
, slide-top
, slide-left
, slide-bottom
, slide-right
, none
Default: fade
Where: Form Container
Description: Specifies the animation type to be used for transitions between steps in a multi-step form, enhancing visual appeal and flow.
How to use: Can work in conjunction with:
sf-step-animation-duration
(see Step Animation Duration)sf-step-animation-ease
(see Step Animation Ease)
HTML Example
<!-- Form Container with Animation Settings -->
<div sf="myForm" sf-step-animation="slide-top">
<form>
<!-- Step 1 -->
<div sf-step="step1">
<!-- Content for Step 1 -->
<button sf-goto="next">Next</button>
</div>
<!-- Step 2 -->
<div sf-step="step2">
<!-- Content for Step 2 -->
</div>
</form>
</div>
Webflow Example
Last updated
Was this helpful?