{"slug":"frame-macos-notification","title":"frame-macos-notification","summary":"拟真 macOS 通知 banner + app icon + 标题正文, 适合 video overlay / 产品发布预告","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-11-09T16:53:39.151281Z","repo":{"url":"https://github.com/nexu-io/html-anything","stars":9480,"forks":906,"license":"Apache-2.0","updatedAt":"2026-11-09T16:43:21Z"},"bodyHtml":"<hr>\n<h2>name: frame-macos-notification\nzh_name: \"macOS 通知横幅\"\nen_name: \"macOS Notification Banner\"\nemoji: \"\uD83D\uDD14\"\ndescription: \"拟真 macOS 通知 banner + app icon + 标题正文, 适合 video overlay / 产品发布预告\"\ncategory: card\nscenario: video\naspect_hint: \"1920×1080 视频或 480×120 横幅\"\nfeatured: 41\ntags: [\"macos\", \"notification\", \"banner\", \"overlay\", \"frame\"]\nexample_id: sample-frame-macos-notification\nexample_name: \"macOS 通知 · 新功能发布\"\nexample_format: markdown\nexample_tagline: \"Big Sur 磨砂玻璃 banner\"\nexample_desc: \"App icon + 标题 + 双行正文, 视频角落叠加用\"\nexample_source_url: \"https://hyperframes.heygen.com/catalog\"\nexample_source_label: \"hyperframes · macos-notification\"</h2>\n<p>【模板: macOS 通知横幅】\n【意图】把一段公告 / 消息 / 提示渲染成 macOS Big Sur+ 风格的通知横幅, 适合视频角落叠加、产品发布预告、社媒图。Inspired by hyperframes macos-notification。</p>\n<p>【画布】两种用法:</p>\n<ul>\n<li>视频叠加 1920×1080, 通知放右上角, 周围透明。</li>\n<li>单独 banner 480×120, 居中输出。</li>\n</ul>\n<p>【横幅结构】</p>\n<ul>\n<li>外框: 圆角 14px (macOS Big Sur 标准), 480×120 (或更长 480×180 含正文), 12-16px 内边距。</li>\n<li>背景: <strong>frosted glass</strong> 效果 — <code>background: rgba(245,245,247,0.78)</code> + <code>backdrop-filter: blur(40px) saturate(180%)</code>; 暗色版 <code>rgba(28,28,30,0.78)</code>。</li>\n<li>边框: 1px <code>rgba(0,0,0,0.06)</code> (light) / <code>rgba(255,255,255,0.08)</code> (dark); 顶部加 1px 亮 highlight <code>rgba(255,255,255,0.5)</code>。</li>\n<li>阴影: <code>0 10px 40px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.08)</code>。</li>\n</ul>\n<p>【内容】</p>\n<ul>\n<li>左侧: <strong>App icon</strong> (44×44, 圆角 10px, CSS gradient + 1 个 emoji 或 monogram 字母, <strong>不用外链图片</strong>)。</li>\n<li>中间:\n<ul>\n<li>顶部 row: App 名 (SF Pro 13px, weight 600) + <code>now</code> 或具体时间 (12px, opacity 0.6) — 两端对齐。</li>\n<li>标题 (15px, weight 600, 1 行截断)。</li>\n<li>正文 (13px, weight 400, 1-2 行截断, line-height 1.35)。</li>\n</ul>\n</li>\n<li>右侧 (可选): action button \"Open\" 或 \"Reply\" (capsule, 浅灰底)。</li>\n</ul>\n<p>【字体】</p>\n<ul>\n<li>主: <code>SF Pro Text</code> → fallback <code>Inter</code> / <code>system-ui</code>; 中文用 <code>PingFang SC</code> / <code>Noto Sans SC</code>。</li>\n</ul>\n<p>【可选附加】</p>\n<ul>\n<li>多条通知堆叠: 第一条在前, 后面 2 条向后向下递缩 (scale 0.96 + opacity 0.6 + translateY)。</li>\n<li>入场动效: 从屏幕外右侧滑入 <code>transform: translateX(110%)→0</code>, 200ms ease-out; 可被 <code>prefers-reduced-motion</code> 关闭。</li>\n<li>右上角控制 chip \"Clear\" (hover 显示, opacity 默认 0)。</li>\n</ul>\n<p>【设计细节】</p>\n<ul>\n<li>light mode 背景白磨砂, dark mode (推荐 video) 几乎黑磨砂。</li>\n<li>icon 不能用外链 emoji 图片, 用 unicode emoji 或 CSS 绘制几何。</li>\n<li>必须用用户提供的内容; 标题 + 正文清晰来自用户输入。</li>\n<li>单文件 HTML, 注意 <code>backdrop-filter</code> Safari 需要 <code>-webkit-</code> 前缀。</li>\n</ul>\n","files":[{"path":"example.html","sizeBytes":3421,"isText":false},{"path":"example.md","sizeBytes":237,"isText":true},{"path":"SKILL.md","sizeBytes":2822,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-11-09T16:57:27.500589Z","sha256":"62CA3D586DE75C1FAE6A37B8ADB038711F9171EF82FBBC0A8CF686838B2BB41F","sizeBytes":3700},"review":null,"source":{"repositoryUrl":"https://github.com/nexu-io/html-anything","path":"next/src/lib/templates/skills/frame-macos-notification","license":"Apache-2.0","commit":"975fb3bcb98f1777781fb4c738902d36e32c8c46","subtreeSha":"8198F1269AD66FF20C75B4031A2142F7933C51002D892A15D3B84B4C88E6EE43","lastSyncedAt":"2026-11-09T16:53:28.124519Z"},"reviewedAt":"2026-11-09T17:05:14.808102Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/nexu-io/html-anything/tree/main/next/src/lib/templates/skills/frame-macos-notification"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install nexu-io-html-anything@llmmart"},{"target":"git","command":"git clone https://github.com/nexu-io/html-anything.git"}]}