mirror of
https://github.com/hanzoai/frames.git
synced 2026-09-24 00:08:03 +00:00
@hanzo/frame is taken by the hero video primitive — one full-bleed video element — which has held that name on npm since it shipped. This repo is the video toolchain: a CLI, a renderer, a studio, a player. Plural is what it is, so the CLI publishes as @hanzo/frames and the workspace packages follow it (@hanzo/frames-core, @hanzo/frames-engine, and the rest). The binary stays `frames`, and now actually ships. The manifest mapped it to bin/frames.mjs while the file on disk was bin/hyperframes.mjs, so a global install produced no working command. The paths that name a package to fetch were pointing elsewhere. The update check read registry.npmjs.org/frames, a different author's package, and the npm, bun and pnpm installers would have pulled it over the CLI; the render image installed the upstream hyperframes; scaffolded projects and the docs pinned the unscoped name. All of them now name @hanzo/frames.
45 lines
1.6 KiB
Plaintext
45 lines
1.6 KiB
Plaintext
---
|
|
title: "Texture"
|
|
description: "Flowing texture mask over large uppercase text — ships with 6 textures (lava, marble, metal, wood, concrete, rock), configurable via the texture variable"
|
|
---
|
|
|
|
# Texture
|
|
|
|
Flowing texture mask over large uppercase text — ships with 6 textures (lava, marble, metal, wood, concrete, rock), configurable via the texture variable
|
|
|
|
`captions` `caption-style` `texture` `mask`
|
|
|
|
<video className="w-full aspect-video rounded-xl object-cover bg-zinc-100 dark:bg-zinc-800" src="/images/catalog/components/caption-texture.mp4" poster="/images/catalog/components/caption-texture.png" autoPlay muted loop playsInline />
|
|
|
|
## Install
|
|
|
|
<CodeGroup>
|
|
|
|
```bash Terminal
|
|
npx @hanzo/frames add caption-texture
|
|
```
|
|
|
|
</CodeGroup>
|
|
|
|
## Details
|
|
|
|
| Property | Value |
|
|
| --- | --- |
|
|
| Type | Component |
|
|
|
|
## Files
|
|
|
|
| File | Target | Type |
|
|
| --- | --- | --- |
|
|
| `caption-texture.html` | `compositions/components/caption-texture.html` | frames:snippet |
|
|
| `lava.png` | `compositions/components/lava.png` | frames:asset |
|
|
| `marble-012.png` | `compositions/components/marble-012.png` | frames:asset |
|
|
| `metal-046-b.png` | `compositions/components/metal-046-b.png` | frames:asset |
|
|
| `wood-066.png` | `compositions/components/wood-066.png` | frames:asset |
|
|
| `concrete-042-a.png` | `compositions/components/concrete-042-a.png` | frames:asset |
|
|
| `rock-058.png` | `compositions/components/rock-058.png` | frames:asset |
|
|
|
|
## Usage
|
|
|
|
Open `compositions/components/caption-texture.html` and paste its contents into your composition. See the comment header in the file for detailed instructions.
|