About
A playlist sequencer with a live energy arc, animated reordering, smart energy and tempo sorting, shuffle, removal with undo, a crossfade slider, total and mix durations, a transition audit with a suggested crossfade, average tempo and keyboard reordering with Alt plus arrows.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Playlist Sequencer to your project and fits it to your theme.
Code
How Playlist Sequencer is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
/**
* PrequelUI Animate — MIT — https://prequeluianimate.terravidhal.me
*/
import {
PlaylistSequencer,
type PlaylistTrack,
} from "@/components/ui/playlist-sequencer";
const TRACKS: PlaylistTrack[] = [
{ id: "t1", title: "Paper Lanterns", artist: "Mira Vale", duration: 214, bpm: 92, energy: 2 },
{ id: "t2", title: "Slow Current", artist: "Harbor Lights", duration: 248, bpm: 104, energy: 3 },
{ id: "t3", title: "Neon Field", artist: "Ora Bloom", duration: 192, bpm: 118, energy: 4 },
{ id: "t4", title: "Glass Morning", artist: "Mira Vale", duration: 236, bpm: 88, energy: 1 },
{ id: "t5", title: "Static Bloom", artist: "June Arcade", duration: 205, bpm: 124, energy: 5 },
{ id: "t6", title: "Long Way Home", artist: "Harbor Lights", duration: 268, bpm: 98, energy: 2 },
];
export default function PlaylistSequencerDemo() {
return (
<main className="flex min-h-screen w-full items-start justify-center bg-gradient-to-b from-muted/40 via-background to-background px-4 py-8 sm:px-6">
<PlaylistSequencer
name="Late shift"
tracks={TRACKS}
defaultOrder={["t4", "t1", "t2", "t6", "t3", "t5"]}
defaultCrossfade={4}
title="Build a warm-up sequence"
/>
</main>
);
}








