<TransitionGroup> List Transitions

Last updated: 2026-10-22

<TransitionGroup> List Transitions

animates lists of elements, including smooth positional moves via FLIP.

GroupBuilt-ins
KindComponent / Element
ScopeTemplate
Vue Version3.0+
SSR SupportYes

📝 Syntax

<TransitionGroup name="list" tag="ul">
  <li v-for="item in items" :key="item.id">{{ item.text }}</li>
</TransitionGroup>

.list-move { transition: transform .4s }

⚙️ Arguments

propstag (wrapper element, none by default), name, move-class and appear

▶ Example

Edit the code below and see the live result:

Output:

New items appear one by one while existing rows slide aside.

💡 Key Points

⚠️ Warning Every child needs a unique key — FLIP relies on it.
ℹ️ Note Positional moves use the .move class and require a CSS transition or animation.
💡 Tip tag="ul" renders a real wrapper; omit it for no wrapper.
More case studies coming soon.

📚 Related Tutorials

❓ FAQ

Q How is it different from Transition?
A Transition handles single elements; the group handles lists.
Q No move animation?
A Check the .move transition rule and key uniqueness.
Q Can enter and move animate together?
A Yes — they run in parallel, tunable via move-class.
Web-Tutorial.com

Web-Tutorial Tech Team

A team of developers maintaining programming tutorials. Each tutorial is written and reviewed by developers with expertise in that field. We work to keep our content accurate and reliable — if you spot an issue, please let us know.

100%

🙏 帮我们做得更好

我们是刚上线的编程教程站,几个人的小团队,精力有限。页面虽经检查,难免还有疏漏——链接失效、排版错乱、内容有误、语言生硬……

如果您发现了,麻烦告诉我们,我们会在收到反馈后第一时间进行修复,再次感谢您的光临 🙏