How-to

Bolt 分享用 auto-animate 做列表动效的提示词

Steal the prompt 👇️ "Build a simple todo list app with add, delete, and reorder. Use @formkit/aut...

Why we picked it

这是 Bolt 官方给的一条现成提示词,直接复制就能生成一个带流畅列表动画的 todo 应用。它示范了怎么在提示词里点名 @formkit/auto-animate 这类具体库,还加了个开/关切换来对比动效效果,做前端 demo 或教学演示都能直接用。

Bolt 官方账号分享了一条面向 todo list 应用的提示词模板。提示词要求实现添加、删除和重新排序三个基础功能,并指定使用 @formkit/auto-animate 库让列表在每次增删和排序时平滑动画。

Body

模板还包含一个动画开/关切换,方便对比开启和关闭动效的效果。

Original · bolt.new

Steal the prompt 👇️ "Build a simple todo list app with add, delete, and reorder. Use @formkit/aut...

Steal the prompt 👇️ "Build a simple todo list app with add, delete, and reorder. Use @formkit /auto-animate on the list so every add, remove, and reorder animates smoothly. Include an on/off toggle for the animation so I can show before vs after."

Industry Coordinates & Source Verification

This report is categorized under AITOP's "How-to" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Bolt, @formkit/auto-animate, prompt engineering, front-end development.

Source attribution: curated from bolt.new (@boltdotnew).

Spotted an error in the summary or translation? Tell us