Skip to content

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

1.0 KB
Raw Blame
import { type ComponentConfig, FPS } from "@/lib/customizer-config";

export const iconCodeConfig: ComponentConfig = {
  componentName: "CodeIcon",
  importPath: "@/components/remocn/icon-code",
  controls: {
    animation: {
      type: "enum",
      default: "both",
      variants: {
        draw: {},
        action: {},
        both: {},
      },
      description: "Animation",
    },
    loop: {
      type: "boolean",
      default: false,
      description: "Loop",
    },
    size: {
      type: "number",
      min: 24,
      max: 200,
      step: 4,
      default: 48,
      description: "Size",
      hiddenFromList: false,
    },
    color: {
      type: "color",
      default: "#171717",
      description: "Color",
    },
    strokeWidth: {
      type: "number",
      min: 1,
      max: 3,
      step: 0.25,
      default: 2,
      description: "Stroke width",
      hiddenFromList: false,
    },
  },
  dimensions: { width: 48, height: 48 },
  durationInFrames: 70,
  fps: FPS,
  compositionWidth: 48,
  compositionHeight: 48,
};