Looking for the old docs? Go here

Display

Chapter Title

This component is used to load and display the current chapter title.

HTMLAttributes
Ref<HTMLElement>

This component is used to load and display the current chapter title based on the text tracks provided.

import { ChapterTitle, type ChapterTitleProps } from "@vidstack/react";
<ChapterTitle />
PropTypeDefault
defaultText
string
undefined
asChild
boolean
false

Previous