Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
{
"type": "remotion-element",
"version": 1,
"element": {
"assets": [],
"dependencies": [
{
"name": "@remotion/google-fonts",
"version": null
}
],
"dimensions": null,
"displayName": "Number Mosaic",
"initialProps": null,
"slug": "number-mosaic",
"sourceCode": "import { loadFont as loadMono } from \"@remotion/google-fonts/GeistMono\";\nimport { loadFont as loadManrope } from \"@remotion/google-fonts/Manrope\";\nimport { loadFont } from \"@remotion/google-fonts/SpaceGrotesk\";\nimport React, { useId, useMemo } from \"react\";\nimport { AbsoluteFill, Easing, interpolate, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nconst { fontFamily: sans } = loadFont(\"normal\", {\n weights: [\"400\", \"500\"],\n subsets: [\"latin\"],\n});\nconst { fontFamily: mono } = loadMono(\"normal\", {\n weights: [\"400\", \"500\"],\n subsets: [\"latin\"],\n});\nconst manrope = loadManrope(\"normal\", {\n weights: [\"600\"],\n subsets: [\"latin\"],\n});\n\nconst REMOCN_R_PATH =\n \"M 0.01 0.81 C 0.01 1.73, 0.36 2.79, 1.09 4.13 C 4.91 11.04, 13.45 17.16, 21.7 18.9 C 22.94 19.16, 23.18 19.16, 51.39 19.27 C 76.07 19.36, 80.02 19.4, 81.32 19.57 C 89.89 20.69, 96.2 24.68, 99.38 31.01 C 103.19 38.56, 102.53 50.1, 97.91 57.07 C 94.66 61.96, 89.68 64.99, 83.26 66 C 82.81 66.07, 70.18 66.83, 55.2 67.69 C 24.82 69.43, 27.03 69.23, 24.18 70.4 C 19.9 72.15, 14.84 75.7, 10.65 79.89 C 4.86 85.68, 1.3 91.91, 0.25 98.13 C 0.12 98.85, 0.08 103.13, 0.04 116.66 L 0 134.26 9.5 134.26 L 19 134.26 19.05 119.41 C 19.1 103.27, 19.08 103.82, 19.82 101.04 C 21.79 93.65, 27.86 88.75, 36.45 87.63 C 37.23 87.53, 39.41 87.5, 43.57 87.53 C 50.12 87.59, 50.75 87.65, 53.22 88.45 C 56.61 89.56, 59.67 91.86, 62.02 95.07 C 62.52 95.76, 69.35 103.85, 77.2 113.07 C 85.04 122.28, 91.63 130.04, 91.85 130.32 C 92.07 130.59, 92.5 131.34, 92.82 131.97 C 93.52 133.35, 94.11 133.93, 95.06 134.13 C 95.5 134.23, 98.97 134.26, 106.36 134.23 L 117.01 134.19 100.82 113.07 C 91.91 101.45, 84.52 91.78, 84.39 91.57 C 83.36 89.89, 83.66 87.53, 85.09 86 C 85.79 85.25, 86.36 84.94, 88.07 84.38 C 96.18 81.72, 104.15 76.62, 109.97 70.36 C 120.59 58.93, 124.06 44.32, 119.44 30.43 C 114.59 15.81, 101.93 4.02, 87.64 0.83 C 83.93 0.01, 88.09 0.08, 41.85 0.04 L 0.01 0 0.01 0.81 Z\";\n\n/** Full logo as on remocn.dev: R mark (0.76em tall, baseline-aligned) + \"emocn\" in Manrope 600. */\nfunction RemocnLogo({ fontSize, color }: { fontSize: number; color: string }) {\n return (\n <div\n style={{\n display: \"flex\",\n alignItems: \"baseline\",\n color,\n fontFamily: manrope.fontFamily,\n fontWeight: 600,\n fontSize,\n letterSpacing: \"-0.025em\",\n lineHeight: 1,\n }}\n >\n <svg\n viewBox=\"0 0 124.06 134.26\"\n style={{ height: \"0.76em\", width: \"auto\" }}\n aria-hidden\n >\n <path fill=\"currentColor\" d={REMOCN_R_PATH} />\n </svg>\n <span style={{ marginLeft: \"0.04em\" }}>emocn</span>\n </div>\n );\n}\n\nexport interface NumberMosaicProps {\n /**\n * The number that emerges from the field. Supports digits and `, . + % k K M x`;\n * other characters leave a gap.\n */\n value?: string;\n /** Text after the lockup, under the number. */\n label?: string;\n /** Product name in the lockup. */\n name?: string;\n /** Replaces the default remocn mark in the lockup. */\n logo?: React.ReactNode;\n accent?: string;\n /** Playback multiplier. */\n speed?: number;\n theme?: \"dark\" | \"light\";\n}\n\nconst EASE_IO = Easing.bezier(0.65, 0, 0.35, 1);\nconst EASE_OUT = Easing.bezier(0.22, 1, 0.36, 1);\nconst CLAMP = {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n} as const;\n\nconst THEMES = {\n dark: {\n bg: \"#0A0A0B\",\n fg: \"#F3F2EF\",\n muted: \"#8B8A90\",\n hair: \"rgba(255,255,255,0.18)\",\n ink: [243, 242, 239],\n /** Alpha of the three resting tiers of the field. */\n tiers: [0.17, 0.28, 0.44],\n /** field brightness once the number has formed */\n rest: 0.36,\n /** gradients.sh \"limb\" (#e9ecff #8a8bff #4b2bd6 #160c3a), lit from the top right */\n tile: [\"#4B2BD6\", \"#6A63FF\", \"#8A8BFF\", \"#D4D8FF\"],\n /** digits printed on the lit tiles */\n print: [10, 10, 11],\n printAlpha: 0.5,\n grain: 0.06,\n },\n light: {\n bg: \"#F5F4F0\",\n fg: \"#121214\",\n muted: \"#6E6C67\",\n hair: \"rgba(18,18,20,0.16)\",\n ink: [18, 18, 20],\n tiers: [0.09, 0.15, 0.24],\n rest: 0.5,\n tile: [\"#3A1FB8\", \"#4B2BD6\", \"#6A63F2\", \"#8A8BFF\"],\n print: [255, 255, 255],\n printAlpha: 0.42,\n grain: 0.045,\n },\n} as const;\n\ntype Palette = (typeof THEMES)[keyof typeof THEMES];\n\n/* ------------------------------------------------------------------ */\n/* Stroke font: each glyph is a few centrelines, inflated by STROKE. */\n/* Cap height is 1 unit, y grows downward. */\n/* ------------------------------------------------------------------ */\n\ntype Pt = [number, number];\ntype Glyph = { advance: number; strokes: Pt[][] };\n\nconst STROKE = 0.25;\nconst R = STROKE / 2;\nconst DW = 0.62;\nconst TRACK = 0.1;\nconst CX = DW / 2;\nconst X0 = R;\nconst X1 = DW - R;\nconst Y0 = R;\nconst Y1 = 1 - R;\n\nfunction arc(\n cx: number,\n cy: number,\n rx: number,\n ry: number,\n a0: number,\n a1: number,\n n = 36,\n): Pt[] {\n const pts: Pt[] = [];\n for (let i = 0; i <= n; i++) {\n const a = ((a0 + ((a1 - a0) * i) / n) * Math.PI) / 180;\n pts.push([cx + rx * Math.cos(a), cy + ry * Math.sin(a)]);\n }\n return pts;\n}\n\nconst JUNCTION = 0.46;\nconst TOP_BOWL = { cy: (Y0 + JUNCTION) / 2, ry: (JUNCTION - Y0) / 2, rx: 0.19 };\nconst LOW_BOWL = {\n cy: (JUNCTION + Y1) / 2,\n ry: (Y1 - JUNCTION) / 2,\n rx: CX - R,\n};\nconst BOWL = { cy: 0.655, ry: Y1 - 0.655, rx: CX - R };\n\nconst GLYPHS: Record<string, Glyph> = {\n \"0\": { advance: DW, strokes: [arc(CX, 0.5, CX - R, 0.5 - R, 0, 360, 56)] },\n \"1\": {\n advance: DW,\n strokes: [\n [\n [0.12, 0.25],\n [0.38, Y0],\n [0.38, Y1],\n ],\n ],\n },\n \"2\": {\n advance: DW,\n strokes: [\n [...arc(CX, 0.3, CX - R, 0.3 - R, 182, 395), [X0, Y1], [X1 + 0.01, Y1]],\n ],\n },\n \"3\": {\n advance: DW,\n strokes: [\n arc(CX - 0.01, TOP_BOWL.cy, TOP_BOWL.rx, TOP_BOWL.ry, 200, 450),\n arc(CX, LOW_BOWL.cy, LOW_BOWL.rx, LOW_BOWL.ry, 270, 520),\n ],\n },\n \"4\": {\n advance: DW,\n strokes: [\n [\n [0.46, Y1],\n [0.46, Y0],\n [X0, 0.69],\n [X1 + 0.03, 0.69],\n ],\n ],\n },\n \"5\": {\n advance: DW,\n strokes: [\n [\n [X1, Y0],\n [0.15, Y0],\n [0.12, 0.5],\n ],\n arc(CX, BOWL.cy, BOWL.rx, BOWL.ry, 208, 512),\n ],\n },\n \"6\": {\n advance: DW,\n strokes: [\n arc(CX, BOWL.cy, BOWL.rx, BOWL.ry, 0, 360, 56),\n [\n [0.47, Y0],\n [0.13, 0.6],\n ],\n ],\n },\n \"7\": {\n advance: DW,\n strokes: [\n [\n [X0, Y0],\n [X1, Y0],\n [0.22, Y1],\n ],\n ],\n },\n \"8\": {\n advance: DW,\n strokes: [\n arc(CX, TOP_BOWL.cy, TOP_BOWL.rx, TOP_BOWL.ry, 0, 360, 48),\n arc(CX, LOW_BOWL.cy, LOW_BOWL.rx, LOW_BOWL.ry, 0, 360, 48),\n ],\n },\n \"9\": {\n advance: DW,\n strokes: [\n arc(CX, 1 - BOWL.cy, BOWL.rx, BOWL.ry, 0, 360, 56),\n [\n [0.49, 0.4],\n [0.15, Y1],\n ],\n ],\n },\n \",\": {\n advance: 0.26,\n strokes: [\n [\n [0.13, Y1 - 0.02],\n [0.07, Y1 + 0.14],\n ],\n ],\n },\n \".\": {\n advance: 0.26,\n strokes: [\n [\n [0.13, Y1],\n [0.13, Y1],\n ],\n ],\n },\n \"+\": {\n advance: DW,\n strokes: [\n [\n [0.06, 0.56],\n [0.56, 0.56],\n ],\n [\n [CX, 0.31],\n [CX, 0.81],\n ],\n ],\n },\n \"%\": {\n advance: 0.86,\n strokes: [\n arc(0.2, 0.24, 0.1, 0.13, 0, 360, 28),\n arc(0.66, 0.76, 0.1, 0.13, 0, 360, 28),\n [\n [0.68, Y0],\n [0.18, Y1],\n ],\n ],\n },\n k: {\n advance: 0.6,\n strokes: [\n [\n [X0, Y0],\n [X0, Y1],\n ],\n [\n [0.5, 0.4],\n [X0, 0.74],\n ],\n [\n [0.24, 0.6],\n [0.5, Y1],\n ],\n ],\n },\n M: {\n advance: 0.84,\n strokes: [\n [\n [X0, Y1],\n [X0, Y0],\n [0.42, 0.66],\n [0.84 - R, Y0],\n [0.84 - R, Y1],\n ],\n ],\n },\n x: {\n advance: 0.56,\n strokes: [\n [\n [0.08, 0.4],\n [0.48, Y1],\n ],\n [\n [0.48, 0.4],\n [0.08, Y1],\n ],\n ],\n },\n \" \": { advance: 0.3, strokes: [] },\n};\nGLYPHS.K = GLYPHS.k;\n\nfunction layoutGlyphs(value: string) {\n const segs: Array<[number, number, number, number]> = [];\n let x = 0;\n const chars = Array.from(value);\n chars.forEach((ch, i) => {\n const g = GLYPHS[ch] ?? { advance: 0.4, strokes: [] };\n for (const s of g.strokes) {\n for (let k = 0; k < s.length - 1 || (s.length === 1 && k === 0); k++) {\n const a = s[k];\n const b = s[Math.min(k + 1, s.length - 1)];\n segs.push([a[0] + x, a[1], b[0] + x, b[1]]);\n }\n }\n x += g.advance + (i < chars.length - 1 ? TRACK : 0);\n });\n return { segs, width: x };\n}\n\nfunction segDist(px: number, py: number, s: [number, number, number, number]) {\n const [ax, ay, bx, by] = s;\n const dx = bx - ax;\n const dy = by - ay;\n const l2 = dx * dx + dy * dy;\n const t =\n l2 === 0\n ? 0\n : Math.max(0, Math.min(1, ((px - ax) * dx + (py - ay) * dy) / l2));\n const qx = ax + dx * t - px;\n const qy = ay + dy * t - py;\n return Math.sqrt(qx * qx + qy * qy);\n}\n\nfunction hash(n: number) {\n const s = Math.sin(n * 127.1 + 311.7) * 43758.5453;\n return s - Math.floor(s);\n}\n\n/* ------------------------------------------------------------------ */\n\nfunction Grain({ opacity }: { opacity: number }) {\n const id = `g${useId().replace(/[^a-zA-Z0-9_-]/g, \"\")}`;\n return (\n <svg\n width=\"100%\"\n height=\"100%\"\n style={{ position: \"absolute\", inset: 0, opacity }}\n aria-hidden\n >\n <filter id={id}>\n <feTurbulence\n type=\"fractalNoise\"\n baseFrequency=\"0.9\"\n numOctaves={2}\n seed={7}\n stitchTiles=\"stitch\"\n />\n <feColorMatrix values=\"0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0.9 0\" />\n </filter>\n <rect width=\"100%\" height=\"100%\" filter={`url(#${id})`} />\n </svg>\n );\n}\n\nconst LIT_STEPS = 6;\n\n/** Field running clock: ticks at full rate, then brakes to a stop. */\nfunction fieldClock(t: number) {\n const a = 44;\n const b = 92;\n if (t <= a) return t;\n const d = Math.min(t, b) - a;\n return a + d - (d * d) / (2 * (b - a));\n}\n\nexport function NumberMosaic({\n value = \"10,000\",\n label = \"launch videos rendered\",\n name = \"remocn\",\n logo,\n accent = \"#3B5BFD\",\n speed = 1,\n theme = \"dark\",\n}: NumberMosaicProps) {\n const t = useCurrentFrame() * speed;\n const { width, height } = useVideoConfig();\n const u = height / 720;\n const p: Palette = THEMES[theme];\n const gid = `m${useId().replace(/[^a-zA-Z0-9_-]/g, \"\")}`;\n\n const cellW = 12 * u;\n const cellH = 16 * u;\n // overscan so the tilted plane never shows its edge\n const cols = Math.ceil((width * 1.16) / cellW);\n const rows = Math.ceil((height * 1.18) / cellH);\n const ox = (width - cols * cellW) / 2;\n const oy = (height - rows * cellH) / 2;\n\n const layout = useMemo(() => layoutGlyphs(value), [value]);\n const unit = Math.min((width * 0.84) / layout.width, height * 0.46);\n const numW = layout.width * unit;\n const numTop = height * 0.43 - unit * 0.56;\n const numLeft = (width - numW) / 2;\n\n // Per-cell constants: coverage by the big number, tier, tick rate, seed, light order.\n const cells = useMemo(() => {\n const feather = (0.55 * cellW) / unit;\n const out: Array<{\n cov: number;\n tier: number;\n rate: number;\n seed: number;\n start: number;\n }> = [];\n for (let r = 0; r < rows; r++) {\n for (let c = 0; c < cols; c++) {\n const i = r * cols + c;\n const px = (ox + (c + 0.5) * cellW - numLeft) / unit;\n const py = (oy + (r + 0.5) * cellH - numTop) / unit;\n let cov = 0;\n if (px > -0.4 && px < layout.width + 0.4 && py > -0.4 && py < 1.4) {\n let d = 9;\n for (const s of layout.segs) d = Math.min(d, segDist(px, py, s));\n cov = Math.max(0, Math.min(1, (R + feather - d) / (2 * feather)));\n }\n const n1 = hash(i + 1);\n const n2 = hash(i * 3.7 + 11);\n const n3 = hash(i * 1.3 + 97);\n const xN = Math.max(0, Math.min(1, px / layout.width));\n out.push({\n cov,\n tier: n1 < 0.52 ? 0 : n1 < 0.86 ? 1 : 2,\n rate: n2 < 0.35 ? 0 : 1 / (5 + n2 * 14),\n seed: Math.floor(n3 * 10),\n start: 22 + xN * 26 + hash(i * 5.1 + 3) * 12,\n });\n }\n }\n return out;\n }, [rows, cols, cellW, cellH, ox, oy, unit, numLeft, numTop, layout]);\n\n // Global beats\n const enter = interpolate(t, [0, 16], [0.7, 1], {\n ...CLAMP,\n easing: EASE_OUT,\n });\n const dim = interpolate(t, [26, 76], [1, p.rest], {\n ...CLAMP,\n easing: EASE_IO,\n });\n const cam = interpolate(t, [0, 112], [0, 1], { ...CLAMP, easing: EASE_IO });\n const push = 1.08 - cam * 0.08;\n const rotY = -12 * (1 - cam);\n const rotX = 5 * (1 - cam);\n const clock = fieldClock(t);\n const lx = interpolate(t, [0, 130], [32, 66], CLAMP);\n const ly = 38 + Math.sin(t / 50) * 6;\n\n // Bucket every cell into a layer: 0..2 resting tiers, 3..(3+LIT_STEPS-1) lit steps.\n const layerCount = 3 + LIT_STEPS;\n const buckets: Array<Array<{ x: number[]; y: number; s: string }>> = [];\n for (let l = 0; l < layerCount; l++) buckets.push([]);\n // lit cells also get a solid tile, so the number reads as one shape\n const tiles: string[] = Array.from({ length: LIT_STEPS + 1 }, () => \"\");\n const tw = cellW - 1.6 * u;\n const th = cellH - 1.6 * u;\n for (let r = 0; r < rows; r++) {\n const rowChars: string[][] = [];\n const rowX: number[][] = [];\n for (let l = 0; l < layerCount; l++) {\n rowChars.push([]);\n rowX.push([]);\n }\n for (let c = 0; c < cols; c++) {\n const cell = cells[r * cols + c];\n const lit = interpolate(t, [cell.start, cell.start + 12], [0, 1], {\n ...CLAMP,\n easing: EASE_OUT,\n });\n const v = cell.cov * lit;\n const step = Math.round(v * LIT_STEPS);\n // lit counters lock their digit as they light up\n const k =\n cell.cov > 0.5 ? Math.min(clock, fieldClock(cell.start + 4)) : clock;\n const digit = (cell.seed + Math.floor(k * cell.rate)) % 10;\n const layer = step === 0 ? cell.tier : 2 + step;\n if (step > 0) {\n const tx = ox + c * cellW + 0.8 * u;\n const ty = oy + r * cellH + 0.8 * u;\n tiles[step] +=\n `M${tx.toFixed(1)} ${ty.toFixed(1)}h${tw.toFixed(1)}v${th.toFixed(1)}h${(-tw).toFixed(1)}Z`;\n }\n rowChars[layer].push(String(digit));\n rowX[layer].push(ox + (c + 0.5) * cellW);\n }\n for (let l = 0; l < layerCount; l++) {\n if (rowChars[l].length)\n buckets[l].push({\n x: rowX[l],\n y: oy + (r + 0.5) * cellH + 4.2 * u,\n s: rowChars[l].join(\"\"),\n });\n }\n }\n\n const ink = p.ink;\n // digits on a lit tile go from field ink to a print colour that sits on the gradient\n const litColor = (k: number) => {\n const f = k / LIT_STEPS;\n const a = p.tiers[2] * dim * (1 - f) + p.printAlpha * f;\n const c = ink.map((v, i) => Math.round(v + (p.print[i] - v) * f));\n return `rgba(${c[0]},${c[1]},${c[2]},${a.toFixed(3)})`;\n };\n // the gradient drifts a few % sideways over the shot\n const gDrift = interpolate(t, [0, 140], [-0.04, 0.04], CLAMP);\n\n // Label\n const lab = (d: number) =>\n interpolate(t, [84 + d, 108 + d], [0, 1], { ...CLAMP, easing: EASE_OUT });\n const labelTop = numTop + unit * 1.08 + 30 * u;\n const band = interpolate(t, [74, 100], [0, 1], { ...CLAMP, easing: EASE_IO });\n\n return (\n <AbsoluteFill style={{ background: p.bg, overflow: \"hidden\" }}>\n <AbsoluteFill\n style={{\n opacity: enter,\n perspective: 1600 * u,\n perspectiveOrigin: \"50% 46%\",\n }}\n >\n <AbsoluteFill\n style={{\n transform: `rotateX(${rotX}deg) rotateY(${rotY}deg) scale(${push})`,\n transformOrigin: \"50% 46%\",\n }}\n >\n <svg\n width={width}\n height={height}\n style={{ position: \"absolute\", inset: 0, overflow: \"visible\" }}\n aria-hidden\n >\n <defs>\n <radialGradient\n id={gid}\n gradientUnits=\"userSpaceOnUse\"\n cx={(lx / 100) * width}\n cy={(ly / 100) * height}\n r={width * 0.62}\n >\n <stop offset=\"0\" stopColor=\"#fff\" stopOpacity={1} />\n <stop offset=\"0.55\" stopColor=\"#fff\" stopOpacity={0.55} />\n <stop offset=\"1\" stopColor=\"#fff\" stopOpacity={0.22} />\n </radialGradient>\n <linearGradient\n id={`${gid}t`}\n gradientUnits=\"userSpaceOnUse\"\n x1={numLeft + numW * gDrift}\n y1={numTop + unit}\n x2={numLeft + numW * (1 + gDrift)}\n y2={numTop}\n >\n {/* the accent opens the gradient; the rest is the palette */}\n {[accent, ...p.tile.slice(1)].map((col, k) => (\n <stop\n key={`${col}${k}`}\n offset={k / (p.tile.length - 1)}\n stopColor={col}\n />\n ))}\n </linearGradient>\n <mask id={`${gid}k`}>\n <rect\n x={-width * 0.1}\n y={-height * 0.1}\n width={width * 1.2}\n height={height * 1.2}\n fill={`url(#${gid})`}\n />\n </mask>\n </defs>\n <g fill={`url(#${gid}t)`}>\n {tiles.map((d, k) =>\n d ? (\n <path\n key={k}\n d={d}\n opacity={Math.min(1, (k / LIT_STEPS) * 1.15)}\n />\n ) : null,\n )}\n </g>\n <g\n fontFamily={mono}\n fontSize={11 * u}\n textAnchor=\"middle\"\n style={{ fontVariantNumeric: \"tabular-nums\" }}\n >\n <g mask={`url(#${gid}k)`}>\n {[0, 1, 2].map((l) => (\n <g\n key={l}\n fill={`rgba(${ink[0]},${ink[1]},${ink[2]},${(p.tiers[l] * dim).toFixed(3)})`}\n fontWeight={400}\n >\n {buckets[l].map((row) => (\n <text key={row.y} x={row.x.join(\" \")} y={row.y}>\n {row.s}\n </text>\n ))}\n </g>\n ))}\n </g>\n {Array.from({ length: LIT_STEPS }, (_, i) => i + 1).map((k) => (\n <g\n key={k}\n fill={litColor(k)}\n fontWeight={k >= LIT_STEPS - 2 ? 500 : 400}\n >\n {buckets[2 + k].map((row) => (\n <text key={row.y} x={row.x.join(\" \")} y={row.y}>\n {row.s}\n </text>\n ))}\n </g>\n ))}\n </g>\n </svg>\n </AbsoluteFill>\n </AbsoluteFill>\n\n {/* quiet band behind the label so it reads over the field */}\n <div\n style={{\n position: \"absolute\",\n left: 0,\n right: 0,\n top: labelTop - 34 * u,\n height: 104 * u,\n background: `radial-gradient(ellipse 34% 50% at 50% 50%, ${p.bg} 30%, transparent 100%)`,\n opacity: band,\n }}\n />\n\n <div\n style={{\n position: \"absolute\",\n left: 0,\n right: 0,\n top: labelTop,\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n gap: 16 * u,\n fontFamily: sans,\n fontSize: 22 * u,\n lineHeight: 1,\n }}\n >\n <div\n style={{\n display: \"flex\",\n alignItems: \"center\",\n gap: 9 * u,\n opacity: lab(0),\n transform: `translateY(${(1 - lab(0)) * 14 * u}px)`,\n }}\n >\n {logo ??\n (name.trim().toLowerCase() === \"remocn\" ? (\n <RemocnLogo fontSize={27 * u} color={p.fg} />\n ) : (\n <span\n style={{\n color: p.fg,\n fontWeight: 500,\n letterSpacing: \"-0.03em\",\n fontSize: 26 * u,\n }}\n >\n {name}\n </span>\n ))}\n </div>\n <div\n style={{\n width: Math.max(1, u),\n height: 22 * u,\n background: p.hair,\n transform: `scaleY(${lab(3)})`,\n }}\n />\n <span\n style={{\n color: p.muted,\n fontWeight: 400,\n letterSpacing: \"-0.01em\",\n opacity: lab(6),\n transform: `translateY(${(1 - lab(6)) * 14 * u}px)`,\n }}\n >\n {label}\n </span>\n </div>\n\n {/* vignette */}\n <AbsoluteFill\n style={{\n background: `radial-gradient(ellipse 75% 75% at 50% 46%, transparent 55%, ${p.bg} 100%)`,\n opacity: 0.85,\n }}\n />\n <Grain opacity={p.grain} />\n </AbsoluteFill>\n );\n}",
"durationInFrames": 114,
"installationMode": "wrapped"
},
"durationInFrames": 114
}