norahe0304-art/30x-video / cli/skill
30x-web-to-video
FlaggedUse when a user gives a brand URL and wants a premium launch, demo, or marketing video. Zero-manual workflow — Claude runs the V2 orchestrator itself (scrapes brand evidence, auto-installs missing tools, generates the first-cut Remotion project). User only sees the URL and the Studio preview.
scaffold/src/components/UI.tsx
View on GitHub/**
* [INPUT]: remotion, lucide-react
* [OUTPUT]: GlassPanel, BrandIcon, GradientText, GradientBar
* [POS]: UI 原语库, 被场景组件用于构建产品 mockup
* [PROTOCOL]: 变更时更新此头部,然后检查 AGENTS.md
*/
import React from "react";
import { type LucideIcon } from "lucide-react";
// ================================================================
// GlassPanel — 毛玻璃卡片
// ================================================================
export const GlassPanel: React.FC<{
children: React.ReactNode;
padding?: number;
borderRadius?: number;
blur?: number;
opacity?: number;
style?: React.CSSProperties;
}> = ({
children,
padding = 40,
borderRadius = 24,
blur = 20,
opacity = 0.06,
style,
}) => (
<div
style={{
background: `linear-gradient(135deg, rgba(255,255,255,${opacity}), rgba(255,255,255,${opacity * 0.15}))`,
backdropFilter: `blur(${blur}px)`,
WebkitBackdropFilter: `blur(${blur}px)`,
borderRadius,
border: "1px solid rgba(255,255,255,0.08)",
boxShadow: "0 8px 32px rgba(0,0,0,0.37)",
padding,
...style,
}}
>
{children}
</div>
);
// ================================================================
// BrandIcon — lucide 图标 + 品牌色容器
// ================================================================
export const BrandIcon: React.FC<{
icon: LucideIcon;
color: string;
size?: number;
containerSize?: number;
borderRadius?: number;
}> = ({ icon: Icon, color, size = 32, containerSize = 64, borderRadius = 16 }) => (
<div
style={{
width: containerSize,
height: containerSize,
display: "flex",
alignItems: "center",
justifyContent: "center",
background: `${color}12`,
border: `1px solid ${color}20`,
borderRadius,
}}
>
<Icon size={size} color={color} strokeWidth={1.5} />
</div>
);
// ================================================================
// GradientText — 渐变色标题文字
// ================================================================
export const GradientText: React.FC<{
children: React.ReactNode;
colors: [string, string];
angle?: number;
style?: React.CSSProperties;
}> = ({ children, colors, angle = 135, style }) => (
<span
style={{
background: `linear-gradient(${angle}deg, ${colors[0]}, ${colors[1]})`,
backgroundClip: "text",
WebkitBackgroundClip: "text",
WebkitTextFillColor: "transparent",
...style,
}}
>
{children}
</span>
);
// ================================================================
// GradientBar — 顶部/底部渐变装饰线
// ================================================================
export const GradientBar: React.FC<{
colors: string[];
height?: number;
position?: "top" | "bottom";
}> = ({ colors, height = 4, position = "top" }) => (
<div
style={{
position: "absolute",
left: 0,
right: 0,
[position]: 0,
height,
background: `linear-gradient(90deg, ${colors.join(", ")})`,
}}
/>
);
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies. | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |
| meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要". | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |