@fr0/components
v0.1.0
Published
Pure JSON-emitting Layer builders for fr0 templates (Phase δ-9 — no React).
Downloads
88
Readme
@fr0/components
Pure JSON layer builders for common video elements.
Status
✅ Phase δ-9 — done (React-free, pure JSON builders)
Purpose
Provides convenience builder functions that emit Layer objects for common patterns (counters, progress bars, gradient text). These are pure functions that return Timeline IR — no React, no DOM.
Builders
| Builder | Description |
|---|---|
| buildCounter(options) | Text layer with a TextExpression counter |
| buildProgressBar(options) | Group of shapes forming an animated progress bar |
| buildGradientText(options) | Text layer with linear-gradient fill |
Quick start
import { buildCounter } from '@fr0/components';
const layer = buildCounter({ from: 0, to: 1000, prefix: '$' });
// → a Layer object ready to embed in a TimelineWhat this package is NOT
- Not a renderer
- Not a React component library (React dependency was removed in δ-9)
