# Application Media and Gallery: Video Trim Blueprint

A static video trim tool with a preview frame and timecode, a transport row, a filmstrip timeline with trim handles and playhead, and readout chips.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/video-trim-blueprint
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Media and Galleries](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/video-trim-blueprint.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-media-gallery-video-trim-blueprint
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: button, placeholder
- Installs to: `@/components/blocks/application-pro/media-gallery/video-trim-blueprint`

## About this block

Video Trim Blueprint renders a trim tool as static
markup for product-demo.mp4: a header with a Trim video
title and the filename, then a Placeholder preview frame
with a floating 00:12.4 / 00:48.0 timecode readout. A
centered transport row holds back, pause, and forward
buttons. Below it a filmstrip timeline lays eight frame
cells in a ruled track, with dimmed regions on the
trimmed ends, in and out handles, a rule of tick labels
(00:00 through 00:48), and a playhead marker.

The In, Out, and Duration values sit in a chip row beside
a Drag the handles hint, and Cancel and Apply trim close
the footer. The whole block is zero-JS: no useState, no
Radix, just markup and inline widths that screenshot
correctly in every preview context.

## When to use

Reach for this block as the trim step in a video upload
or editing flow, replacing the Placeholder frames with
your player element and wiring the handles and Apply trim
button to your trim handler.

A natural flow around it on an Application Pro page:

**Before**

- [Upload queue panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery)
- [Asset detail panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery)

**After**

- [Media library grid](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery)

## What you can display

One strong use is the post-upload video trim step. Other
configurations:

- **Clip export.** Add a format chip row above the footer
  for resolution and codec choices.
- **Multiple ranges.** Render more than one selected
  region on the timeline for a highlight reel.
- **Audio waveform.** Swap the filmstrip frames for a
  waveform track when trimming audio files.

> Tip: keep the in, out, and duration chips visible; they
> confirm the selection length before a user commits the
> trim.

## More in Application Media and Galleries

- [Album List](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/album-list)
- [Asset Detail Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/asset-detail-panel)
- [Asset Version History](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/asset-version-history)
- [Bulk Media Actions](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/bulk-media-actions)
- [Folder Breadcrumb Bar](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/folder-breadcrumb-bar)
- [Image Crop Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/image-crop-blueprint)
- [Lightbox Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/lightbox-blueprint)
- [Media Library Grid](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/media-library-grid)
- [Media List View](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/media-list-view)
- [Storage Usage Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/storage-usage-panel)
- [Upload Queue Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/upload-queue-panel)
