Components/Stagger
Universal Component

Stagger

/enter/leave

This page was migrated by AI, please review carefully

Migration is complete, but please validate against source code and manual review.

Stagger

/enter/leave

import { ref } from 'vue' const items = ref([ { id: 'a', text: 'Alpha' }, { id: 'b', text: 'Beta' }, { id: 'c', text: 'Gamma' }, { id: 'd', text: 'Delta' }, ]) function add() { items.value.unshift({ id: `${Date.now()}`, text: `New ${items.value.length + 1}` }) } function remove() { items.value.shift() }

Basic Usage

Stagger

Demo loads on client.

API

Props

PropTypeDefaultDescription
tagstring'div'Description for tag.
appearbooleantrueDescription for appear.
namestring'tx-stagger'TransitionGroup name
durationnumber180Description for duration.
delayStepnumber24Description for delayStep.
delayBasenumber0Description for delayBase.
easing'ease'| 'ease-in'| 'ease-out'| 'ease-in-out'| 'linear''ease-out'Description for easing.
Was this helpful?