SunUI
创始会员$79 终身更新,1月11日截止领取名额
Pro加载

Holiday Cutoff

Shipping deadline picker for a holiday: each delivery method shows its fee, its last order time and a live countdown, and the headline counts down to the next deadline that still makes it ('Order within 1d 22h 00m with Express').

适合使用的场景

  • Christmas, Lunar New Year, Mother's Day or Valentine's campaign pages with shipping deadlines
  • Cart or checkout shipping step in the weeks before a gift holiday
  • Replacing a static 'order by' banner with per-method cutoffs that stay true as time passes

注意事项

  • Cutoffs must be real; a fake deadline is dark-pattern urgency and the countdown makes it obvious
  • Pass now from the server if the client clock may be wrong; the component adds elapsed time to it
  • Use the shopper's timezone for cutoff dates, or say which timezone in the method note
  • Give a fallback (gift card, in-store pickup) so the closed state still leads somewhere

交给你的 agent 安装

一次复制就包含安装命令、使用时机、props 与设计规则。粘贴到 Claude Code、Cursor 或 Codex 即可。

这是 Pro 区块

一份许可即可解锁所有 Pro 区块,包括以后新增的。

一次付清 $129 含一年更新,或每月 $19。自己的项目和客户项目都能用,数量不限;已经装好的区块一直是你的。

查看价格

使用你的许可安装

  1. 1. 把 SunUI Pro registry 添加到 components.json。
    components.json
    {
      "registries": {
        "@sunui-pro": {
          "url": "https://sunui.synvize.com/r/pro/{name}.json",
          "headers": {
            "Authorization": "Bearer ${SUNUI_LICENSE_KEY}"
          }
        }
      }
    }
  2. 2. 把许可密钥写入 .env.local。
    $ SUNUI_LICENSE_KEY=your-license-key
  3. 3. 安装区块。
    $ npx shadcn@latest add @sunui-pro/holiday-cutoff