Skip to content

The open-source full-stack studio for Opus 5.5 motion video. Reverse engineering for any video. Code video with HTML: recreate, edit and render. BYOA + BYOK · Motion.md · Images, Video, Music & Voice.

791 B
Raw Blame
interface TimelineDropInsertionLineProps {
  edge: "top" | "bottom";
  accentColor: string;
}

export function TimelineDropInsertionLine({ edge, accentColor }: TimelineDropInsertionLineProps) {
  return (
    <div
      className="absolute left-0 right-0 pointer-events-none"
      style={{
        top: edge === "top" ? -1 : undefined,
        bottom: edge === "bottom" ? -1 : undefined,
        height: 2,
        background: accentColor,
        boxShadow: `0 0 8px ${accentColor}`,
        zIndex: 30,
      }}
    >
      <span
        className="absolute rounded-full"
        style={{
          left: 0,
          top: -3,
          width: 8,
          height: 8,
          background: accentColor,
          boxShadow: `0 0 8px ${accentColor}`,
        }}
      />
    </div>
  );
}