Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

feat: icon menu dots

dev_wandrye09c0c630dff
diff --git a/components/docs/icons-gallery.tsx b/components/docs/icons-gallery.tsx
index cb501836..28f1179e 100644
--- a/components/docs/icons-gallery.tsx
+++ b/components/docs/icons-gallery.tsx
@@ -31,6 +31,7 @@ import { InfoIconStatic } from "@/registry/remocn/icon-info";
import { LoaderIconStatic } from "@/registry/remocn/icon-loader";
import { MenuIconStatic } from "@/registry/remocn/icon-menu";
import { MicIconStatic } from "@/registry/remocn/icon-mic";
+import { MoreHorizontalIconStatic } from "@/registry/remocn/icon-more-horizontal";
import { PartyPopperIconStatic } from "@/registry/remocn/icon-party-popper";
import { PauseIconStatic } from "@/registry/remocn/icon-pause";
import { PlayIconStatic } from "@/registry/remocn/icon-play";
@@ -178,6 +179,12 @@ export const ICONS: IconEntry[] = [
category: "Actions & UI",
Static: MenuIconStatic,
},
+ {
+ name: "icon-more-horizontal",
+ label: "More Horizontal",
+ category: "Actions & UI",
+ Static: MoreHorizontalIconStatic,
+ },
{
name: "icon-play",
label: "Play",
diff --git a/registry/__index__.tsx b/registry/__index__.tsx
index e5f2f313..c890ff67 100644
--- a/registry/__index__.tsx
+++ b/registry/__index__.tsx
@@ -47,6 +47,7 @@ import { iconInfoConfig } from "@/registry/remocn/icon-info/config";
import { iconLoaderConfig } from "@/registry/remocn/icon-loader/config";
import { iconMenuConfig } from "@/registry/remocn/icon-menu/config";
import { iconMicConfig } from "@/registry/remocn/icon-mic/config";
+import { iconMoreHorizontalConfig } from "@/registry/remocn/icon-more-horizontal/config";
import { iconPartyPopperConfig } from "@/registry/remocn/icon-party-popper/config";
import { iconPauseConfig } from "@/registry/remocn/icon-pause/config";
import { iconPlayConfig } from "@/registry/remocn/icon-play/config";
@@ -753,6 +754,13 @@ const registry: Record<string, RegistryEntry> = {
})),
config: iconMicConfig,
},
+ "icon-more-horizontal": {
+ load: () =>
+ import("@/registry/remocn/icon-more-horizontal").then((m) => ({
+ default: m.MoreHorizontalIcon,
+ })),
+ config: iconMoreHorizontalConfig,
+ },
"icon-party-popper": {
load: () =>
import("@/registry/remocn/icon-party-popper").then((m) => ({
diff --git a/registry/remocn/icon-more-horizontal/config.ts b/registry/remocn/icon-more-horizontal/config.ts
new file mode 100644
index 00000000..9d0dd57f
--- /dev/null
+++ b/registry/remocn/icon-more-horizontal/config.ts
@@ -0,0 +1,44 @@
+import { type ComponentConfig, FPS } from "@/lib/customizer-config";
+
+export const iconMoreHorizontalConfig: ComponentConfig = {
+ componentName: "MoreHorizontalIcon",
+ importPath: "@/components/remocn/icon-more-horizontal",
+ controls: {
+ animation: {
+ type: "select",
+ default: "both",
+ options: ["draw", "action", "both"],
+ label: "Animation",
+ },
+ loop: {
+ type: "boolean",
+ default: false,
+ label: "Loop",
+ },
+ size: {
+ type: "number",
+ default: 48,
+ min: 24,
+ max: 200,
+ step: 4,
+ label: "Size",
+ },
+ color: {
+ type: "color",
+ default: "#171717",
+ label: "Color",
+ },
+ strokeWidth: {
+ type: "number",
+ default: 2,
+ min: 1,
+ max: 3,
+ step: 0.25,
+ label: "Stroke width",
+ },
+ },
+ durationInFrames: 70,
+ fps: FPS,
+ compositionWidth: 48,
+ compositionHeight: 48,
+};
diff --git a/registry/remocn/icon-more-horizontal/index.tsx b/registry/remocn/icon-more-horizontal/index.tsx
new file mode 100644
index 00000000..8066ddda
--- /dev/null
+++ b/registry/remocn/icon-more-horizontal/index.tsx
@@ -0,0 +1,128 @@
+"use client";
+
+import { Easing, interpolate } from "remotion";
+import {
+ drawnPathProps,
+ type IconAnimationProps,
+ useIconAnimation,
+} from "@/lib/remocn-icons";
+
+const LEFT_PATH =
+ "M5 11 A1 1 0 0 1 6 12 A1 1 0 0 1 5 13 A1 1 0 0 1 4 12 A1 1 0 0 1 5 11";
+const CENTER_PATH =
+ "M12 11 A1 1 0 0 1 13 12 A1 1 0 0 1 12 13 A1 1 0 0 1 11 12 A1 1 0 0 1 12 11";
+const RIGHT_PATH =
+ "M19 11 A1 1 0 0 1 20 12 A1 1 0 0 1 19 13 A1 1 0 0 1 18 12 A1 1 0 0 1 19 11";
+
+const TIMINGS = {
+ drawDurationInFrames: 16,
+ actionDelayInFrames: 2,
+ actionDurationInFrames: 22,
+ loop: false,
+} as const;
+
+const DOTS = [
+ { cx: 5, path: LEFT_PATH, drawWindow: [0, 0.5], stagger: 0 },
+ { cx: 12, path: CENTER_PATH, drawWindow: [0.25, 0.75], stagger: 0.27 },
+ { cx: 19, path: RIGHT_PATH, drawWindow: [0.5, 1], stagger: 0.54 },
+] as const;
+
+export function MoreHorizontalIcon({
+ animation = "both",
+ loop,
+ speed,
+ size = 48,
+ color = "currentColor",
+ strokeWidth = 2,
+ className,
+}: IconAnimationProps) {
+ const { drawProgress, scaleIn, actionProgress, actionFrame } =
+ useIconAnimation({ animation, loop, speed }, TIMINGS);
+
+ const linearDraw = 1 - (1 - drawProgress) ** (1 / 3);
+ const acting = animation !== "draw" && actionFrame >= 0;
+
+ const scale = 0.85 + 0.15 * scaleIn;
+
+ return (
+ <svg
+ className={className}
+ width={size}
+ height={size}
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke={color}
+ strokeWidth={strokeWidth}
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ style={{
+ overflow: "visible",
+ transformOrigin: "center",
+ transform: `scale(${scale})`,
+ }}
+ >
+ {DOTS.map((dot) => {
+ const drawn = interpolate(linearDraw, [...dot.drawWindow], [0, 1], {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ easing: Easing.out(Easing.quad),
+ });
+ const dash = drawnPathProps(dot.path, drawn);
+ const dotScale = 0.6 + 0.4 * drawn;
+ const lift = acting
+ ? interpolate(
+ actionProgress,
+ [dot.stagger, dot.stagger + 0.2, dot.stagger + 0.4],
+ [0, -3, 0],
+ {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ easing: Easing.inOut(Easing.quad),
+ },
+ )
+ : 0;
+ const tx = dot.cx * (1 - dotScale);
+ const ty = 12 * (1 - dotScale) + lift;
+ return (
+ <g key={dot.cx} transform={`translate(${tx} ${ty}) scale(${dotScale})`}>
+ <path
+ d={dot.path}
+ strokeDasharray={dash.strokeDasharray}
+ strokeDashoffset={dash.strokeDashoffset}
+ />
+ </g>
+ );
+ })}
+ </svg>
+ );
+}
+
+export function MoreHorizontalIconStatic({
+ size = 48,
+ color = "currentColor",
+ strokeWidth = 2,
+ className,
+}: {
+ size?: number;
+ color?: string;
+ strokeWidth?: number;
+ className?: string;
+}) {
+ return (
+ <svg
+ className={className}
+ width={size}
+ height={size}
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke={color}
+ strokeWidth={strokeWidth}
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ >
+ <circle cx="5" cy="12" r="1" />
+ <circle cx="12" cy="12" r="1" />
+ <circle cx="19" cy="12" r="1" />
+ </svg>
+ );
+}
diff --git a/registry/remocn/registry.json b/registry/remocn/registry.json
index 9aa9c643..c0b3efde 100644
--- a/registry/remocn/registry.json
+++ b/registry/remocn/registry.json
@@ -1924,6 +1924,21 @@
}
]
},
+ {
+ "name": "icon-more-horizontal",
+ "type": "registry:component",
+ "title": "More Horizontal",
+ "description": "Animated Lucide more-horizontal icon — three dots pop in, then do a left-to-right thinking wave.",
+ "dependencies": ["remotion"],
+ "registryDependencies": ["@remocn/icons-core"],
+ "files": [
+ {
+ "path": "icon-more-horizontal/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/icon-more-horizontal.tsx"
+ }
+ ]
+ },
{
"name": "icon-sparkles",
"type": "registry:component",