Skip to content

Commit 53153d4

Browse files
feat(registry): examples show the most-installed blocks (#4284)
* feat(registry): examples show the most-installed blocks * fix(docs): escape block placeholder in examples * fix(docs): escape template placeholder in examples
1 parent 24c3e19 commit 53153d4

1 file changed

Lines changed: 35 additions & 21 deletions

File tree

‎docs/examples.mdx‎

Lines changed: 35 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -164,29 +164,43 @@ next to its **HyperFrames replica** (on the right), matched frame for frame.
164164
/>
165165
</div>
166166

167-
## Start from a template
168-
169-
Create a project with a working example:
170-
171-
```bash
172-
npx hyperframes init my-video --example <name>
173-
```
174-
175-
| Example | Good starting point for |
176-
| --------------- | -------------------------------------------- |
177-
| `warm-grain` | Branding, lifestyle, and editorial work |
178-
| `play-mode` | Energetic social videos and product launches |
179-
| `swiss-grid` | Technical, structured, and corporate stories |
180-
| `kinetic-type` | Type-led promos, intros, and title cards |
181-
| `decision-tree` | Explainable diagrams and tutorials |
182-
| `product-promo` | Multi-scene product showcases |
183-
| `nyt-graph` | Editorial charts and data stories |
184-
| `vignelli` | Bold portrait announcements |
185-
| `blank` | Agent-generated or fully custom work |
167+
## Most-installed blocks
168+
169+
These ready-to-run examples are ordered by human requested installs from the last 30 days. Add any block to a project, then customize its content in place.
170+
171+
| Example | Start here |
172+
| --- | --- |
173+
| logo-outro | npx hyperframes add logo-outro |
174+
| data-chart | npx hyperframes add data-chart |
175+
| editorial-flash-overlay | npx hyperframes add editorial-flash-overlay |
176+
| organic-light-leak-overlay | npx hyperframes add organic-light-leak-overlay |
177+
| mk-progress-stat | npx hyperframes add mk-progress-stat |
178+
| flowchart | npx hyperframes add flowchart |
179+
| mk-specs-list | npx hyperframes add mk-specs-list |
180+
| mk-callout-highlight | npx hyperframes add mk-callout-highlight |
181+
| hw-title | npx hyperframes add hw-title |
182+
| code-typing | npx hyperframes add code-typing |
183+
| lt-dark-card | npx hyperframes add lt-dark-card |
184+
| cinematic-zoom | npx hyperframes add cinematic-zoom |
185+
186+
## Project templates
187+
188+
The init templates remain available for scaffolding complete projects.
189+
190+
| Template | Good starting point for |
191+
| --- | --- |
192+
| warm-grain | Branding, lifestyle, and editorial work |
193+
| play-mode | Energetic social videos and product launches |
194+
| swiss-grid | Technical, structured, and corporate stories |
195+
| kinetic-type | Type-led promos, intros, and title cards |
196+
| decision-tree | Explainable diagrams and tutorials |
197+
| product-promo | Multi-scene product showcases |
198+
| nyt-graph | Editorial charts and data stories |
199+
| vignelli | Bold portrait announcements |
200+
| blank | Agent-generated or fully custom work |
186201

187202
<Tip>
188-
Choose a template for its structure and tone, then replace the sample content. If none fits, start
189-
with `blank` and let the agent build from the brief.
203+
Use npx hyperframes init my-video --example &lt;name&gt; for a full project template, or npx hyperframes add &lt;block&gt; to start from one of the examples above.
190204
</Tip>
191205

192206
## Related topics

0 commit comments

Comments
 (0)