agentcut 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (248) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -2
  3. package/dist/bridge.d.ts +45 -0
  4. package/dist/bridge.js +691 -0
  5. package/dist/bridge.js.map +1 -0
  6. package/dist/config.d.ts +13 -0
  7. package/dist/config.js +50 -0
  8. package/dist/config.js.map +1 -0
  9. package/dist/index.d.ts +2 -0
  10. package/dist/index.js +35 -0
  11. package/dist/index.js.map +1 -0
  12. package/dist/log.d.ts +1 -0
  13. package/dist/log.js +14 -0
  14. package/dist/log.js.map +1 -0
  15. package/dist/studio/agents/claude.d.ts +7 -0
  16. package/dist/studio/agents/claude.js +155 -0
  17. package/dist/studio/agents/claude.js.map +1 -0
  18. package/dist/studio/agents/codex.d.ts +4 -0
  19. package/dist/studio/agents/codex.js +169 -0
  20. package/dist/studio/agents/codex.js.map +1 -0
  21. package/dist/studio/agents/index.d.ts +8 -0
  22. package/dist/studio/agents/index.js +50 -0
  23. package/dist/studio/agents/index.js.map +1 -0
  24. package/dist/studio/agents/types.d.ts +131 -0
  25. package/dist/studio/agents/types.js +11 -0
  26. package/dist/studio/agents/types.js.map +1 -0
  27. package/dist/studio/bundler.d.ts +29 -0
  28. package/dist/studio/bundler.js +136 -0
  29. package/dist/studio/bundler.js.map +1 -0
  30. package/dist/studio/chat.d.ts +147 -0
  31. package/dist/studio/chat.js +681 -0
  32. package/dist/studio/chat.js.map +1 -0
  33. package/dist/studio/cli.d.ts +2 -0
  34. package/dist/studio/cli.js +194 -0
  35. package/dist/studio/cli.js.map +1 -0
  36. package/dist/studio/components.d.ts +4 -0
  37. package/dist/studio/components.js +36 -0
  38. package/dist/studio/components.js.map +1 -0
  39. package/dist/studio/host.d.ts +105 -0
  40. package/dist/studio/host.js +634 -0
  41. package/dist/studio/host.js.map +1 -0
  42. package/dist/studio/http.d.ts +21 -0
  43. package/dist/studio/http.js +240 -0
  44. package/dist/studio/http.js.map +1 -0
  45. package/dist/studio/music.d.ts +35 -0
  46. package/dist/studio/music.js +130 -0
  47. package/dist/studio/music.js.map +1 -0
  48. package/dist/studio/proc.d.ts +11 -0
  49. package/dist/studio/proc.js +69 -0
  50. package/dist/studio/proc.js.map +1 -0
  51. package/dist/studio/projects.d.ts +84 -0
  52. package/dist/studio/projects.js +369 -0
  53. package/dist/studio/projects.js.map +1 -0
  54. package/dist/studio/render.d.ts +24 -0
  55. package/dist/studio/render.js +197 -0
  56. package/dist/studio/render.js.map +1 -0
  57. package/dist/studio/reveal.d.ts +7 -0
  58. package/dist/studio/reveal.js +49 -0
  59. package/dist/studio/reveal.js.map +1 -0
  60. package/dist/studio/schema.d.ts +4152 -0
  61. package/dist/studio/schema.js +358 -0
  62. package/dist/studio/schema.js.map +1 -0
  63. package/dist/studio/tools.d.ts +2 -0
  64. package/dist/studio/tools.js +165 -0
  65. package/dist/studio/tools.js.map +1 -0
  66. package/dist/studio/voice.d.ts +150 -0
  67. package/dist/studio/voice.js +434 -0
  68. package/dist/studio/voice.js.map +1 -0
  69. package/dist/studio/workspace.d.ts +31 -0
  70. package/dist/studio/workspace.js +187 -0
  71. package/dist/studio/workspace.js.map +1 -0
  72. package/package.json +50 -4
  73. package/template/AGENTS.md +13 -0
  74. package/template/components/CATALOG.md +1306 -0
  75. package/template/components/README.md +61 -0
  76. package/template/components/STYLES.md +246 -0
  77. package/template/components/arcade-title/ArcadeTitle.tsx +860 -0
  78. package/template/components/arcade-title/meta.json +28 -0
  79. package/template/components/aurora/Aurora.tsx +63 -0
  80. package/template/components/aurora/meta.json +28 -0
  81. package/template/components/bar-wipe-title/BarWipeTitle.tsx +94 -0
  82. package/template/components/bar-wipe-title/meta.json +29 -0
  83. package/template/components/before-after/BeforeAfter.tsx +89 -0
  84. package/template/components/before-after/meta.json +233 -0
  85. package/template/components/bento-grid/BentoGrid.tsx +202 -0
  86. package/template/components/bento-grid/meta.json +25 -0
  87. package/template/components/blur-in-title/BlurInTitle.tsx +121 -0
  88. package/template/components/blur-in-title/meta.json +32 -0
  89. package/template/components/catalog.json +8730 -0
  90. package/template/components/catalog.ts +103 -0
  91. package/template/components/chat-thread/ChatThread.tsx +128 -0
  92. package/template/components/chat-thread/meta.json +24 -0
  93. package/template/components/checklist/Checklist.tsx +129 -0
  94. package/template/components/checklist/meta.json +25 -0
  95. package/template/components/confetti/Confetti.tsx +109 -0
  96. package/template/components/confetti/meta.json +28 -0
  97. package/template/components/countdown/Countdown.tsx +166 -0
  98. package/template/components/countdown/meta.json +28 -0
  99. package/template/components/cut-and-paste/CutAndPaste.tsx +654 -0
  100. package/template/components/cut-and-paste/meta.json +29 -0
  101. package/template/components/decode-text/DecodeText.tsx +97 -0
  102. package/template/components/decode-text/meta.json +29 -0
  103. package/template/components/editorial-quote/EditorialQuote.tsx +122 -0
  104. package/template/components/editorial-quote/meta.json +28 -0
  105. package/template/components/glitch-title/GlitchTitle.tsx +171 -0
  106. package/template/components/glitch-title/meta.json +32 -0
  107. package/template/components/halftone-wave/HalftoneWave.tsx +106 -0
  108. package/template/components/halftone-wave/meta.json +28 -0
  109. package/template/components/highlighter/Highlighter.tsx +142 -0
  110. package/template/components/highlighter/meta.json +28 -0
  111. package/template/components/hook-card/HookCard.tsx +552 -0
  112. package/template/components/hook-card/meta.json +304 -0
  113. package/template/components/index.ts +149 -0
  114. package/template/components/iris-wipe/IrisWipe.tsx +76 -0
  115. package/template/components/iris-wipe/meta.json +24 -0
  116. package/template/components/kinetic-poster/KineticPoster.tsx +437 -0
  117. package/template/components/kinetic-poster/meta.json +31 -0
  118. package/template/components/kinetic-punch/KineticPunch.tsx +80 -0
  119. package/template/components/kinetic-punch/meta.json +30 -0
  120. package/template/components/lava-lamp/LavaLamp.tsx +92 -0
  121. package/template/components/lava-lamp/meta.json +28 -0
  122. package/template/components/letter-cascade/LetterCascade.tsx +102 -0
  123. package/template/components/letter-cascade/meta.json +29 -0
  124. package/template/components/lib.ts +179 -0
  125. package/template/components/light-leak/LightLeakTransition.tsx +43 -0
  126. package/template/components/light-leak/meta.json +74 -0
  127. package/template/components/line-diagram/LineDiagram.tsx +205 -0
  128. package/template/components/line-diagram/meta.json +217 -0
  129. package/template/components/list-card/ListCard.tsx +104 -0
  130. package/template/components/list-card/meta.json +232 -0
  131. package/template/components/logo-sting/LogoSting.tsx +129 -0
  132. package/template/components/logo-sting/meta.json +29 -0
  133. package/template/components/looks.tsx +1447 -0
  134. package/template/components/lower-third/LowerThird.tsx +100 -0
  135. package/template/components/lower-third/meta.json +24 -0
  136. package/template/components/marquee/Marquee.tsx +100 -0
  137. package/template/components/marquee/meta.json +30 -0
  138. package/template/components/notification/Notification.tsx +115 -0
  139. package/template/components/notification/meta.json +27 -0
  140. package/template/components/outline-fill/OutlineFill.tsx +106 -0
  141. package/template/components/outline-fill/meta.json +28 -0
  142. package/template/components/panel-sweep/PanelSweep.tsx +86 -0
  143. package/template/components/panel-sweep/meta.json +25 -0
  144. package/template/components/prompt-box/PromptBox.tsx +131 -0
  145. package/template/components/prompt-box/meta.json +24 -0
  146. package/template/components/props.ts +73 -0
  147. package/template/components/quote-card/QuoteCard.tsx +71 -0
  148. package/template/components/quote-card/meta.json +216 -0
  149. package/template/components/shape-shift/ShapeShift.tsx +420 -0
  150. package/template/components/shape-shift/meta.json +31 -0
  151. package/template/components/slide-zoom-message/SlideZoomMessage.tsx +179 -0
  152. package/template/components/slide-zoom-message/meta.json +199 -0
  153. package/template/components/social-post/SocialPost.tsx +185 -0
  154. package/template/components/social-post/meta.json +30 -0
  155. package/template/components/split-flap/SplitFlap.tsx +191 -0
  156. package/template/components/split-flap/meta.json +29 -0
  157. package/template/components/spotlight-grid/SpotlightGrid.tsx +84 -0
  158. package/template/components/spotlight-grid/meta.json +25 -0
  159. package/template/components/stat-counter/StatCounter.tsx +117 -0
  160. package/template/components/stat-counter/meta.json +27 -0
  161. package/template/components/sticker-badge/StickerBadge.tsx +46 -0
  162. package/template/components/sticker-badge/meta.json +220 -0
  163. package/template/components/sticker-slam/StickerSlam.tsx +941 -0
  164. package/template/components/sticker-slam/meta.json +34 -0
  165. package/template/components/style-layer.tsx +233 -0
  166. package/template/components/styles.json +762 -0
  167. package/template/components/styles.ts +113 -0
  168. package/template/components/target-lock/TargetLock.tsx +662 -0
  169. package/template/components/target-lock/meta.json +32 -0
  170. package/template/components/text-reveal/TextReveal.tsx +99 -0
  171. package/template/components/text-reveal/meta.json +28 -0
  172. package/template/components/tile-wipe/TileWipe.tsx +75 -0
  173. package/template/components/tile-wipe/meta.json +24 -0
  174. package/template/components/type-zoom/TypeZoom.tsx +103 -0
  175. package/template/components/type-zoom/meta.json +27 -0
  176. package/template/components/types.ts +66 -0
  177. package/template/components/typewriter/Typewriter.tsx +112 -0
  178. package/template/components/typewriter/meta.json +29 -0
  179. package/template/components/word-pop/WordPop.tsx +59 -0
  180. package/template/components/word-pop/meta.json +237 -0
  181. package/template/components/word-stack/WordStack.tsx +122 -0
  182. package/template/components/word-stack/meta.json +27 -0
  183. package/template/components/word-swap/WordSwap.tsx +127 -0
  184. package/template/components/word-swap/meta.json +30 -0
  185. package/template/presets/charcoal-sketch/PROMPT.md +48 -0
  186. package/template/presets/charcoal-sketch/assets/paper/grain-0.png +0 -0
  187. package/template/presets/charcoal-sketch/assets/paper/grain-1.png +0 -0
  188. package/template/presets/charcoal-sketch/assets/paper/grain-2.png +0 -0
  189. package/template/presets/charcoal-sketch/assets/paper/sketch-paper.jpg +0 -0
  190. package/template/presets/charcoal-sketch/assets/paper/smudge.png +0 -0
  191. package/template/presets/charcoal-sketch/poster.jpg +0 -0
  192. package/template/presets/charcoal-sketch/preset.json +17 -0
  193. package/template/presets/charcoal-sketch/preview.mp4 +0 -0
  194. package/template/presets/charcoal-sketch/scenes/Grain.tsx +23 -0
  195. package/template/presets/charcoal-sketch/scenes/Paper.tsx +17 -0
  196. package/template/presets/charcoal-sketch/scenes/examples/Agents.tsx +100 -0
  197. package/template/presets/charcoal-sketch/scenes/examples/Approvals.tsx +110 -0
  198. package/template/presets/charcoal-sketch/scenes/examples/Blog.tsx +105 -0
  199. package/template/presets/charcoal-sketch/scenes/examples/EndCard.tsx +41 -0
  200. package/template/presets/charcoal-sketch/scenes/examples/Hook.tsx +130 -0
  201. package/template/presets/charcoal-sketch/scenes/examples/Ideas.tsx +92 -0
  202. package/template/presets/charcoal-sketch/scenes/examples/Posting.tsx +128 -0
  203. package/template/presets/charcoal-sketch/scenes/lib/painfix.tsx +119 -0
  204. package/template/presets/charcoal-sketch/scenes/lib/sketch.tsx +291 -0
  205. package/template/presets/charcoal-sketch/scripts/build_layers.example.py +193 -0
  206. package/template/presets/charcoal-sketch/scripts/duck_music.py +34 -0
  207. package/template/presets/charcoal-sketch/scripts/make_textures.py +93 -0
  208. package/template/presets/punk-cut-paper/PROMPT.md +37 -0
  209. package/template/presets/punk-cut-paper/assets/paper/desk-cream.jpg +0 -0
  210. package/template/presets/punk-cut-paper/assets/paper/grain-overlay.png +0 -0
  211. package/template/presets/punk-cut-paper/assets/paper/halftone-black.png +0 -0
  212. package/template/presets/punk-cut-paper/assets/paper/halftone-red.png +0 -0
  213. package/template/presets/punk-cut-paper/assets/paper/halftone-yellow.png +0 -0
  214. package/template/presets/punk-cut-paper/assets/paper/kraft.jpg +0 -0
  215. package/template/presets/punk-cut-paper/assets/paper/newsprint.jpg +0 -0
  216. package/template/presets/punk-cut-paper/assets/paper/paper-cream.jpg +0 -0
  217. package/template/presets/punk-cut-paper/assets/paper/paper-white.jpg +0 -0
  218. package/template/presets/punk-cut-paper/assets/paper/tape.png +0 -0
  219. package/template/presets/punk-cut-paper/build_layers.example.py +150 -0
  220. package/template/presets/punk-cut-paper/poster.jpg +0 -0
  221. package/template/presets/punk-cut-paper/preset.json +15 -0
  222. package/template/presets/punk-cut-paper/preview.mp4 +0 -0
  223. package/template/presets/punk-cut-paper/scenes/Backdrop.tsx +76 -0
  224. package/template/presets/punk-cut-paper/scenes/Motif.tsx +376 -0
  225. package/template/presets/punk-cut-paper/scenes/Photo.tsx +73 -0
  226. package/template/presets/punk-cut-paper/scenes/Ransom.tsx +119 -0
  227. package/template/presets/punk-cut-paper/scenes/Xerox.tsx +31 -0
  228. package/template/presets/punk-cut-paper/scenes/lib/punk.tsx +208 -0
  229. package/template/runtime/composition.tsx +918 -0
  230. package/template/runtime/helpers.tsx +228 -0
  231. package/template/runtime/index.tsx +22 -0
  232. package/template/runtime/types.ts +248 -0
  233. package/template/skill/SKILL.md +149 -0
  234. package/template/skill/references/browser-export.md +61 -0
  235. package/template/skill/references/components.md +38 -0
  236. package/template/skill/references/craft.md +53 -0
  237. package/template/skill/references/cursor.md +91 -0
  238. package/template/skill/references/footage.md +73 -0
  239. package/template/skill/references/format.md +140 -0
  240. package/template/skill/references/presets.md +56 -0
  241. package/template/skill/references/sound.md +128 -0
  242. package/template/starter/.studio/chat.json +1 -0
  243. package/template/starter/assets/.keep +0 -0
  244. package/template/starter/layers.json +46 -0
  245. package/template/starter/notes.md +4 -0
  246. package/template/starter/project.json +13 -0
  247. package/template/starter/renders/.keep +0 -0
  248. package/template/starter/scenes/Title.tsx +38 -0
@@ -0,0 +1,32 @@
1
+ {
2
+ "id": "target-lock",
3
+ "name": "Target Lock",
4
+ "category": "Overlays",
5
+ "description": "A sci-fi head-up display: neon wireframes grow in, corner brackets snap onto a target and lock, a radar sweeps, data streams scroll and readouts scramble before landing, then it powers down into a line.",
6
+ "useWhen": "Tech-feeling packaging over a screen recording or product shot: an AI scanning or analysing something, a feature being 'targeted', gadget and game edits, space or security explainers. Point targetX/targetY at the thing on screen; leave the background transparent to sit over the footage.",
7
+ "durationInFrames": 120,
8
+ "layer": "overlay",
9
+ "tags": ["hud", "cyberpunk", "sci-fi", "target lock", "radar", "tech", "interface", "neon", "scan", "data"],
10
+ "props": {
11
+ "title": { "type": "text", "label": "Title", "default": "TARGET ACQUIRED", "maxLength": 24 },
12
+ "label": { "type": "text", "label": "Lock label", "default": "OBJ-07", "maxLength": 20, "help": "Shown under the lock box." },
13
+ "stats": { "type": "lines", "label": "Readouts", "default": ["SIGNAL: 98.4%", "VELOCITY: 1240 KM/H", "ALTITUDE: 8,812 M", "THREAT: LOW"], "max": 6, "help": "One per line, \"LABEL: value\". Digits scramble before landing." },
14
+ "targetX": { "type": "number", "label": "Target X", "default": 56, "min": 0, "max": 100, "step": 1, "unit": "%" },
15
+ "targetY": { "type": "number", "label": "Target Y", "default": 46, "min": 0, "max": 100, "step": 1, "unit": "%" },
16
+ "lockSize": { "type": "number", "label": "Lock size", "default": 26, "min": 8, "max": 60, "step": 1, "unit": "% of frame" },
17
+ "color": { "type": "color", "label": "Primary", "default": "#45e0ff" },
18
+ "secondary": { "type": "color", "label": "Secondary", "default": "#ff8a1f" },
19
+ "background": { "type": "color", "label": "Background", "default": "transparent", "help": "\"transparent\" to sit over other layers." },
20
+ "radar": { "type": "boolean", "label": "Radar", "default": true },
21
+ "hexGrid": { "type": "boolean", "label": "Hex grid", "default": true },
22
+ "dataStream": { "type": "boolean", "label": "Data stream", "default": true },
23
+ "scanlines": { "type": "boolean", "label": "Scanlines", "default": true },
24
+ "seed": { "type": "number", "label": "Pattern", "default": 1, "min": 1, "max": 99, "step": 1 }
25
+ },
26
+ "examples": [
27
+ { "name": "Target lock", "props": { "background": "#05080d" } },
28
+ { "name": "AI product scan", "props": { "title": "ANALYSING UI", "label": "CHECKOUT FLOW", "stats": ["ELEMENTS: 142", "CONTRAST: AA PASS", "LOAD: 0.84 S", "CONFIDENCE: 97%"], "targetX": 50, "targetY": 52, "lockSize": 40, "color": "#7cf9d0", "secondary": "#c084fc", "radar": false, "background": "#070a12", "seed": 7 } },
29
+ { "name": "Warning", "props": { "title": "WARNING // BREACH", "label": "SECTOR 9", "stats": ["CORE TEMP: 1,204 C", "HULL: 37%", "OXYGEN: 12 MIN"], "color": "#ff8a1f", "secondary": "#ff2d55", "targetX": 40, "targetY": 50, "background": "#0d0503", "seed": 13 } }
30
+ ],
31
+ "stillAt": 0.6
32
+ }
@@ -0,0 +1,99 @@
1
+ import { AbsoluteFill, useCurrentFrame } from "remotion";
2
+ import { FONTS, exitOut, mix, pop, splitHighlights, unit } from "../lib";
3
+ import type { MotionBaseProps } from "../types";
4
+
5
+ type Props = MotionBaseProps & {
6
+ kicker: string;
7
+ lines: string[];
8
+ color: string;
9
+ accent: string;
10
+ background: string;
11
+ size: number;
12
+ weight: string;
13
+ font: string;
14
+ align: string;
15
+ stagger: number;
16
+ blur: boolean;
17
+ };
18
+
19
+ /** Headline words rise into place one by one; *starred* words take the accent color. */
20
+ export function TextReveal(props: Props) {
21
+ const frame = useCurrentFrame();
22
+ const { width, height, fps, durationInFrames } = props;
23
+ const u = unit(width, height);
24
+ const vertical = height > width;
25
+ const fontSize = (props.size / 100) * Math.min(width, height) * (vertical ? 1.05 : 1);
26
+ const out = exitOut(frame, durationInFrames);
27
+ const kickerIn = pop(frame, fps, 0);
28
+ let index = 0;
29
+ const startAt = props.kicker ? 6 : 0;
30
+ const justify = props.align === "left" ? "flex-start" : props.align === "right" ? "flex-end" : "center";
31
+
32
+ return (
33
+ <AbsoluteFill
34
+ style={{
35
+ background: props.background === "transparent" ? undefined : props.background,
36
+ alignItems: justify,
37
+ justifyContent: "center",
38
+ padding: `0 ${Math.round((vertical ? 70 : 120) * u)}px`,
39
+ opacity: out,
40
+ }}
41
+ >
42
+ <div style={{ display: "flex", flexDirection: "column", alignItems: justify, gap: fontSize * 0.08 }}>
43
+ {props.kicker ? (
44
+ <div
45
+ style={{
46
+ fontFamily: FONTS.mono,
47
+ fontSize: Math.max(14, fontSize * 0.22),
48
+ letterSpacing: "0.18em",
49
+ textTransform: "uppercase",
50
+ color: props.accent,
51
+ marginBottom: fontSize * 0.18,
52
+ opacity: kickerIn,
53
+ transform: `translateY(${mix(fontSize * 0.25, 0, kickerIn)}px)`,
54
+ }}
55
+ >
56
+ {props.kicker}
57
+ </div>
58
+ ) : null}
59
+ {props.lines.map((line, lineIndex) => (
60
+ <div
61
+ key={lineIndex}
62
+ style={{
63
+ display: "flex",
64
+ flexWrap: "wrap",
65
+ justifyContent: justify,
66
+ columnGap: fontSize * 0.26,
67
+ fontFamily: FONTS[props.font] ?? FONTS.sans,
68
+ fontWeight: Number(props.weight) || 800,
69
+ fontSize,
70
+ lineHeight: 1.04,
71
+ letterSpacing: "-0.035em",
72
+ textAlign: props.align as "left" | "center" | "right",
73
+ }}
74
+ >
75
+ {splitHighlights(line).map((word, wordIndex) => {
76
+ const t = pop(frame, fps, startAt + index++ * props.stagger);
77
+ return (
78
+ // Each word clips its own rise, so it slides up out of a line, not over the one above.
79
+ <span key={wordIndex} style={{ display: "inline-block", overflow: "hidden", paddingBottom: fontSize * 0.08 }}>
80
+ <span
81
+ style={{
82
+ display: "inline-block",
83
+ color: word.highlighted ? props.accent : props.color,
84
+ transform: `translateY(${mix(fontSize * 0.9, 0, t)}px)`,
85
+ opacity: Math.min(1, t * 1.4),
86
+ filter: props.blur && t < 0.98 ? `blur(${mix(fontSize * 0.12, 0, t).toFixed(2)}px)` : undefined,
87
+ }}
88
+ >
89
+ {word.text}
90
+ </span>
91
+ </span>
92
+ );
93
+ })}
94
+ </div>
95
+ ))}
96
+ </div>
97
+ </AbsoluteFill>
98
+ );
99
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "id": "text-reveal",
3
+ "name": "Text Reveal",
4
+ "category": "Text & Titles",
5
+ "description": "A headline whose words rise into place one by one, with an optional kicker line and accent words.",
6
+ "useWhen": "Opening titles, section headers, a feature name before its demo, a promise or tagline. Mark words with *stars* to color them with the accent.",
7
+ "durationInFrames": 90,
8
+ "layer": "overlay",
9
+ "tags": ["title", "headline", "kinetic type", "intro", "tagline"],
10
+ "props": {
11
+ "kicker": { "type": "text", "label": "Kicker", "default": "New in Agentcut", "help": "Small line above the headline (leave empty for none)." },
12
+ "lines": { "type": "lines", "label": "Headline", "default": ["Make videos", "with *Claude*"], "max": 4, "help": "One line per row. *Starred* words use the accent color." },
13
+ "color": { "type": "color", "style": "text", "label": "Text", "default": "#ffffff" },
14
+ "accent": { "type": "color", "style": "accent", "label": "Accent", "default": "#34d399" },
15
+ "background": { "type": "color", "label": "Background", "default": "transparent", "help": "\"transparent\" to sit over other layers." },
16
+ "size": { "type": "number", "label": "Size", "default": 11, "min": 4, "max": 22, "step": 0.5, "unit": "% of frame" },
17
+ "weight": { "type": "select", "style": "weight", "label": "Weight", "default": "800", "options": [{ "value": "500", "label": "Medium" }, { "value": "700", "label": "Bold" }, { "value": "800", "label": "Extra bold" }, { "value": "900", "label": "Black" }] },
18
+ "font": { "type": "select", "style": "font", "label": "Font", "default": "sans", "options": [{ "value": "sans", "label": "Inter" }, { "value": "display", "label": "Bricolage" }, { "value": "serif", "label": "Instrument Serif" }, { "value": "fraunces", "label": "Fraunces" }, { "value": "grotesk", "label": "Space Grotesk" }, { "value": "syne", "label": "Syne" }, { "value": "wide", "label": "Unbounded" }, { "value": "condensed", "label": "Anton" }, { "value": "mono", "label": "Mono" }, { "value": "archivo", "label": "Archivo Black" }, { "value": "caveat", "label": "Caveat" }, { "value": "pixel", "label": "VT323" }, { "value": "tech", "label": "Orbitron" }, { "value": "heavy", "label": "Montserrat" }, { "value": "retro", "label": "Bungee" }] },
19
+ "align": { "type": "select", "label": "Align", "default": "center", "options": [{ "value": "left", "label": "Left" }, { "value": "center", "label": "Center" }, { "value": "right", "label": "Right" }] },
20
+ "stagger": { "type": "number", "label": "Word delay", "default": 4, "min": 1, "max": 12, "step": 1, "unit": "frames" },
21
+ "blur": { "type": "boolean", "label": "Motion blur", "default": true }
22
+ },
23
+ "examples": [
24
+ { "name": "Launch title", "props": { "kicker": "New in Agentcut", "lines": ["Make videos", "with *Claude*"] } },
25
+ { "name": "Editorial", "props": { "kicker": "", "lines": ["Sharper recordings.", "*Clearer* zooms."], "font": "serif", "weight": "500", "accent": "#f59e0b" } },
26
+ { "name": "Left, on brand color", "props": { "kicker": "Chapter 02", "lines": ["Simpler", "editor *controls*"], "align": "left", "background": "#111827", "accent": "#60a5fa" } }
27
+ ]
28
+ }
@@ -0,0 +1,75 @@
1
+ import { AbsoluteFill, Easing, interpolate, useCurrentFrame } from "remotion";
2
+ import type { MotionBaseProps } from "../types";
3
+
4
+ type Props = MotionBaseProps & {
5
+ color: string;
6
+ accent: string;
7
+ columns: number;
8
+ origin: string;
9
+ shape: string;
10
+ checker: boolean;
11
+ };
12
+
13
+ const ease = Easing.bezier(0.65, 0, 0.35, 1);
14
+
15
+ /**
16
+ * A grid of tiles grows in a wave from a corner (or the center) until the frame is covered at the
17
+ * midpoint, then the tiles shrink away in the same order to reveal the next shot.
18
+ * Center the clip on the cut.
19
+ */
20
+ export function TileWipe(props: Props) {
21
+ const frame = useCurrentFrame();
22
+ const { width, height, durationInFrames: d } = props;
23
+ const cols = Math.round(props.columns);
24
+ const tile = width / cols;
25
+ const rows = Math.ceil(height / tile);
26
+ const mid = d / 2;
27
+ // Each tile takes 40% of a half to grow; the wave spreads the starts over the rest.
28
+ const grow = mid * 0.4;
29
+ const spread = mid - grow;
30
+
31
+ const distance = (c: number, r: number) => {
32
+ const x = (c + 0.5) / cols;
33
+ const y = (r + 0.5) / rows;
34
+ switch (props.origin) {
35
+ case "center":
36
+ return Math.hypot(x - 0.5, (y - 0.5) * (rows / cols)) / Math.hypot(0.5, 0.5 * (rows / cols));
37
+ case "left":
38
+ return x;
39
+ case "bottom":
40
+ return 1 - y;
41
+ default: // top-left corner, diagonal
42
+ return (x + y) / 2;
43
+ }
44
+ };
45
+
46
+ const tiles = [];
47
+ for (let r = 0; r < rows; r++) {
48
+ for (let c = 0; c < cols; c++) {
49
+ const at = distance(c, r) * spread;
50
+ const inT = interpolate(frame, [at, at + grow], [0, 1], { extrapolateLeft: "clamp", extrapolateRight: "clamp", easing: ease });
51
+ const outT = interpolate(frame, [mid + at, mid + at + grow], [0, 1], { extrapolateLeft: "clamp", extrapolateRight: "clamp", easing: ease });
52
+ const scale = inT - outT;
53
+ if (scale <= 0.001) continue;
54
+ const round = props.shape === "circle" ? 50 * (1 - inT * (1 - outT)) : props.shape === "rounded" ? 18 : 0;
55
+ tiles.push(
56
+ <div
57
+ key={`${r}-${c}`}
58
+ style={{
59
+ position: "absolute",
60
+ left: c * tile,
61
+ top: r * tile,
62
+ // A hair of overlap so no seams show between full tiles.
63
+ width: tile + 1,
64
+ height: tile + 1,
65
+ background: props.checker && (r + c) % 2 === 1 ? props.accent : props.color,
66
+ borderRadius: `${round}%`,
67
+ transform: `scale(${props.shape === "rounded" ? scale * 1.12 : scale}) rotate(${(1 - scale) * 45}deg)`,
68
+ }}
69
+ />,
70
+ );
71
+ }
72
+ }
73
+
74
+ return <AbsoluteFill style={{ overflow: "hidden" }}>{tiles}</AbsoluteFill>;
75
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "id": "tile-wipe",
3
+ "name": "Tile Wave",
4
+ "category": "Transitions",
5
+ "description": "A grid of tiles grows in a wave from a corner or the center, covering the frame at the midpoint, then shrinks away in the same order.",
6
+ "useWhen": "Clean, geometric cuts between scenes: tech and product videos, a switch between two app screens, into an end card. Put it on a track above both clips and center it on the cut (from = cut frame − half its length).",
7
+ "durationInFrames": 36,
8
+ "layer": "overlay",
9
+ "tags": ["transition", "tiles", "grid", "mosaic", "pixel", "wave", "geometric"],
10
+ "props": {
11
+ "color": { "type": "color", "label": "Color", "default": "#6366f1" },
12
+ "accent": { "type": "color", "label": "Checker color", "default": "#a5b4fc" },
13
+ "columns": { "type": "number", "label": "Columns", "default": 12, "min": 4, "max": 32, "step": 1 },
14
+ "origin": { "type": "select", "label": "From", "default": "corner", "options": [{ "value": "corner", "label": "Top-left corner" }, { "value": "center", "label": "Center" }, { "value": "left", "label": "Left" }, { "value": "bottom", "label": "Bottom" }] },
15
+ "shape": { "type": "select", "label": "Tiles", "default": "square", "options": [{ "value": "square", "label": "Squares" }, { "value": "rounded", "label": "Rounded" }, { "value": "circle", "label": "Circles to squares" }] },
16
+ "checker": { "type": "boolean", "label": "Checkerboard", "default": false }
17
+ },
18
+ "examples": [
19
+ { "name": "Diagonal", "props": {} },
20
+ { "name": "Center dots", "props": { "origin": "center", "shape": "circle", "color": "#7c3aed", "columns": 16 } },
21
+ { "name": "Checker", "props": { "checker": true, "color": "#fafafa", "accent": "#f43f5e", "origin": "left", "columns": 9 } }
22
+ ],
23
+ "stillAt": 0.3
24
+ }
@@ -0,0 +1,103 @@
1
+ import { useId } from "react";
2
+ import { AbsoluteFill, Easing, useCurrentFrame } from "remotion";
3
+ import { FONTS, easeInOut, easeOutExpo, mix, ramp } from "../lib";
4
+ import type { MotionBaseProps } from "../types";
5
+
6
+ type Props = MotionBaseProps & {
7
+ text: string;
8
+ color: string;
9
+ background: string;
10
+ backdrop: boolean;
11
+ font: string;
12
+ originX: number;
13
+ originY: number;
14
+ zoom: number;
15
+ reveal: string;
16
+ };
17
+
18
+ const easeIn = Easing.bezier(0.7, 0, 0.84, 0);
19
+
20
+ /**
21
+ * A type-led cut: one big word fills the frame, then the camera dives into it, faster and faster,
22
+ * until the letters' color swallows the screen at the clip's midpoint. Then the color clears
23
+ * (fade, wipe or an iris from the zoom point) to reveal whatever is under the clip.
24
+ */
25
+ export function TypeZoom(props: Props) {
26
+ const frame = useCurrentFrame();
27
+ const { width, height, durationInFrames: d } = props;
28
+ const id = `tz${useId().replace(/[^a-zA-Z0-9]/g, "")}`;
29
+ const mid = d / 2;
30
+ const text = props.text || " ";
31
+ // Fit the word to the frame (condensed faces are narrower per letter).
32
+ const perChar = props.font === "condensed" ? 0.5 : props.font === "wide" ? 0.82 : 0.64;
33
+ const fontSize = Math.min(height * 0.62, (width * 0.9) / Math.max(1, text.length * perChar));
34
+
35
+ const textIn = ramp(frame, 0, d * 0.2, easeOutExpo);
36
+ const zoomT = ramp(frame, d * 0.2, mid - d * 0.2, easeIn);
37
+ const scale = Math.pow(props.zoom, zoomT) * mix(0.86, 1, textIn);
38
+ // The solid comes up over the last part of the dive, so the screen is fully covered at the cut.
39
+ const cover = ramp(frame, mid - d * 0.12, d * 0.12, easeIn);
40
+ const revealT = ramp(frame, mid, d - mid, easeInOut);
41
+ const before = frame < mid;
42
+
43
+ const cx = (props.originX / 100) * width;
44
+ const cy = (props.originY / 100) * height;
45
+ const reach = Math.max(
46
+ Math.hypot(cx, cy),
47
+ Math.hypot(width - cx, cy),
48
+ Math.hypot(cx, height - cy),
49
+ Math.hypot(width - cx, height - cy),
50
+ );
51
+
52
+ return (
53
+ <AbsoluteFill style={{ overflow: "hidden" }}>
54
+ {before ? (
55
+ <>
56
+ {props.backdrop ? <AbsoluteFill style={{ background: props.background }} /> : null}
57
+ <AbsoluteFill
58
+ style={{
59
+ alignItems: "center",
60
+ justifyContent: "center",
61
+ transformOrigin: `${props.originX}% ${props.originY}%`,
62
+ transform: `scale(${scale})`,
63
+ opacity: textIn,
64
+ }}
65
+ >
66
+ <div
67
+ style={{
68
+ fontFamily: FONTS[props.font] ?? FONTS.condensed,
69
+ fontWeight: props.font === "condensed" ? 400 : 800,
70
+ fontSize,
71
+ lineHeight: 1,
72
+ letterSpacing: props.font === "condensed" ? "0.01em" : "-0.04em",
73
+ color: props.color,
74
+ whiteSpace: "nowrap",
75
+ textTransform: "uppercase",
76
+ }}
77
+ >
78
+ {text}
79
+ </div>
80
+ </AbsoluteFill>
81
+ </>
82
+ ) : null}
83
+ {cover > 0 ? (
84
+ <svg width={width} height={height} style={{ position: "absolute", inset: 0 }}>
85
+ <defs>
86
+ <mask id={`${id}-hole`}>
87
+ <rect width={width} height={height} fill="white" />
88
+ <circle cx={cx} cy={cy} r={reach * 1.02 * revealT} fill="black" />
89
+ </mask>
90
+ </defs>
91
+ <rect
92
+ width={width}
93
+ height={height}
94
+ fill={props.color}
95
+ opacity={props.reveal === "fade" ? cover * (1 - revealT) : cover}
96
+ y={props.reveal === "wipe" ? -height * revealT : 0}
97
+ mask={props.reveal === "iris" && !before ? `url(#${id}-hole)` : undefined}
98
+ />
99
+ </svg>
100
+ ) : null}
101
+ </AbsoluteFill>
102
+ );
103
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "id": "type-zoom",
3
+ "name": "Type Zoom",
4
+ "category": "Transitions",
5
+ "description": "One big word fills the frame, then the camera dives into it until the letters' color swallows the screen, and the color clears to reveal the next shot.",
6
+ "useWhen": "A bold, type-led cut between scenes or into a section: \"NEXT\", \"WAIT\", a product or chapter name, a hype word in a launch video. Put it on a track above both clips and center it on the cut (from = cut frame − half its length): the screen is fully covered at its midpoint. Short words (1–6 letters) zoom best.",
7
+ "durationInFrames": 40,
8
+ "layer": "overlay",
9
+ "tags": ["transition", "zoom", "type", "kinetic", "word", "dive", "cut", "bold", "reveal"],
10
+ "props": {
11
+ "text": { "type": "text", "label": "Word", "default": "NEXT", "maxLength": 14 },
12
+ "color": { "type": "color", "label": "Text color", "default": "#facc15", "help": "Also the color that fills the screen at the cut." },
13
+ "background": { "type": "color", "label": "Background", "default": "#0a0a0a" },
14
+ "backdrop": { "type": "boolean", "label": "Start on background", "default": true, "help": "Off: the word dives in over the outgoing shot." },
15
+ "font": { "type": "select", "label": "Font", "default": "condensed", "options": [{ "value": "condensed", "label": "Anton" }, { "value": "wide", "label": "Unbounded" }, { "value": "display", "label": "Bricolage" }, { "value": "sans", "label": "Inter" }, { "value": "syne", "label": "Syne" }, { "value": "grotesk", "label": "Space Grotesk" }] },
16
+ "originX": { "type": "number", "label": "Zoom point X", "default": 50, "min": 0, "max": 100, "step": 1, "unit": "%", "help": "Aim it at a letter's stroke to dive into the letter." },
17
+ "originY": { "type": "number", "label": "Zoom point Y", "default": 50, "min": 0, "max": 100, "step": 1, "unit": "%" },
18
+ "zoom": { "type": "number", "label": "Zoom depth", "default": 80, "min": 8, "max": 160, "step": 1, "unit": "×" },
19
+ "reveal": { "type": "select", "label": "Reveal", "default": "iris", "options": [{ "value": "iris", "label": "Iris from zoom point" }, { "value": "wipe", "label": "Wipe up" }, { "value": "fade", "label": "Fade" }] }
20
+ },
21
+ "examples": [
22
+ { "name": "Yellow dive", "props": {} },
23
+ { "name": "Over the shot", "props": { "text": "WAIT", "backdrop": false, "color": "#ffffff", "reveal": "fade", "originX": 44 } },
24
+ { "name": "Wide wipe", "props": { "text": "LAUNCH", "font": "wide", "color": "#a78bfa", "background": "#0c0a1d", "reveal": "wipe", "zoom": 60 } }
25
+ ],
26
+ "stillAt": 0.15
27
+ }
@@ -0,0 +1,66 @@
1
+ // The Agentcut motion component library: ready-made Remotion animations that people and Claude
2
+ // drop on the timeline and tune through props. One folder per component (see README.md).
3
+ import type { ComponentType } from "react";
4
+ import type { StyleToken } from "./styles";
5
+
6
+ /** One editable prop. The same description drives the inspector form, the gallery and Claude's catalog. */
7
+ export type PropSpec = (
8
+ | { type: "text"; label: string; default: string; multiline?: boolean; maxLength?: number; help?: string }
9
+ | { type: "lines"; label: string; default: string[]; max?: number; help?: string }
10
+ | { type: "color"; label: string; default: string; help?: string }
11
+ | { type: "number"; label: string; default: number; min: number; max: number; step: number; unit?: string; help?: string }
12
+ | { type: "select"; label: string; default: string; options: { value: string; label: string }[]; help?: string }
13
+ | { type: "boolean"; label: string; default: boolean; help?: string }
14
+ ) & {
15
+ /** Follows this token of the project's style when the clip doesn't set it (see styles.ts). */
16
+ style?: StyleToken;
17
+ };
18
+
19
+ export type PropValues = Record<string, string | string[] | number | boolean>;
20
+
21
+ export interface ComponentMeta {
22
+ /** kebab-case, matches the folder name: the `component` value in layers.json. */
23
+ id: string;
24
+ name: string;
25
+ category: ComponentCategory;
26
+ /** One sentence: what it is. */
27
+ description: string;
28
+ /** When to reach for it (Claude reads this). */
29
+ useWhen: string;
30
+ /** Good length at 30 fps; it adapts to any clip length. */
31
+ durationInFrames: number;
32
+ /** "overlay": sits over other layers (transparent background). "full": fills the frame. */
33
+ layer: "overlay" | "full";
34
+ tags: string[];
35
+ props: Record<string, PropSpec>;
36
+ /** Named prop sets: gallery variations and examples Claude can copy. */
37
+ examples: { name: string; props: PropValues }[];
38
+ /** Where the still preview sits, as a fraction of the duration (default 0.55): pick a sharp, fully-in moment. */
39
+ stillAt?: number;
40
+ }
41
+
42
+ export type ComponentCategory =
43
+ | "Talking Head"
44
+ | "Text & Titles"
45
+ | "Overlays"
46
+ | "Charts & Stats"
47
+ | "AI & Product"
48
+ | "Backgrounds"
49
+ | "Transitions";
50
+
51
+ /** What every component receives besides its own props. */
52
+ export interface MotionBaseProps {
53
+ width: number;
54
+ height: number;
55
+ fps: number;
56
+ /** Length of the clip on the timeline (local frames 0…durationInFrames-1). */
57
+ durationInFrames: number;
58
+ /** "wide", "mobile", … */
59
+ variant: string;
60
+ }
61
+
62
+ export interface MotionComponent {
63
+ meta: ComponentMeta;
64
+ // Props are resolved (defaults filled in) before the component renders.
65
+ Component: ComponentType<MotionBaseProps & PropValues>;
66
+ }
@@ -0,0 +1,112 @@
1
+ import { AbsoluteFill, useCurrentFrame } from "remotion";
2
+ import { FONTS, exitOut, fill, splitHighlights, unit } from "../lib";
3
+ import type { MotionBaseProps } from "../types";
4
+
5
+ type Props = MotionBaseProps & {
6
+ prefix: string;
7
+ lines: string[];
8
+ speed: number;
9
+ color: string;
10
+ accent: string;
11
+ background: string;
12
+ size: number;
13
+ weight: string;
14
+ font: string;
15
+ align: string;
16
+ caret: string;
17
+ };
18
+
19
+ /** Text typed out character by character behind a blinking caret, with an optional prompt prefix. */
20
+ export function Typewriter(props: Props) {
21
+ const frame = useCurrentFrame();
22
+ const { width, height, fps, durationInFrames: d } = props;
23
+ const u = unit(width, height);
24
+ const vertical = height > width;
25
+ const fontSize = (props.size / 100) * Math.min(width, height) * (vertical ? 0.95 : 1);
26
+ const out = exitOut(frame, d, 10);
27
+ const startAt = 8;
28
+ const typed = Math.max(0, Math.floor(((frame - startAt) * props.speed) / fps));
29
+ // Where each line starts in the typed sequence (words joined by single spaces).
30
+ const lines: { words: ReturnType<typeof splitHighlights>; start: number; chars: number }[] = [];
31
+ for (const line of props.lines) {
32
+ const words = splitHighlights(line);
33
+ const start = lines.length ? lines[lines.length - 1].start + lines[lines.length - 1].chars : 0;
34
+ lines.push({ words, start, chars: words.reduce((n, w) => n + w.text.length, 0) + Math.max(0, words.length - 1) });
35
+ }
36
+ const total = lines.length ? lines[lines.length - 1].start + lines[lines.length - 1].chars : 0;
37
+ // The caret sits on the line being typed (or the last one once everything is typed).
38
+ const typingLine = lines.findIndex((line) => typed < line.start + line.chars);
39
+ const caretLine = typingLine === -1 ? lines.length - 1 : typingLine;
40
+ const typing = typed > 0 && typed < total;
41
+ // Solid while typing, blinking (every half second) while it waits.
42
+ const caretOn = typing || Math.floor(frame / (fps / 2)) % 2 === 0;
43
+ const justify = props.align === "center" ? "center" : "flex-start";
44
+ const caret = (key: string) => {
45
+ if (props.caret === "none") return null;
46
+ const block = props.caret === "block";
47
+ return (
48
+ <span
49
+ key={key}
50
+ style={{
51
+ display: "inline-block",
52
+ width: block ? fontSize * 0.55 : Math.max(2, fontSize * 0.07),
53
+ height: fontSize * (block ? 0.95 : 1.05),
54
+ marginLeft: fontSize * 0.04,
55
+ transform: `translateY(${fontSize * 0.14}px)`,
56
+ background: props.accent,
57
+ opacity: caretOn ? (block ? 0.85 : 1) : 0,
58
+ }}
59
+ />
60
+ );
61
+ };
62
+
63
+ return (
64
+ <AbsoluteFill
65
+ style={{
66
+ background: fill(props.background),
67
+ alignItems: justify,
68
+ justifyContent: "center",
69
+ padding: `0 ${Math.round((vertical ? 70 : 140) * u)}px`,
70
+ opacity: out,
71
+ }}
72
+ >
73
+ <div
74
+ style={{
75
+ display: "flex",
76
+ flexDirection: "column",
77
+ alignItems: justify,
78
+ fontFamily: FONTS[props.font] ?? FONTS.mono,
79
+ fontWeight: Number(props.weight) || 500,
80
+ fontSize,
81
+ lineHeight: 1.25,
82
+ letterSpacing: "-0.01em",
83
+ color: props.color,
84
+ }}
85
+ >
86
+ {lines.map(({ words, start: lineStart }, lineIndex) => {
87
+ if (typed < lineStart && lineIndex > 0) return <div key={lineIndex} style={{ height: fontSize * 1.25 }} />;
88
+ let left = Math.max(0, typed - lineStart);
89
+ const pieces = words.map((word, wordIndex) => {
90
+ const text = (wordIndex > 0 ? " " : "") + word.text;
91
+ const visible = text.slice(0, left);
92
+ left -= visible.length;
93
+ return (
94
+ <span key={wordIndex} style={{ color: word.highlighted ? props.accent : undefined, whiteSpace: "pre" }}>
95
+ {visible}
96
+ </span>
97
+ );
98
+ });
99
+ return (
100
+ <div key={lineIndex} style={{ display: "flex", alignItems: "baseline", minHeight: fontSize * 1.25 }}>
101
+ {lineIndex === 0 && props.prefix ? (
102
+ <span style={{ color: props.accent, marginRight: fontSize * 0.35, whiteSpace: "pre" }}>{props.prefix}</span>
103
+ ) : null}
104
+ {pieces}
105
+ {lineIndex === caretLine ? caret(`caret-${lineIndex}`) : null}
106
+ </div>
107
+ );
108
+ })}
109
+ </div>
110
+ </AbsoluteFill>
111
+ );
112
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "id": "typewriter",
3
+ "name": "Typewriter",
4
+ "category": "Text & Titles",
5
+ "description": "Text typed out letter by letter behind a blinking caret, with an optional prompt sign in front.",
6
+ "useWhen": "Developer and AI videos: a terminal command, a prompt being written, a question to the viewer, a slow dramatic line. Set the speed so the text finishes about a second before the clip ends. *Starred* words use the accent.",
7
+ "durationInFrames": 120,
8
+ "layer": "overlay",
9
+ "tags": ["typewriter", "typing", "terminal", "caret", "code", "prompt", "text"],
10
+ "props": {
11
+ "prefix": { "type": "text", "label": "Prefix", "default": ">", "help": "Shown before the first line in the accent color (\"$\", \">\", or empty)." },
12
+ "lines": { "type": "lines", "label": "Text", "default": ["make a launch video", "for my *app*"], "max": 5, "help": "One line per row. *Starred* words use the accent." },
13
+ "speed": { "type": "number", "label": "Speed", "default": 18, "min": 4, "max": 60, "step": 1, "unit": "chars/s" },
14
+ "color": { "type": "color", "style": "text", "label": "Text", "default": "#e5e7eb" },
15
+ "accent": { "type": "color", "style": "accent", "label": "Accent", "default": "#34d399" },
16
+ "background": { "type": "color", "label": "Background", "default": "transparent", "help": "\"transparent\" to sit over other layers." },
17
+ "size": { "type": "number", "label": "Size", "default": 7, "min": 3, "max": 16, "step": 0.5, "unit": "% of frame" },
18
+ "weight": { "type": "select", "label": "Weight", "default": "500", "options": [{ "value": "400", "label": "Regular" }, { "value": "500", "label": "Medium" }, { "value": "700", "label": "Bold" }] },
19
+ "font": { "type": "select", "label": "Font", "default": "mono", "options": [{ "value": "mono", "label": "Mono" }, { "value": "sans", "label": "Inter" }, { "value": "display", "label": "Bricolage" }, { "value": "serif", "label": "Instrument Serif" }, { "value": "fraunces", "label": "Fraunces" }, { "value": "grotesk", "label": "Space Grotesk" }] },
20
+ "align": { "type": "select", "label": "Align", "default": "left", "options": [{ "value": "left", "label": "Left" }, { "value": "center", "label": "Center" }] },
21
+ "caret": { "type": "select", "label": "Caret", "default": "bar", "options": [{ "value": "bar", "label": "Bar" }, { "value": "block", "label": "Block" }, { "value": "none", "label": "None" }] }
22
+ },
23
+ "examples": [
24
+ { "name": "Prompt", "props": {} },
25
+ { "name": "Terminal", "props": { "prefix": "$", "lines": ["npx *agentcut*"], "caret": "block", "background": "#0b0d10", "accent": "#a3e635" } },
26
+ { "name": "Serif question", "props": { "prefix": "", "lines": ["What if editing", "felt like *writing*?"], "font": "serif", "weight": "400", "size": 9, "align": "center", "speed": 14, "accent": "#fbbf24" } }
27
+ ],
28
+ "stillAt": 0.8
29
+ }