Files
hyperframes/docs/examples.mdx
T

202 lines
7.9 KiB
Plaintext

---
title: "Examples"
description: "Watch finished HyperFrames videos, inspect real production projects, or start from a working template."
---
import { DocsVideo } from "/snippets/docs-video.jsx";
import { ReferenceProjectStory } from "/snippets/reference-project-story.jsx";
Start with one complete, small project. Then use the larger productions for range and the templates
for a working starting point.
<ReferenceProjectStory sourceHref="https://github.com/heygen-com/hyperframes/tree/main/examples/docs-reference-project" />
## See how far it can go
These larger films are also real HyperFrames projects with public source.
<div className="not-prose grid grid-cols-1 md:grid-cols-2 gap-5 my-8">
<div className="overflow-hidden rounded-xl border border-zinc-200 bg-white dark:border-zinc-800 dark:bg-zinc-950">
<DocsVideo
title="HyperFrames launch film"
src="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/hyperframes-launch-preview.mp4"
poster="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/hyperframes-launch-poster.jpg"
/>
<div className="p-4">
<div className="text-xs uppercase tracking-wide text-zinc-500">Product launch</div>
<h3 className="mt-1 text-lg font-semibold">HyperFrames launch</h3>
<p className="mt-2 text-sm text-zinc-600 dark:text-zinc-300">
A complete announcement using product UI, typography, footage, captions,
voiceover, sound, and several animation techniques.
</p>
<a className="mt-3 block text-sm font-medium" href="https://github.com/heygen-com/hyperframes-launches/tree/main/hyperframes-launch">
Inspect the source →
</a>
</div>
</div>
<div className="overflow-hidden rounded-xl border border-zinc-200 bg-white dark:border-zinc-800 dark:bg-zinc-950">
<DocsVideo
title="Timeline editor launch film"
src="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/timeline-editor-preview.mp4"
poster="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/timeline-editor-poster.jpg"
/>
<div className="p-4">
<div className="text-xs uppercase tracking-wide text-zinc-500">Feature reveal</div>
<h3 className="mt-1 text-lg font-semibold">Timeline editor launch</h3>
<p className="mt-2 text-sm text-zinc-600 dark:text-zinc-300">
A product reveal built around the pain of repeated editing prompts, followed by the visual
editor as the answer.
</p>
<a
className="mt-3 block text-sm font-medium"
href="https://github.com/heygen-com/hyperframes-launches/tree/main/timeline-launch"
>
Inspect the source →
</a>
</div>
</div>
<div className="overflow-hidden rounded-xl border border-zinc-200 bg-white dark:border-zinc-800 dark:bg-zinc-950">
<DocsVideo
title="Website to HyperFrames film"
src="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/website-to-hyperframes-preview.mp4"
poster="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/website-to-hyperframes-poster.jpg"
/>
<div className="p-4">
<div className="text-xs uppercase tracking-wide text-zinc-500">Product and website video</div>
<h3 className="mt-1 text-lg font-semibold">Website to HyperFrames</h3>
<p className="mt-2 text-sm text-zinc-600 dark:text-zinc-300">
Captured product material turned into a structured promo rather than a simple scrolling screen
recording.
</p>
<a
className="mt-3 block text-sm font-medium"
href="https://github.com/heygen-com/hyperframes-launches/tree/main/website-to-hyperframes"
>
Inspect the source →
</a>
</div>
</div>
<div className="overflow-hidden rounded-xl border border-zinc-200 bg-white dark:border-zinc-800 dark:bg-zinc-950">
<DocsVideo
title="Texture launch film"
src="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/texture-launch-preview.mp4"
poster="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/texture-launch-poster.jpg"
/>
<div className="p-4">
<div className="text-xs uppercase tracking-wide text-zinc-500">Motion and title design</div>
<h3 className="mt-1 text-lg font-semibold">Texture launch</h3>
<p className="mt-2 text-sm text-zinc-600 dark:text-zinc-300">
Expressive typography, texture masks, shader backgrounds, and compact
transition-led storytelling.
</p>
<a className="mt-3 block text-sm font-medium" href="https://github.com/heygen-com/hyperframes-launches/tree/main/texture-launch-video">
Inspect the source →
</a>
</div>
</div>
</div>
## Start from a template
Create a project with a working example:
```bash
npx hyperframes init my-video --example <name>
```
<div className="not-prose grid grid-cols-2 gap-4 my-6">
<div className="relative overflow-hidden rounded-xl bg-zinc-900">
<video
className="aspect-video w-full object-cover"
src="https://static.heygen.ai/hyperframes-oss/docs/images/templates/warm-grain.mp4"
poster="https://static.heygen.ai/hyperframes-oss/docs/images/templates/warm-grain.png"
autoPlay
muted
loop
playsInline
preload="metadata"
/>
<div className="p-3 text-white">
<strong>warm-grain</strong>
</div>
</div>
<div className="relative overflow-hidden rounded-xl bg-zinc-900">
<video
className="aspect-video w-full object-cover"
src="https://static.heygen.ai/hyperframes-oss/docs/images/templates/play-mode.mp4"
poster="https://static.heygen.ai/hyperframes-oss/docs/images/templates/play-mode.png"
autoPlay
muted
loop
playsInline
preload="metadata"
/>
<div className="p-3 text-white">
<strong>play-mode</strong>
</div>
</div>
<div className="relative overflow-hidden rounded-xl bg-zinc-900">
<video
className="aspect-video w-full object-cover"
src="https://static.heygen.ai/hyperframes-oss/docs/images/templates/swiss-grid.mp4"
poster="https://static.heygen.ai/hyperframes-oss/docs/images/templates/swiss-grid.png"
autoPlay
muted
loop
playsInline
preload="metadata"
/>
<div className="p-3 text-white">
<strong>swiss-grid</strong>
</div>
</div>
<div className="relative overflow-hidden rounded-xl bg-zinc-900">
<video
className="aspect-video w-full object-cover"
src="https://static.heygen.ai/hyperframes-oss/docs/images/templates/kinetic-type.mp4"
poster="https://static.heygen.ai/hyperframes-oss/docs/images/templates/kinetic-type.png"
autoPlay
muted
loop
playsInline
preload="metadata"
/>
<div className="p-3 text-white">
<strong>kinetic-type</strong>
</div>
</div>
</div>
| Example | Good starting point for |
| --------------- | -------------------------------------------- |
| `warm-grain` | Branding, lifestyle, and editorial work |
| `play-mode` | Energetic social videos and product launches |
| `swiss-grid` | Technical, structured, and corporate stories |
| `kinetic-type` | Type-led promos, intros, and title cards |
| `decision-tree` | Explainable diagrams and tutorials |
| `product-promo` | Multi-scene product showcases |
| `nyt-graph` | Editorial charts and data stories |
| `vignelli` | Bold portrait announcements |
| `blank` | Agent-generated or fully custom work |
<Tip>
Choose a template for its structure and tone, then replace the sample content. If none fits, start
with `blank` and let the agent build from the brief.
</Tip>
## Run a production project locally
The launch repository uses Git LFS for large media:
```bash
git lfs install
git clone https://github.com/heygen-com/hyperframes-launches.git
cd hyperframes-launches/hyperframes-launch
npx hyperframes preview
```
If you only need a starting structure, use a built-in template instead. It is smaller and faster to understand.