About
A cinematic video player on a violet stage: a light rides the frame edge, and chapter tabs carry a sweeping glow that doubles as each chapter's progress bar. Works with any video URL, with a built-in demo reel.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Chapter Player to your project and fits it to your theme.
Code
How Chapter Player is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import * as React from "react";
import { ChapterPlayer } from "@/components/ui/chapter-player";
/** Chapter Player filling the preview. */
export default function ChapterPlayerDemo() {
return (
<main className="relative h-screen min-h-[340px] w-full overflow-hidden" style={{ backgroundColor: "#020002" }}>
<ChapterPlayer style={{ width: "100%", height: "100%" }} />
</main>
);
}








