KQ-816 · FORGET/SWEEP
Forget Sweep
A list of facts an assistant remembers, each with a Forget button. Pressing it wipes the fact away left to right on a clip tween with an eraser head riding the edge — a destructive act never bounces — and an undo chip rises into the same row on snap carrying a ring that drains linearly across the window, so nothing beneath shifts while it is open. Hovering or a keyboard focus holds the ring, Undo wipes the fact back in from the left, and when the ring runs out the row fades on the exit ease and its siblings travel up on glide as the list's measured height follows.
KQ-816 · FORGET/SWEEP
Fernworks Model 3 remembers
- The yard gate opens at 06:30 on weekdaysTurn 4
- Crew lead Ines wants quantities in metricTurn 9
- Yard reports go out every Friday before noonTurn 12
- Coldbrook Bank statements arrive as CSV, one per accountTurn 15
4 remembered · idle
Install
One command — the source lands in your repo. Or copy it from the Code tab.
$ pnpm dlx shadcn@latest add @kinetiq/forget-sweep
Props
- items
- ForgetItem[]
- default —
- The remembered facts in list order — id, text and an optional source line; the host owns the list and removes an item from onForget.
- undoWindow
- number
- default 4000
- Milliseconds the undo chip stays before the forget commits.
- onForgetStart
- (id: string) => void
- default —
- Fires when Forget is pressed and the undo window opens.
- onForget
- (id: string) => void
- default —
- Fires when the ring runs out without an undo; remove the item here.
- onUndo
- (id: string) => void
- default —
- Fires from the Undo button once the fact starts wiping back in.
- label
- string
- default —
- Names the list for assistive technology and prints as its heading.
| Prop | Type | Default | Description |
|---|---|---|---|
| items | ForgetItem[] | — | The remembered facts in list order — id, text and an optional source line; the host owns the list and removes an item from onForget. |
| undoWindow | number | 4000 | Milliseconds the undo chip stays before the forget commits. |
| onForgetStart | (id: string) => void | — | Fires when Forget is pressed and the undo window opens. |
| onForget | (id: string) => void | — | Fires when the ring runs out without an undo; remove the item here. |
| onUndo | (id: string) => void | — | Fires from the Undo button once the fact starts wiping back in. |
| label | string | — | Names the list for assistive technology and prints as its heading. |