Editor Workflows
Multitrack Timeline Transport
A cream timeline card with two track lanes of coloured clips and a red playhead that scrubs on its own, plus four chapter buttons that jump the playhead and update the timecode.
cssmedium complexitymoderate motionclickaccessible
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
1
When to use it
Video or audio editor mockups, tutorial chapter lists and product tours that need a compact timeline with jump-to-chapter buttons.
When not to
Real editing. Clips are fixed blocks, the timecode is computed from the playhead position, and the playhead moves only on a loop or a button press.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Edit the four .sc08-ch-btn buttons (data-pct for playhead position, data-tc for the timecode, label text) to set your chapters, and the clips in .sc08-multitrack-area (.sc08-c1 to .sc08-c5 left and width). Colours come from --sc-navy, --sc-red, --sc-red-t, --sc-on-red, --sc-cream and --sc-amber on :root, with a dark set in [data-theme="dark"]. Keep aria-pressed on the chapter buttons in step with .sc08-active.
Safe to edit
- chapter buttons (data-pct, data-tc, label)
- clip blocks and lane layout (.sc08-c1 to .sc08-c5)
- idle scrub range and speed (t += 0.05, scrub formula in loop)
- panel colours (--sc-* tokens on :root and [data-theme=dark])
Keep intact
- demo-v1 preview lifecycle: initialize demoEnabled from window.__foreverPreview and stop attract work on the window forever:interactive event; retain manual feedback, settling, cleanup and explicit sessions
Known limitations
- State remains local to each mounted instance; format/theme remount preserves takeover, not component values.
More Editor Workflows components
- Markdown SplitA focused Markdown control flips between readable source and rendered preview, with one large two-state selector designed to stay legible inside a 300px…
- Comment ComposerA single reply control types a useful comment, presses its send action and resolves to a clear sent state without shrinking into a miniature discussion…
- Mention PickerA compact mention field types @ma, reveals one large teammate result, highlights it and resolves into a clear @maya token sized for the public canvas.
- Autosave DraftOne document-status control moves from edited to saving to saved, morphing a neutral dot into a spinner and confirmation mark at clear 300px-tile scale.
- Suggested EditsOne focused inline revision replaces a vague phrase with an exact result, then demonstrates both accept and reject outcomes with large controls.
- Focus WritingA compact focus-mode control turns on, then moves a crisp reading spotlight across three short lines while surrounding copy recedes.