Thread Weave
A figure or mark is woven row by row on a loom of cream cells, then a caption settles. A free, MIT-licensed Remotion number animation.
$ pnpm dlx shadcn@latest add @remocn/thread-weaveUsage
// src/Root.tsx
import { Composition } from "remotion";
import { ThreadWeave } from "@/components/remocn/thread-weave";
const ThreadWeaveScene = () => (
<ThreadWeave value="24" caption="frames per second" />
);
export const RemotionRoot = () => (
<Composition
id="ThreadWeave"
component={ThreadWeaveScene}
durationInFrames={175}
fps={30}
width={1280}
height={720}
/>
);Warp threads set up the loom, then every row of the pattern is woven across in alternating directions until the figure appears in blue and orange cells. A caption settles under it. Pass value and caption, or set motif to mark to weave the Remocn mark; it ships light and dark through theme.
Props15
| Prop | Type | Default |
|---|---|---|
| value | string"24" Short figure to weave, as text. | |
| motif | "value" | "mark""value" Weave the value as text or the Remocn mark. | |
| caption | string"frames per second" Small line that settles under the cloth. | |
| weave | number108 Longest the weave may take, in frames; dense motifs speed up to fit. | |
| stats | booleantrue Shows the ends × picks counter under the cloth. | |
| logo | React.ReactNode— Replaces the remocn mark. | |
| fontFamily | string"Space Grotesk" Typeface for the copy. Load the font in your project first. | |
| accent | string"#3B5BFD" Accent color for highlights and small marks. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background fill; pass "transparent" to drop it. | |
| grain | booleantrue Film grain over the scene. | |
| scale | number1 Size of the foreground around the frame's center; the background stays put. | |
| delay | number0 Frames to hold the first frame before anything moves. | |
| speed | number1 Playback speed multiplier for the whole timeline. | |
| theme | "dark" | "light""dark" Color theme, "dark" or "light". | |
- valuestring
Short figure to weave, as text.
Default
"24" - motif"value" | "mark"
Weave the value as text or the Remocn mark.
Default
"value" - captionstring
Small line that settles under the cloth.
Default
"frames per second" - weavenumber
Longest the weave may take, in frames; dense motifs speed up to fit.
Default
108 - statsboolean
Shows the ends × picks counter under the cloth.
Default
true - logoReact.ReactNode
Replaces the remocn mark.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Space Grotesk" - accentstring
Accent color for highlights and small marks.
Default
"#3B5BFD" - inkstring
Text color; overrides the theme ink.
- backgroundstring
Background fill; pass "transparent" to drop it.
- grainboolean
Film grain over the scene.
Default
true - scalenumber
Size of the foreground around the frame's center; the background stays put.
Default
1 - delaynumber
Frames to hold the first frame before anything moves.
Default
0 - speednumber
Playback speed multiplier for the whole timeline.
Default
1 - theme"dark" | "light"
Color theme, "dark" or "light".
Default
"dark"