Back to Components
Components

Video Player

Custom video player with play/pause, progress bar, volume control, and fullscreen toggle.

Video

Product overview

0:00 / 0:00

Dependencies

  • clsx
  • tailwind-merge
  • lucide-react

Files

  • components/ui/video-player.tsx

Installation

Using shadcn CLI

npx shadcn add video-player --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge lucide-react