Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
feat: added logo enter
dev_wandryc81b67ec848e
diff --git a/content/docs/social/index.mdx b/content/docs/social/index.mdxindex 944be39a..6f3b2e87 100644--- a/content/docs/social/index.mdx+++ b/content/docs/social/index.mdx@@ -25,5 +25,11 @@ Ready-to-install compositions that turn GitHub stats, product launches, and commstatus: "stable",href: "/docs/social/x-followers-overview",},+ {+ name: "LogoEnter",+ description: "A stacked group of round brand chips that spring in one-by-one, then hold — swap in any logos",+ status: "stable",+ href: "/docs/social/logo-enter",+ },]}/>diff --git a/content/docs/social/logo-enter.mdx b/content/docs/social/logo-enter.mdxnew file mode 100644index 00000000..aa207d42--- /dev/null+++ b/content/docs/social/logo-enter.mdx@@ -0,0 +1,127 @@+---+title: Logo Enter+description: A stacked group of round brand chips that spring in one-by-one, then hold+---++<ComponentPreview name="logo-enter" />++## Installation++<InstallBlock name="logo-enter" />++## Usage++Standalone in a Remotion `<Composition>` — ships with a sample set of AI-tool marks so the video renders immediately after install:++```tsx+// src/Root.tsx+import { Composition } from "remotion";+import { LogoEnter } from "@/components/remocn/logo-enter";++const LogoEnterScene = () => (+ <LogoEnter+ diameter={118}+ overlap={38}+ ringColor="#0B0B0C"+ orientation="horizontal"+ stagger={7}+ speed={1}+ />+);++export const RemotionRoot = () => (+ <Composition+ id="LogoEnter"+ component={LogoEnterScene}+ durationInFrames={90}+ fps={30}+ width={1280}+ height={720}+ />+);+```++Each chip is a round, ring-bordered circle that springs in with a scale-up and a small slide, staggered one after another, then holds. The exit is left to your timeline — drop it in a `TransitionSeries.Sequence` and pair it with any transition.++### Swap the logos++The `logos` prop defaults to the exported `SAMPLE_LOGOS`. Each entry is `{ mark, bg }` — `mark` is any React node (an inline SVG works best), `bg` is the chip's fill. Edit the copied file to feature your own marks:++```tsx+import { LogoEnter, type Logo } from "@/components/remocn/logo-enter";++const MY_LOGOS: Logo[] = [+ { mark: <MyBrandMark />, bg: "#ffffff" },+ { mark: <PartnerMark />, bg: "#0A0A0A" },+];++<LogoEnter logos={MY_LOGOS} />+```++### With Backdrop++Renders transparent — supply the background via `Backdrop`:++```tsx+import { Backdrop } from "@/components/remocn/backdrop";+import { LogoEnter } from "@/components/remocn/logo-enter";++<Backdrop fill={{ type: "color", value: "#0a0a0a" }}>+ <LogoEnter orientation="horizontal" />+</Backdrop>+```++## Props++<PropsTable+ rows={[+ {+ name: "logos",+ type: "Logo[]",+ default: "SAMPLE_LOGOS",+ description: "Chips to stack — each is { mark: ReactNode; bg?: string }. Defaults to a sample set of AI-tool marks; swap for your own",+ },+ {+ name: "diameter",+ type: "number",+ default: "118",+ description: "Chip diameter in px — the mark is sized to 52% of it",+ },+ {+ name: "overlap",+ type: "number",+ default: "38",+ description: "How many px each chip tucks under the previous one",+ },+ {+ name: "ringColor",+ type: "string",+ default: "\"#0B0B0C\"",+ description: "Color of the 5px ring around each chip",+ },+ {+ name: "orientation",+ type: "\"horizontal\" | \"vertical\"",+ default: "\"horizontal\"",+ description: "Stacking axis — row (overlap left, rise in) or column (overlap up, slide in)",+ },+ {+ name: "stagger",+ type: "number",+ default: "7",+ description: "Frames between each chip springing in",+ },+ {+ name: "speed",+ type: "number",+ default: "1",+ description: "Animation speed multiplier",+ },+ ]}+/>++## Notes++- **Own your marks:** the four sample marks (Claude, Codex, Cursor, Grok) are inline SVGs in the copied file — edit, reorder, or replace them directly. Each fills its chip via `width="100%"` so it scales with `diameter`.+- **Transparent:** the component paints no background or scrim — wrap it in `Backdrop` to set the scene.+- **Enter-only:** chips spring in and hold; compose the exit with a `TransitionSeries` transition.diff --git a/content/docs/social/meta.json b/content/docs/social/meta.jsonindex ef49c96f..49f7176b 100644--- a/content/docs/social/meta.json+++ b/content/docs/social/meta.json@@ -1,5 +1,11 @@{"title": "Social","collapsible": false,- "pages": ["index", "github-stars", "x-follow-card", "x-followers-overview"]+ "pages": [+ "index",+ "github-stars",+ "x-follow-card",+ "x-followers-overview",+ "logo-enter"+ ]}diff --git a/registry/__index__.tsx b/registry/__index__.tsxindex aab59045..6eda3f2c 100644--- a/registry/__index__.tsx+++ b/registry/__index__.tsx@@ -69,6 +69,8 @@ import { FrostedGlassWipe } from "@/registry/remocn/frosted-glass-wipe";import { frostedGlassWipeConfig } from "@/registry/remocn/frosted-glass-wipe/config";import { GitHubStars } from "@/registry/remocn/github-stars";import { githubStarsConfig } from "@/registry/remocn/github-stars/config";+import { LogoEnter } from "@/registry/remocn/logo-enter";+import { logoEnterConfig } from "@/registry/remocn/logo-enter/config";import { GlassCodeBlock } from "@/registry/remocn/glass-code-block";import { glassCodeBlockConfig } from "@/registry/remocn/glass-code-block/config";import { GridPixelateWipe } from "@/registry/remocn/grid-pixelate-wipe";@@ -387,6 +389,7 @@ const registry: Record<string, RegistryEntry> = {config: imageExpandToFullscreenConfig,},"github-stars": { Component: GitHubStars, config: githubStarsConfig },+ "logo-enter": { Component: LogoEnter, config: logoEnterConfig },"number-wheel": { Component: NumberWheel, config: numberWheelConfig },"rolling-number": { Component: RollingNumber, config: rollingNumberConfig },"x-follow-card": { Component: XFollowCard, config: xFollowCardConfig },diff --git a/registry/remocn/logo-enter/config.ts b/registry/remocn/logo-enter/config.tsnew file mode 100644index 00000000..a031b824--- /dev/null+++ b/registry/remocn/logo-enter/config.ts@@ -0,0 +1,44 @@+import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";++export const logoEnterConfig: ComponentConfig = {+ componentName: "LogoEnter",+ importPath: "@/components/remocn/logo-enter",+ controls: {+ diameter: {+ type: "number-input",+ default: 118,+ min: 48,+ max: 280,+ step: 1,+ label: "Diameter",+ },+ overlap: {+ type: "number-input",+ default: 38,+ min: 0,+ max: 160,+ step: 1,+ label: "Overlap",+ },+ ringColor: { type: "color", default: "#fff", label: "Ring" },+ orientation: {+ type: "select",+ default: "horizontal",+ options: ["horizontal", "vertical"],+ label: "Orientation",+ },+ stagger: {+ type: "number-input",+ default: 7,+ min: 0,+ max: 30,+ step: 1,+ label: "Stagger",+ },+ },+ durationInFrames: 90,+ fps: FPS,+ compositionWidth: W,+ compositionHeight: H,+ previewBackdrop: { type: "color", value: "#ffffff" },+};diff --git a/registry/remocn/logo-enter/index.tsx b/registry/remocn/logo-enter/index.tsxnew file mode 100644index 00000000..c2770061--- /dev/null+++ b/registry/remocn/logo-enter/index.tsx@@ -0,0 +1,155 @@+"use client";++import { type ReactNode } from "react";+import {+ AbsoluteFill,+ interpolate,+ spring,+ useCurrentFrame,+ useVideoConfig,+} from "remotion";++export interface Logo {+ mark: ReactNode;+ bg?: string;+}++export interface LogoEnterProps {+ logos?: Logo[];+ diameter?: number;+ overlap?: number;+ ringColor?: string;+ orientation?: "horizontal" | "vertical";+ stagger?: number;+ speed?: number;+}++const ClaudeMark = () => (+ <svg+ width="100%"+ height="100%"+ preserveAspectRatio="xMidYMid"+ viewBox="0 0 256 257"+ >+ <path+ fill="#D97757"+ d="m50.228 170.321 50.357-28.257.843-2.463-.843-1.361h-2.462l-8.426-.518-28.775-.778-24.952-1.037-24.175-1.296-6.092-1.297L0 125.796l.583-3.759 5.12-3.434 7.324.648 16.202 1.101 24.304 1.685 17.629 1.037 26.118 2.722h4.148l.583-1.685-1.426-1.037-1.101-1.037-25.147-17.045-27.22-18.017-14.258-10.37-7.713-5.25-3.888-4.925-1.685-10.758 7-7.713 9.397.649 2.398.648 9.527 7.323 20.35 15.75L94.817 91.9l3.889 3.24 1.555-1.102.195-.777-1.75-2.917-14.453-26.118-15.425-26.572-6.87-11.018-1.814-6.61c-.648-2.723-1.102-4.991-1.102-7.778l7.972-10.823L71.42 0 82.05 1.426l4.472 3.888 6.61 15.101 10.694 23.786 16.591 32.34 4.861 9.592 2.592 8.879.973 2.722h1.685v-1.556l1.36-18.211 2.528-22.36 2.463-28.776.843-8.1 4.018-9.722 7.971-5.25 6.222 2.981 5.12 7.324-.713 4.73-3.046 19.768-5.962 30.98-3.889 20.739h2.268l2.593-2.593 10.499-13.934 17.628-22.036 7.778-8.749 9.073-9.657 5.833-4.601h11.018l8.1 12.055-3.628 12.443-11.342 14.388-9.398 12.184-13.48 18.147-8.426 14.518.778 1.166 2.01-.194 30.46-6.481 16.462-2.982 19.637-3.37 8.88 4.148.971 4.213-3.5 8.62-20.998 5.184-24.628 4.926-36.682 8.685-.454.324.519.648 16.526 1.555 7.065.389h17.304l32.21 2.398 8.426 5.574 5.055 6.805-.843 5.184-12.962 6.611-17.498-4.148-40.83-9.721-14-3.5h-1.944v1.167l11.666 11.406 21.387 19.314 26.767 24.887 1.36 6.157-3.434 4.86-3.63-.518-23.526-17.693-9.073-7.972-20.545-17.304h-1.36v1.814l4.73 6.935 25.017 37.59 1.296 11.536-1.814 3.76-6.481 2.268-7.13-1.297-14.647-20.544-15.1-23.138-12.185-20.739-1.49.843-7.194 77.448-3.37 3.953-7.778 2.981-6.48-4.925-3.436-7.972 3.435-15.749 4.148-20.544 3.37-16.333 3.046-20.285 1.815-6.74-.13-.454-1.49.194-15.295 20.999-23.267 31.433-18.406 19.702-4.407 1.75-7.648-3.954.713-7.064 4.277-6.286 25.47-32.405 15.36-20.092 9.917-11.6-.065-1.686h-.583L44.07 198.125l-12.055 1.555-5.185-4.86.648-7.972 2.463-2.593 20.35-13.999-.064.065Z"+ />+ </svg>+);++const CodexMark = () => (+ <svg+ width="100%"+ height="100%"+ fill="#fff"+ fillRule="evenodd"+ viewBox="0 0 24 24"+ >+ <path+ clipRule="evenodd"+ d="M8.086.457a6.105 6.105 0 013.046-.415c1.333.153 2.521.72 3.564 1.7a.117.117 0 00.107.029c1.408-.346 2.762-.224 4.061.366l.063.03.154.076c1.357.703 2.33 1.77 2.918 3.198.278.679.418 1.388.421 2.126a5.655 5.655 0 01-.18 1.631.167.167 0 00.04.155 5.982 5.982 0 011.578 2.891c.385 1.901-.01 3.615-1.183 5.14l-.182.22a6.063 6.063 0 01-2.934 1.851.162.162 0 00-.108.102c-.255.736-.511 1.364-.987 1.992-1.199 1.582-2.962 2.462-4.948 2.451-1.583-.008-2.986-.587-4.21-1.736a.145.145 0 00-.14-.032c-.518.167-1.04.191-1.604.185a5.924 5.924 0 01-2.595-.622 6.058 6.058 0 01-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74 7.74 0 01-.495-1.283 6.11 6.11 0 01-.017-3.064.166.166 0 00.008-.074.115.115 0 00-.037-.064 5.958 5.958 0 01-1.38-2.202 5.196 5.196 0 01-.333-1.589 6.915 6.915 0 01.188-2.132c.45-1.484 1.309-2.648 2.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129 0 00.087-.087A6.016 6.016 0 015.635 2.31C6.315 1.464 7.132.846 8.086.457zm-.804 7.85a.848.848 0 00-1.473.842l1.694 2.965-1.688 2.848a.849.849 0 001.46.864l1.94-3.272a.849.849 0 00.007-.854l-1.94-3.393zm5.446 6.24a.849.849 0 000 1.695h4.848a.849.849 0 000-1.696h-4.848z"+ />+ </svg>+);++const CursorMark = () => (+ <svg width="100%" height="100%" fill="#fff" viewBox="0 0 466.73 532.09">+ <path d="M457.43,125.94L244.42,2.96c-6.84-3.95-15.28-3.95-22.12,0L9.3,125.94c-5.75,3.32-9.3,9.46-9.3,16.11v247.99c0,6.65,3.55,12.79,9.3,16.11l213.01,122.98c6.84,3.95,15.28,3.95,22.12,0l213.01-122.98c5.75-3.32,9.3-9.46,9.3-16.11v-247.99c0-6.65-3.55-12.79-9.3-16.11h-.01ZM444.05,151.99l-205.63,356.16c-1.39,2.4-5.06,1.42-5.06-1.36v-233.21c0-4.66-2.49-8.97-6.53-11.31L24.87,145.67c-2.4-1.39-1.42-5.06,1.36-5.06h411.26c5.84,0,9.49,6.33,6.57,11.39h-.01Z" />+ </svg>+);++const GrokMark = () => (+ <svg width="100%" height="100%" fill="none" viewBox="0 0 1024 1024">+ <path+ fill="#fff"+ d="M395.479 633.828L735.91 381.105C752.599 368.715 776.454 373.548 784.406 392.792C826.26 494.285 807.561 616.253 724.288 699.996C641.016 783.739 525.151 802.104 419.247 760.277L303.556 814.143C469.49 928.202 670.987 899.995 796.901 773.282C896.776 672.843 927.708 535.937 898.785 412.476L899.047 412.739C857.105 231.37 909.358 158.874 1016.4 10.6326C1018.93 7.11771 1021.47 3.60279 1024 0L883.144 141.651V141.212L395.392 633.916"+ />+ <path+ fill="#fff"+ d="M325.226 695.251C206.128 580.84 226.662 403.776 328.285 301.668C403.431 226.097 526.549 195.254 634.026 240.596L749.454 186.994C728.657 171.88 702.007 155.623 671.424 144.2C533.19 86.9942 367.693 115.465 255.323 228.382C147.234 337.081 113.244 504.215 171.613 646.833C215.216 753.423 143.739 828.818 71.7385 904.916C46.2237 931.893 20.6216 958.87 0 987.429L325.139 695.339"+ />+ </svg>+);++export const SAMPLE_LOGOS: Logo[] = [+ { mark: <ClaudeMark />, bg: "#F0EEE6" },+ { mark: <CodexMark />, bg: "#0A0A0A" },+ { mark: <CursorMark />, bg: "#0A0A0A" },+ { mark: <GrokMark />, bg: "#0A0A0A" },+];++export function LogoEnter({+ logos = SAMPLE_LOGOS,+ diameter = 118,+ overlap = 38,+ ringColor = "#fff",+ orientation = "horizontal",+ stagger = 7,+ speed = 1,+}: LogoEnterProps) {+ const frame = useCurrentFrame();+ const { fps } = useVideoConfig();+ const isVertical = orientation === "vertical";++ return (+ <AbsoluteFill+ style={{+ alignItems: "center",+ justifyContent: "center",+ background: "transparent",+ }}+ >+ <div+ style={{+ display: "flex",+ flexDirection: isVertical ? "column" : "row",+ }}+ >+ {logos.map(({ mark, bg }, i) => {+ const s = spring({+ fps,+ frame: frame * speed - i * stagger,+ config: { damping: 13, stiffness: 130, mass: 0.8 },+ });+ const scale = interpolate(s, [0, 1], [0.5, 1]);+ const offset = interpolate(s, [0, 1], [22, 0]);+ const lead = i === 0 ? 0 : -overlap;+ return (+ <div+ key={i}+ style={{+ width: diameter,+ height: diameter,+ borderRadius: "50%",+ marginLeft: isVertical ? 0 : lead,+ marginTop: isVertical ? lead : 0,+ zIndex: logos.length - i,+ background: bg,+ border: `5px solid ${ringColor}`,+ boxShadow: "0 20px 48px rgba(0,0,0,0.5)",+ display: "flex",+ alignItems: "center",+ justifyContent: "center",+ opacity: s,+ transform: isVertical+ ? `translateX(${offset}px) scale(${scale})`+ : `translateY(${offset}px) scale(${scale})`,+ }}+ >+ <div+ style={{+ width: diameter * 0.52,+ height: diameter * 0.52,+ display: "flex",+ }}+ >+ {mark}+ </div>+ </div>+ );+ })}+ </div>+ </AbsoluteFill>+ );+}diff --git a/registry/remocn/registry.json b/registry/remocn/registry.jsonindex 2a0da9b6..a4064164 100644--- a/registry/remocn/registry.json+++ b/registry/remocn/registry.json@@ -1246,6 +1246,22 @@"target": "components/remocn/backdrop.tsx"}]+ },+ {+ "name": "logo-enter",+ "type": "registry:component",+ "title": "Logo Enter",+ "description": "A stacked group of round brand chips that spring in one-by-one, then hold. Swap the logos to feature any set of marks. Horizontal or vertical stacking.",+ "dependencies": [+ "remotion"+ ],+ "files": [+ {+ "path": "logo-enter/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/logo-enter.tsx"+ }+ ]}]}