Skip to content
Skillv1.0.0

frame-macos-notification

Realistic macOS notification banner with app icon, title, and body, suited to video overlays or product teasers.

by nexu-io(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from nexu-io/open-design (skills/frame-macos-notification/SKILL.md) via skills.sh. Install upstream with npx skills add nexu-io/open-design --skill frame-macos-notification. Copyright stays with the author.

【模板: macOS 通知横幅】 【意图】把一段公告 / 消息 / 提示渲染成 macOS Big Sur+ 风格的通知横幅, 适合视频角落叠加、产品发布预告、社媒图。Inspired by hyperframes macos-notification。

【画布】两种用法:

  • 视频叠加 1920×1080, 通知放右上角, 周围透明。
  • 单独 banner 480×120, 居中输出。

【横幅结构】

  • 外框: 圆角 14px (macOS Big Sur 标准), 480×120 (或更长 480×180 含正文), 12-16px 内边距。
  • 背景: frosted glass 效果 — background: rgba(245,245,247,0.78) + backdrop-filter: blur(40px) saturate(180%); 暗色版 rgba(28,28,30,0.78)
  • 边框: 1px rgba(0,0,0,0.06) (light) / rgba(255,255,255,0.08) (dark); 顶部加 1px 亮 highlight rgba(255,255,255,0.5)
  • 阴影: 0 10px 40px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.08)

【内容】

  • 左侧: App icon (44×44, 圆角 10px, CSS gradient + 1 个 emoji 或 monogram 字母, 不用外链图片)。
  • 中间:
    • 顶部 row: App 名 (SF Pro 13px, weight 600) + now 或具体时间 (12px, opacity 0.6) — 两端对齐。
    • 标题 (15px, weight 600, 1 行截断)。
    • 正文 (13px, weight 400, 1-2 行截断, line-height 1.35)。
  • 右侧 (可选): action button "Open" 或 "Reply" (capsule, 浅灰底)。

【字体】

  • 主: SF Pro Text → fallback Inter / system-ui; 中文用 PingFang SC / Noto Sans SC

【可选附加】

  • 多条通知堆叠: 第一条在前, 后面 2 条向后向下递缩 (scale 0.96 + opacity 0.6 + translateY)。
  • 入场动效: 从屏幕外右侧滑入 transform: translateX(110%)→0, 200ms ease-out; 可被 prefers-reduced-motion 关闭。
  • 右上角控制 chip "Clear" (hover 显示, opacity 默认 0)。

【设计细节】

  • light mode 背景白磨砂, dark mode (推荐 video) 几乎黑磨砂。
  • icon 不能用外链 emoji 图片, 用 unicode emoji 或 CSS 绘制几何。
  • 必须用用户提供的内容; 标题 + 正文清晰来自用户输入。
  • 单文件 HTML, 注意 backdrop-filter Safari 需要 -webkit- 前缀。

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/nexu-io-open-design-frame-macos-notification/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

nexu-io-open-design-frame-macos-notification.ocm.jsonjson
{
  "ocm": "1",
  "id": "nexu-io-open-design-frame-macos-notification",
  "kind": "skill",
  "name": "frame-macos-notification",
  "description": "Realistic macOS notification banner with app icon, title, and body, suited to video overlays or product teasers.",
  "publisher": "nexu-io",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "macos",
      "notification",
      "banner",
      "overlay",
      "frame",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Realistic macOS notification banner with app icon, title, and body, suited to video overlays or product teasers."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/nexu-io/open-design",
      "path": "skills/frame-macos-notification/SKILL.md",
      "ref": "HEAD",
      "url": "https://www.skills.sh/nexu-io/open-design/frame-macos-notification",
      "key": "nexu-io/open-design/skills/frame-macos-notification/SKILL.md"
    }
  },
  "instructions": "【模板: macOS 通知横幅】\n【意图】把一段公告 / 消息 / 提示渲染成 macOS Big Sur+ 风格的通知横幅, 适合视频角落叠加、产品发布预告、社媒图。Inspired by hyperframes macos-notification。\n\n【画布】两种用法:\n- 视频叠加 1920×1080, 通知放右上角, 周围透明。\n- 单独 banner 480×120, 居中输出。\n\n【横幅结构】\n- 外框: 圆角 14px (macOS Big Sur 标准), 480×120 (或更长 480×180 含正文), 12-16px 内边距。\n- 背景: **frosted glass** 效果 — `background: rgba(245,245,247,0.78)` + `backdrop-filter: blur(40px) saturate(180%)`; 暗色版 `rgba(28,28,30,0.78)`。\n- 边框: 1px `rgba(0,0,0,0.06)` (light) / `rgba(255,255,255,0.08)` (dark); 顶部加 1px 亮 highlight `rgba(255,255,255,0.5)`。\n- 阴影: `0 10px 40px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.08",
  "cost": {
    "context_tokens": 362
  }
}

Fetch it by URL: GET /api/v1/registry/nexu-io-open-design-frame-macos-notification/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.