Components
Video
The Video component displays a video thumbnail with a play button, which opens a modal dialog to play the video. It supports YouTube, Vimeo, and custom video sources.
page.tsx
Properties
The URL of the video (YouTube, Vimeo, or custom source).
URL of the custom thumbnail image. If not provided, it will attempt to fetch from the video source.
The ID attribute for the component.
The title displayed above the video.
The description displayed below the title.
Additional content to display over the video thumbnail.
Usage
example.tsx
If you need basic components like buttons, inputs, and more, they are available with Shadcn UI.
Was this page helpful?