Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "slit-reveal",
"title": "Slit Reveal",
"description": "A point of light draws a hairline that opens onto a product scene, with a glow ring below.",
"dependencies": ["remotion", "@remotion/google-fonts"],
"files": [
{
"path": "registry/remocn/slit-reveal/index.tsx",
"content": "\"use client\";\n\nimport { loadFont as loadManrope } from \"@remotion/google-fonts/Manrope\";\nimport { loadFont as loadNewsreader } from \"@remotion/google-fonts/Newsreader\";\nimport type React from \"react\";\nimport { useId } from \"react\";\nimport {\n AbsoluteFill,\n Easing,\n Img,\n interpolate,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nconst { fontFamily: serifFamily } = loadNewsreader(\"italic\", {\n weights: [\"400\"],\n subsets: [\"latin\"],\n});\nconst { fontFamily: serifUpright } = loadNewsreader(\"normal\", {\n weights: [\"400\"],\n subsets: [\"latin\"],\n});\nconst manrope = loadManrope(\"normal\", {\n weights: [\"500\", \"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, tracking-tight. */\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\n/**\n * gradients.sh \"radial-glow\" palette: bg #020204, [#f3f1ff, #9db4ff, #5a46cb,\n * #1d1240]. A ring of light rising from below the frame: the hairline opens\n * onto its glow.\n */\nconst GLOW = {\n bg: \"#020204\",\n c0: \"243,241,255\",\n c1: \"157,180,255\",\n c2: \"90,70,203\",\n c3: \"29,18,64\",\n};\n\nexport interface SlitRevealProps {\n /** Optional line of type that rides the hairline before it opens. */\n title?: string;\n /** Scene revealed inside the slit. Wins over `src`. */\n children?: React.ReactNode;\n /** Screenshot revealed inside the slit (object-fit: cover). */\n src?: string;\n /** \"letterbox\" opens top/bottom; \"sideways\" rolls the line upright and opens left/right. */\n opening?: \"letterbox\" | \"sideways\";\n accent?: string;\n speed?: number;\n}\n\nconst STAGE = \"#0A0A0B\";\nconst CAMERA = Easing.bezier(0.65, 0, 0.35, 1);\nconst DRAW = Easing.bezier(0.22, 1, 0.36, 1);\nconst OPEN = Easing.bezier(0.72, 0, 0.12, 1);\nconst SETTLE = Easing.bezier(0.22, 1, 0.36, 1);\n\nconst clamp = { extrapolateLeft: \"clamp\", extrapolateRight: \"clamp\" } as const;\n\nfunction hexToRgb(hex: string): [number, number, number] {\n const h = hex.replace(\"#\", \"\");\n const full =\n h.length === 3\n ? h\n .split(\"\")\n .map((c) => c + c)\n .join(\"\")\n : h;\n const n = Number.parseInt(full.slice(0, 6), 16);\n return [(n >> 16) & 255, (n >> 8) & 255, n & 255];\n}\n\nfunction rgba(hex: string, a: number) {\n const [r, g, b] = hexToRgb(hex);\n return `rgba(${r},${g},${b},${a})`;\n}\n\n/** Accent mixed toward white, for light that is only faintly tinted. */\nfunction tint(hex: string, amount: number, a = 1) {\n const [r, g, b] = hexToRgb(hex);\n const m = (c: number) => Math.round(c + (255 - c) * amount);\n return `rgba(${m(r)},${m(g)},${m(b)},${a})`;\n}\n\nfunction useSafeId(prefix: string) {\n return `${prefix}-${useId().replace(/[^a-zA-Z0-9_-]/g, \"\")}`;\n}\n\n// ── Light ─────────────────────────────────────────────────────────────────\n\n/**\n * A hairline of light: a 1–2px core with tapered ends, a soft falloff around\n * it and a short specular hot spot in the middle. Horizontal, centered on its\n * own origin; the parent positions and rotates it.\n */\nfunction LightLine({\n length,\n u,\n intensity,\n accent,\n core = 1,\n bloom = 1,\n}: {\n length: number;\n u: number;\n intensity: number;\n accent: string;\n core?: number;\n bloom?: number;\n}) {\n const base: React.CSSProperties = {\n position: \"absolute\",\n left: \"50%\",\n top: \"50%\",\n transform: \"translate(-50%, -50%)\",\n };\n return (\n <div style={{ position: \"absolute\", left: 0, top: 0, opacity: intensity }}>\n {/* wide, low falloff: the air around the line lit up */}\n <div\n style={{\n ...base,\n width: length * 1.1,\n height: 120 * u * bloom,\n background: `radial-gradient(50% 50% at 50% 50%, ${tint(accent, 0.55, 0.12)} 0%, ${tint(accent, 0.4, 0.04)} 40%, rgba(0,0,0,0) 100%)`,\n }}\n />\n {/* tight falloff hugging the line */}\n <div\n style={{\n ...base,\n width: length,\n height: 16 * u * bloom,\n background:\n \"radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.06) 55%, rgba(255,255,255,0) 100%)\",\n }}\n />\n {/* the hairline */}\n <div\n style={{\n ...base,\n width: length,\n height: Math.max(1, 1.6 * u * core),\n background:\n \"linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 14%, rgba(255,255,255,0.92) 38%, #fff 50%, rgba(255,255,255,0.92) 62%, rgba(255,255,255,0.5) 86%, rgba(255,255,255,0) 100%)\",\n }}\n />\n {/* specular core */}\n <div\n style={{\n ...base,\n width: Math.min(length * 0.6, 260 * u),\n height: 5 * u * core,\n background:\n \"radial-gradient(50% 50% at 50% 50%, #fff 0%, rgba(255,255,255,0.55) 35%, rgba(255,255,255,0) 100%)\",\n }}\n />\n </div>\n );\n}\n\nfunction Grain({ opacity }: { opacity: number }) {\n const id = useSafeId(\"slit-grain\");\n return (\n <svg\n width=\"100%\"\n height=\"100%\"\n style={{ position: \"absolute\", inset: 0, opacity, pointerEvents: \"none\" }}\n aria-hidden\n >\n <filter id={id}>\n <feTurbulence\n type=\"fractalNoise\"\n baseFrequency=\"0.85\"\n numOctaves={2}\n seed={7}\n stitchTiles=\"stitch\"\n />\n <feColorMatrix type=\"saturate\" values=\"0\" />\n </filter>\n <rect width=\"100%\" height=\"100%\" filter={`url(#${id})`} />\n </svg>\n );\n}\n\n// ── Default scene: an abstracted product pane ─────────────────────────────\n\nfunction Bar({\n w,\n h,\n c,\n r,\n style,\n}: {\n w: number | string;\n h: number;\n c: string;\n r?: number;\n style?: React.CSSProperties;\n}) {\n return (\n <div\n style={{\n width: w,\n height: h,\n borderRadius: r ?? h / 2,\n background: c,\n flexShrink: 0,\n ...style,\n }}\n />\n );\n}\n\nfunction ProductScene({\n accent,\n tilt,\n rise,\n}: {\n accent: string;\n tilt: number;\n /** 0 → 1 as the scene settles: the ring lifts a touch. */\n rise: number;\n}) {\n const { width: W, height: H } = useVideoConfig();\n const u = H / 720;\n const pw = Math.min(W * 0.7, H * 1.32);\n const ph = pw * 0.6;\n const line = \"rgba(255,255,255,0.07)\";\n const block = \"rgba(255,255,255,0.075)\";\n const blockHi = \"rgba(255,255,255,0.16)\";\n const gid = useSafeId(\"slit-area\");\n const chartW = 400;\n const chartH = 120;\n const pts = [0.82, 0.74, 0.77, 0.6, 0.52, 0.56, 0.36, 0.2];\n const step = chartW / (pts.length - 1);\n let d = `M0 ${pts[0] * chartH}`;\n for (let i = 1; i < pts.length; i++) {\n const x0 = (i - 1) * step;\n const x1 = i * step;\n const cx = (x0 + x1) / 2;\n d += ` C${cx} ${pts[i - 1] * chartH} ${cx} ${pts[i] * chartH} ${x1} ${pts[i] * chartH}`;\n }\n const area = `${d} L${chartW} ${chartH} L0 ${chartH} Z`;\n\n return (\n <AbsoluteFill style={{ background: GLOW.bg, perspective: 1800 * u }}>\n {/* the glow: a haze pooled at the bottom and a thin ring rising through it */}\n <AbsoluteFill\n style={{\n background: [\n `radial-gradient(${74 + rise * 4}% ${104 + rise * 6}% at 50% ${112 - rise * 4}%, rgba(${GLOW.c0},0) 52%, rgba(${GLOW.c0},0.66) 56.5%, rgba(${GLOW.c1},0.5) 60%, rgba(${GLOW.c2},0.28) 67%, rgba(${GLOW.c2},0) 80%)`,\n `radial-gradient(95% 70% at 50% 112%, rgba(${GLOW.c2},0.55) 0%, rgba(${GLOW.c3},0.45) 45%, rgba(${GLOW.c3},0) 75%)`,\n `radial-gradient(60% 50% at 50% 0%, rgba(${GLOW.c1},0.08) 0%, rgba(0,0,0,0) 70%)`,\n ].join(\", \"),\n }}\n />\n {/* contact shadow */}\n <div\n style={{\n position: \"absolute\",\n left: (W - pw * 0.9) / 2,\n top: (H + ph) / 2 - 10 * u,\n width: pw * 0.9,\n height: 46 * u,\n borderRadius: \"50%\",\n background: \"rgba(0,0,0,0.85)\",\n filter: `blur(${22 * u}px)`,\n }}\n />\n <div\n style={{\n position: \"absolute\",\n left: (W - pw) / 2,\n top: (H - ph) / 2,\n width: pw,\n height: ph,\n borderRadius: 14 * u,\n background: \"linear-gradient(180deg, #17171A 0%, #111113 100%)\",\n boxShadow: `inset 0 0 0 1px ${line}, inset 0 1px 0 rgba(255,255,255,0.09), 0 ${30 * u}px ${80 * u}px rgba(0,0,0,0.55)`,\n display: \"flex\",\n overflow: \"hidden\",\n transform: `rotateX(${tilt * 14}deg) translateY(${tilt * 20 * u}px)`,\n transformOrigin: \"50% 100%\",\n }}\n >\n {/* rail */}\n <div\n style={{\n width: pw * 0.2,\n borderRight: `1px solid ${line}`,\n padding: `${22 * u}px ${18 * u}px`,\n display: \"flex\",\n flexDirection: \"column\",\n gap: 14 * u,\n }}\n >\n <div style={{ display: \"flex\", alignItems: \"center\", gap: 8 * u }}>\n <RemocnLogo fontSize={17 * u} color=\"rgba(255,255,255,0.86)\" />\n </div>\n <div style={{ height: 8 * u }} />\n {[0.78, 0.6, 0.7, 0.5, 0.64].map((w, i) => (\n <Bar\n key={w}\n w={`${w * 100}%`}\n h={6 * u}\n c={i === 1 ? blockHi : block}\n />\n ))}\n </div>\n {/* main */}\n <div\n style={{\n flex: 1,\n padding: `${26 * u}px ${28 * u}px`,\n display: \"flex\",\n flexDirection: \"column\",\n gap: 18 * u,\n }}\n >\n <div style={{ display: \"flex\", flexDirection: \"column\", gap: 9 * u }}>\n <Bar w={pw * 0.24} h={12 * u} c=\"rgba(255,255,255,0.32)\" />\n <Bar w={pw * 0.36} h={6 * u} c={block} />\n </div>\n <div style={{ flex: 1, display: \"flex\", gap: 14 * u }}>\n <div\n style={{\n flex: 1.8,\n borderRadius: 10 * u,\n boxShadow: `inset 0 0 0 1px ${line}`,\n background: \"rgba(255,255,255,0.015)\",\n padding: 16 * u,\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"space-between\",\n }}\n >\n <div\n style={{ display: \"flex\", flexDirection: \"column\", gap: 8 * u }}\n >\n <Bar w={70 * u} h={6 * u} c={block} />\n <Bar w={110 * u} h={14 * u} c=\"rgba(255,255,255,0.26)\" />\n </div>\n <svg\n viewBox={`0 0 ${chartW} ${chartH}`}\n preserveAspectRatio=\"none\"\n style={{ width: \"100%\", height: \"66%\" }}\n aria-hidden\n >\n <defs>\n <linearGradient id={gid} x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\">\n <stop\n offset=\"0\"\n stopColor={`rgb(${GLOW.c1})`}\n stopOpacity={0.34}\n />\n <stop\n offset=\"0.6\"\n stopColor={`rgb(${GLOW.c2})`}\n stopOpacity={0.16}\n />\n <stop\n offset=\"1\"\n stopColor={`rgb(${GLOW.c2})`}\n stopOpacity={0}\n />\n </linearGradient>\n </defs>\n {[0.25, 0.5, 0.75].map((g) => (\n <line\n key={g}\n x1={0}\n x2={chartW}\n y1={g * chartH}\n y2={g * chartH}\n stroke=\"rgba(255,255,255,0.05)\"\n strokeWidth={1}\n vectorEffect=\"non-scaling-stroke\"\n />\n ))}\n <path d={area} fill={`url(#${gid})`} />\n <path\n d={d}\n fill=\"none\"\n stroke={accent}\n strokeWidth={2}\n vectorEffect=\"non-scaling-stroke\"\n />\n </svg>\n </div>\n <div\n style={{\n flex: 1,\n display: \"flex\",\n flexDirection: \"column\",\n gap: 14 * u,\n }}\n >\n {[0, 1].map((i) => (\n <div\n key={i}\n style={{\n flex: 1,\n borderRadius: 10 * u,\n boxShadow: `inset 0 0 0 1px ${line}`,\n background: \"rgba(255,255,255,0.015)\",\n padding: 14 * u,\n display: \"flex\",\n flexDirection: \"column\",\n gap: 8 * u,\n }}\n >\n <Bar w={54 * u} h={6 * u} c={block} />\n <Bar\n w={i === 0 ? 72 * u : 88 * u}\n h={12 * u}\n c={i === 0 ? rgba(accent, 0.75) : \"rgba(255,255,255,0.22)\"}\n />\n <div style={{ flex: 1 }} />\n <Bar w=\"100%\" h={4 * u} c={block} />\n <Bar w=\"62%\" h={4 * u} c={block} />\n </div>\n ))}\n </div>\n </div>\n </div>\n </div>\n </AbsoluteFill>\n );\n}\n\n// ── Component ─────────────────────────────────────────────────────────────\n\nexport function SlitReveal({\n title = \"Introducing remocn\",\n children,\n src,\n opening = \"letterbox\",\n accent = \"#3B5BFD\",\n speed = 1,\n}: SlitRevealProps) {\n const frame = useCurrentFrame() * speed;\n const { width: W, height: H } = useVideoConfig();\n const u = H / 720;\n const sideways = opening === \"sideways\";\n\n // Beat sheet (30fps):\n // 0–36 a point of light draws out from the center into a hairline\n // 20–44 title settles above the line; 36–60 hold\n // sideways: 54–80 the line rolls upright\n // 62–106 (82–124) slit opens; rims carry the light out and fade\n // scene settles from 1.16 → 1, holds to the end\n const tRot = sideways ? 54 : 0;\n const tOpen = sideways ? 82 : 62;\n const openLen = sideways ? 42 : 44;\n\n const draw = interpolate(frame, [2, 38], [0, 1], {\n ...clamp,\n easing: DRAW,\n });\n const ignite = interpolate(frame, [0, 10], [0.25, 1], clamp);\n const restLen = W * 0.8;\n let len = interpolate(draw, [0, 1], [10 * u, restLen]);\n\n const rot = sideways\n ? interpolate(frame, [tRot, tRot + 26], [0, 1], {\n ...clamp,\n easing: CAMERA,\n })\n : 0;\n if (sideways) {\n len = interpolate(rot, [0, 1], [len, H * 1.16]);\n } else {\n // the line runs out to the frame edges just before the slit opens\n len = interpolate(frame, [tOpen - 8, tOpen + 10], [len, W * 1.25], {\n ...clamp,\n easing: CAMERA,\n });\n }\n const angle = rot * 90;\n\n const open = interpolate(frame, [tOpen, tOpen + openLen], [0, 1], {\n ...clamp,\n easing: OPEN,\n });\n const span = sideways ? W : H;\n const gap = open * span;\n\n // a gentle breathing in the core while the line holds\n const breathe =\n 1 + 0.06 * Math.sin(Math.max(0, frame - 36) * 0.18) * (1 - open);\n\n // rims carry the line's light outward and cool off as they travel\n const rimIntensity =\n interpolate(open, [0, 0.08, 0.75, 1], [1, 1, 0.25, 0], clamp) * breathe;\n const lineVisible = open < 0.02;\n\n // title\n const tIn = interpolate(frame, [18, 44], [0, 1], {\n ...clamp,\n easing: SETTLE,\n });\n const tOut = interpolate(frame, sideways ? [46, 56] : [52, 62], [0, 1], {\n ...clamp,\n easing: Easing.bezier(0.55, 0, 1, 0.45),\n });\n const titleOpacity = tIn * (1 - tOut);\n // \"… remocn\" sets the last word as the real logo.\n const words = title.trim().split(/\\s+/);\n const titleLogo = words[words.length - 1]?.toLowerCase() === \"remocn\";\n const titleLead = titleLogo ? words.slice(0, -1).join(\" \") : \"\";\n\n // scene\n const settle = interpolate(frame, [tOpen, tOpen + 70], [0, 1], {\n ...clamp,\n easing: SETTLE,\n });\n const sceneScale = interpolate(settle, [0, 1], [1.16, 1]);\n const sceneBlur = interpolate(open, [0, 0.55], [10 * u, 0], clamp);\n const sceneDim = interpolate(open, [0, 0.7], [0.45, 1], clamp);\n const sceneShift = interpolate(settle, [0, 1], [18 * u, 0]);\n\n const lineLenInFrame = sideways ? Math.min(len, H) : Math.min(len, W);\n const inset = sideways\n ? `${Math.max(0, (H - lineLenInFrame) / 2)}px ${(W - gap) / 2}px`\n : `${(H - gap) / 2}px ${Math.max(0, (W - lineLenInFrame) / 2)}px`;\n\n const scene =\n children ??\n (src ? (\n <Img\n src={src}\n style={{ width: \"100%\", height: \"100%\", objectFit: \"cover\" }}\n />\n ) : (\n <ProductScene accent={accent} tilt={1 - settle} rise={settle} />\n ));\n\n const rimOffset = gap / 2;\n const rim = (sign: 1 | -1) => (\n <div\n style={{\n position: \"absolute\",\n left: W / 2 + (sideways ? sign * rimOffset : 0),\n top: H / 2 + (sideways ? 0 : sign * rimOffset),\n transform: `rotate(${angle}deg)`,\n }}\n >\n <LightLine\n length={len}\n u={u}\n intensity={rimIntensity * 0.9}\n accent={accent}\n core={interpolate(open, [0, 1], [1, 0.6])}\n bloom={interpolate(open, [0, 1], [0.9, 0.5])}\n />\n </div>\n );\n\n // light spilling into the scene from each rim\n const spill = interpolate(open, [0, 0.15, 0.8], [0, 0.22, 0], clamp);\n const spillDir = sideways ? \"90deg\" : \"180deg\";\n\n return (\n <AbsoluteFill style={{ background: STAGE, overflow: \"hidden\" }}>\n {open > 0 && (\n <AbsoluteFill style={{ clipPath: `inset(${inset})` }}>\n <AbsoluteFill\n style={{\n transform: `translate${sideways ? \"X\" : \"Y\"}(${sceneShift}px) scale(${sceneScale})`,\n filter: `blur(${sceneBlur}px) brightness(${sceneDim})`,\n }}\n >\n {scene}\n </AbsoluteFill>\n <AbsoluteFill\n style={{\n background: `linear-gradient(${spillDir}, rgba(255,255,255,${spill}) 0%, rgba(255,255,255,0) ${18 * u}px, rgba(255,255,255,0) calc(100% - ${18 * u}px), rgba(255,255,255,${spill}) 100%)`,\n clipPath: `inset(${inset})`,\n }}\n />\n </AbsoluteFill>\n )}\n\n {lineVisible ? (\n <div\n style={{\n position: \"absolute\",\n left: W / 2,\n top: H / 2,\n transform: `rotate(${angle}deg)`,\n }}\n >\n <LightLine\n length={len}\n u={u}\n intensity={ignite * breathe}\n accent={accent}\n core={interpolate(draw, [0, 1], [2.2, 1])}\n />\n </div>\n ) : (\n <>\n {rim(-1)}\n {rim(1)}\n </>\n )}\n\n {title && titleOpacity > 0 && (\n <div\n style={{\n position: \"absolute\",\n left: 0,\n right: 0,\n top: H / 2 - 92 * u,\n height: 60 * u,\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"baseline\",\n gap: 14 * u,\n color: \"#EDEDEF\",\n opacity: titleOpacity,\n transform: `translateY(${interpolate(tIn, [0, 1], [10 * u, 0]) - tOut * 8 * u}px)`,\n filter: `blur(${(1 - tIn) * 8 * u + tOut * 4 * u}px)`,\n }}\n >\n {titleLogo ? (\n <>\n {titleLead ? (\n <span\n style={{\n fontFamily: serifFamily,\n fontStyle: \"italic\",\n fontWeight: 400,\n fontSize: 46 * u,\n letterSpacing: \"-0.01em\",\n lineHeight: 1,\n color: \"rgba(237,237,239,0.78)\",\n }}\n >\n {titleLead}\n </span>\n ) : null}\n <RemocnLogo fontSize={46 * u} color=\"#F3F2EF\" />\n </>\n ) : (\n <div\n style={{\n fontFamily: serifUpright,\n fontWeight: 400,\n fontSize: 46 * u,\n letterSpacing: \"-0.015em\",\n lineHeight: 1.1,\n textWrap: \"balance\",\n textAlign: \"center\",\n maxWidth: W * 0.7,\n }}\n >\n {title}\n </div>\n )}\n </div>\n )}\n\n <Grain opacity={0.032} />\n </AbsoluteFill>\n );\n}\n",
"type": "registry:component",
"target": "components/remocn/slit-reveal.tsx"
}
],
"type": "registry:component"
}