Skip to content

Staggered Animations? #44

Closed
Closed

Description

@MentalGear

Great library, thank you for this!

I'm wondering if there's also a config option to apply delays between animations starts for a staggered transition.
Use case: Loading a list to animate in one item after another instead of all at once.

Also, if there are click animation events on the list items (via svelte animate), hopefully these "animate in/out" delay shouldn't be applied on an item the user clicks on.

Activity

  1. justin-schroeder commented on Jul 28, 2022

    @justin-schroeder
    Member

    There is not a config for this, although it's certainly feasible, we want to make sure the surface area of the API stays itty-bitty. But this seems small enough it may be worth looking into.

  2. added
    enhancement
    on Jul 28, 2022
  3. harrisrobin commented on Apr 10, 2023

    @harrisrobin

    Add me on the list of those interested in this ✍🏽

  4. AlejandroAkbal commented on Nov 10, 2023

    @AlejandroAkbal

    I am interested too ✌

  5. oskarAtWork commented on Nov 24, 2023

    @oskarAtWork

    Also interested

  6. nathanziarek commented on Dec 20, 2023

    @nathanziarek

    Super interested (if adding "super" helps prioritize). This library is amazing; the only thing that keeps me going back to Framer is the ability to stagger animate children.

  7. strblr commented on Jan 13, 2024

    @strblr

    Would love that too!

  8. bflemi3 commented on Jun 7, 2024

    @bflemi3
  9. justrustyspoons commented on Jan 7, 2025

    @justrustyspoons

    There's a duration option, but no delay option. Would be really awesome to have a delay option. Duration doesn't quite give us what we need

  10. Sukaato commented on Jul 14, 2025

    @Sukaato

    any update on this ?

  11. justin-schroeder commented on Nov 22, 2026

    @justin-schroeder
    Member

    Landed in #256 🌊 — autoAnimate(el, { stagger: 60 }) cascades items added together, 60ms apart. Only entry animations are staggered, so moves and clicks stay snappy. Ships in the next release!

  12. justin-schroeder commented on Nov 23, 2026

    @justin-schroeder
    Member

    Out now in @formkit/auto-animate@0.11.0 🚢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions