Superform by Delta Clan
✨ ClonablesSocialResourcesSuperform Home
v2
v2
  • 🏁Getting Started
    • Introduction
    • Quick Start
  • 🫀Essentials
    • Form Container
    • Step Container
    • Navigation - Overview
      • Direct
      • Logic / Conditional
      • Hook
    • Variables
      • Form Data ($f)
      • Step Index ($s)
      • Progress Percentage ($p)
      • Scoring Variables ($v)
    • Progress Bar
    • Reset
    • Radio Groups
    • Checkbox Groups
    • Cheatsheet
  • ⚙️Global Options
    • Step Delay Controls
    • Animations
      • Step Animation
      • Step Animation Duration
      • Step Animation Ease
    • Save Data & Progress
    • Pre-fill Form
    • Prevent Content Flash
    • Debug
    • Third-party Integrations
    • Cheatsheet
  • 🎛️Input Validation & Errors
    • Validation
      • length()
      • words()
      • minmax()
      • checkbox()
      • must()
      • hook()
    • Error Management
      • Automatic Error Setup
      • Manual Error Setup
  • ⚡Reactivity
    • Update Text
    • Visibility
    • Class Toggle
    • Value
    • Set Attribute
  • 🔢Score Tracking
    • Score Setup & Calculation
    • Score Ranking
  • ⌨️Accessibility
    • Enter & Backspace Bindings (↩, ⌫)
    • Checkbox & Radio Bindings
  • 🛠️Javascript SDK
    • Intro to Superform API
    • Superform Instance
    • Cheatsheet
  • 📖Additional Resources
    • WTF is an expression ? 🆕
    • Integrations
    • Tutorials
    • Changelog
    • FAQ 🚧
    • Join Discord
Powered by GitBook
On this page

Was this helpful?

  1. Global Options

Animations

Custom-built animation system — an overview.

Superform's built-in animation system features CSS animations for both advancing and reversing through form steps. This dual-direction capability ensures smooth, consistent transitions throughout your form.


Customization Options

  • Step Animations:

    • Attribute: sf-step-animation

    • Values: fade, slide-top, slide-bottom, slide-left, slide-right, none

    • Description: Controls the transition style between form steps.

    → See more details: Step Animation

  • Animation Duration:

    • Attribute: sf-step-animation-duration

    • Values: Time in milliseconds (e.g., 300)

    • Description: Sets the duration for step transitions.

    → See more details: Step Animation Duration

  • Animation Ease:

    • Attribute: sf-step-animation-ease

    • Values: linear, ease, ease-in, ease-out, ease-in-out, or custom cubic-bezier values

    • Description: Defines the easing function for animations.

    → See more details: Step Animation Ease

Pro Tips

  • Syncing Animations: Use CSS transitions to synchronize (other) animations with form step transitions. This creates a cohesive visual experience.

  • Custom Easing: Experiment with custom cubic-bezier values for unique easing effects. These can be fine-tuned to match your design aesthetics.

  • Preset Animations: Take advantage of preset animations that include reverse animations for a seamless backward navigation experience.

Last updated 10 months ago

Was this helpful?

⚙️