Check-Off Task Reorder List
Checking a task fades in a green check and dims the row to 22%, then the card sinks to the list end on a spring with slight overshoot while the others shift up in a stagger. A week-strip ring grows with completion and turns amber past 40%.
// Sign in to see the source. Free pieces need a free account.
Agent prompt
Add the Now In Code component "check-off-task-reorder-list" to this project. The full source is attached at the end of this prompt. Put the files under components/check-off-task-reorder-list/, install the listed dependencies with `npx expo install`, and render it on a route I can open. Keep the timing and easing values documented in the source comments. Replace the sample copy and artwork with content from my app, or leave placeholders and list what I still need to supply. === Sign in to attach the source files ===
Details
- Platforms
- iOS, Android
- Requires
- Expo SDK 54+
- Access
- Free
- Updated
- 23 Oct 2026
- License
- Unlimited commercial projects
- Original design
- @marten_maxxx on X
Are you the designer? Ask us to change or remove this.
Add pieces from the terminal or let your agent fetch them. Until then, Copy prompt does the same job. Docs
What it does
A task list under a week strip. Each task is a white card with an icon tile, a title, a time and a round checkbox on the right. Ticking a task fills the circle with a green gradient and a white check, dims the row content, enlarges the card slightly and moves it to the end of the list. Cards below it shift up one slot in a staggered wave. A ring in the strip for today grows with each completed task, turning from red to amber to green as completion rises. Completed tasks stay in the order they were finished, and tapping a finished task again restores it. A recorded two-tap demo and a free interactive mode are both available.
How it's built
A pure JavaScript function replays a list of tap events against time and returns the position, scale and opacity of every card and the ring state, so the result is deterministic and a second tap or an undo mid-animation works. The component renders the cards with Views and the ring and checks with react-native-svg, with icon paths shared from a small icon module. The moving card uses a spring with a small overshoot, and the others use eased moves offset by a few dozen milliseconds each. A requestAnimationFrame loop advances the clock.
Good for
- Task, habit and reminder lists where finished items sink below open ones
- Daily progress indicators tied to a list
- Any reorderable list where an item change should ripple through the other rows
Dependencies
react-native-svgreact-native