Media Clip Range Selector
Trim a fixed 15-second clip out of a 60-second interview recording.
About this block
What it's for
- Trim a fixed 15-second clip out of a 60-second interview recording.
- Choose the 30-second preview window of a track before publishing.
- Pick the fixed-length excerpt a transcription or summarisation model should process.
Includes
- Fixed duration window
- Linked thumbs
- Pointer drag
- Keyboard stepping
- Boundary clamping
- Configurable min max step
- Controlled value
- Accessible start end labels
Works with
- Radix UI primitives (the registry variant it ships in)
- React 19, Next.js App Router and Tailwind CSS 4, installed with the shadcn CLI
- Your theme tokens, in light and dark mode
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
Agentic UI CLI
agentic-ui add media-clip-range-selectorInstalls through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/media-clip-range-selectorUsed in
A standalone component: drop it into any screen.
- Type
- Block
- Variants
- Radix UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- npm packages
radix-ui- Registry dependencies
lib-primitiveslib-tokens- Files
2 files
- components/agentic-ui/media-clip-range-selector/media-clip-range-selector.tsx
- components/agentic-ui/media-clip-range-selector/clip-range-math.ts
Related components
Media Carousel Controls
Photo and video gallery of a project with a counter and access to each asset's detail.
Details and live previewA11y Contrast Badge
Check in the browser whether the theme palette meets AA before opening the PR.
Details and live previewA11y Focus Manager
Confirmation dialog that returns focus to the button that opened it.
Details and live previewA11y Live Announcer
Announce the number of results when filtering a table without reloading the page.
Details and live preview