Function

useTimelineMarkers

Accesses and manages bookmark/annotation pins (markers). This canonical marker hook does not subscribe to live playhead ticks. Compose it with `useActiveMarkers` when UI needs marker proximity at the current playhead.

Signature

Type Definition
useTimelineMarkers(): UseTimelineMarkersResult

Returns

Sorted marker state and commands for adding, removing, updating, and seeking markers.