The video editor. Drop it anywhere — it fills its container and picks the phone, tablet or desktop layout from its own width (container queries), not the window's.
import { VideoEditor } from '@video-ultra/react';
import '@video-ultra/react/styles.css';
<VideoEditor onSave={(project) => save(project)} onExport={({ blob }) => upload(blob)} />
@video-ultra/react — the video editor component for React and Next.js, plus hooks to build your own UI on the same controller.