MediaTrimmer
Video/audio trim range selector.
import { MediaTrimmer } from '@ybouhjira/hyperkit';#Playground
Edit the code — the preview recompiles and re-renders as you type.
Loading preview…
#Props
| Prop | Type | Default | Description |
|---|---|---|---|
src * | string | — | — |
onTrimChange * | (start: number, end: number) => void | — | — |
thumbnailCount | number | — | — |
minDuration | number | — | — |
class | string | — | — |
style | JSX.CSSProperties | — | — |
* required prop.
#Design Tokens
This component reads the following CSS custom properties. Override them globally or per-instance to restyle it — see the CSS Variables guide.
--sk-accent--sk-accent-hover--sk-bg-primary--sk-font-size-sm--sk-radius-md--sk-space-md--sk-text-primary--sk-text-secondary