{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "pricing-single-plan",
  "type": "registry:component",
  "title": "Pricing Single Plan",
  "description": "A minimal one-plan page with an oversized price, a slowly turning guarantee seal and a shining call to action. Every included feature ticks itself on in sequence when the section scrolls into view.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "pricing",
    "pricing",
    "single plan",
    "minimal",
    "guarantee",
    "checklist",
    "section"
  ],
  "docs": "https://hyperblur.dev/effects/pricing-single-plan",
  "files": [
    {
      "path": "registry/hyperblur/pricing-single-plan.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/pricing-single-plan.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport interface PricingSinglePlanProps extends Omit<React.HTMLAttributes<HTMLElement>, \"title\"> {\n  eyebrow?: string;\n  title?: string;\n  subtitle?: string;\n  planName?: string;\n  price?: number;\n  yearlyPrice?: number;\n  period?: string;\n  features?: string[];\n  stats?: { value: string; label: string }[];\n  sealText?: string;\n  currency?: string;\n  locale?: string;\n  cta?: { label: string; href: string };\n  secondary?: { label: string; href: string } | null;\n  accent?: string;\n}\n\nconst defaultFeatures = [\n  \"Unlimited projects\",\n  \"Unlimited collaborators\",\n  \"Custom domains with SSL\",\n  \"Version history forever\",\n  \"Form submissions and webhooks\",\n  \"Password-protected pages\",\n  \"Analytics without cookies\",\n  \"Global CDN on every page\",\n  \"Priority email support\",\n];\n\nconst defaultStats = [\n  { value: \"4,200+\", label: \"studios on the plan\" },\n  { value: \"0\", label: \"add-ons or upsells\" },\n  { value: \"1 min\", label: \"to cancel, online\" },\n];\n\nconst css = `\n.hb-vh10 {\n  --hb-vh10-accent: #7fb3ff;\n  container-type: inline-size;\n  position: relative;\n  box-sizing: border-box;\n  width: 100%;\n  overflow: hidden;\n  background: #0a0a0a;\n  color: #ededed;\n  font-family: inherit;\n  -webkit-font-smoothing: antialiased;\n}\n.hb-vh10 *, .hb-vh10 *::before, .hb-vh10 *::after { box-sizing: border-box; }\n.hb-vh10-inner { position: relative; max-width: 920px; margin: 0 auto; padding: 72px 20px 64px; text-align: center; }\n.hb-vh10-eyebrow { margin: 0; color: #8f8f8f; font-family: var(--font-mono), ui-monospace, monospace; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }\n.hb-vh10-title { margin: 14px auto 0; max-width: 620px; font-family: var(--font-grotesk), var(--font-sans), sans-serif; font-size: clamp(30px, 5cqi, 52px); font-weight: 600; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }\n.hb-vh10-sub { margin: 14px auto 0; max-width: 480px; color: #8f8f8f; font-size: 15.5px; line-height: 1.6; }\n.hb-vh10-priceblock { position: relative; display: inline-flex; flex-direction: column; align-items: center; margin-top: 40px; padding: 0 92px; }\n.hb-vh10-plan { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1); color: #cfcfcf; font-size: 12.5px; font-weight: 600; }\n.hb-vh10-plan i { width: 6px; height: 6px; border-radius: 999px; background: var(--hb-vh10-accent); box-shadow: 0 0 8px var(--hb-vh10-accent); font-style: normal; }\n.hb-vh10-price { display: flex; align-items: flex-start; gap: 4px; margin-top: 14px; }\n.hb-vh10-price strong {\n  font-family: var(--font-grotesk), var(--font-sans), sans-serif;\n  font-size: clamp(72px, 13cqi, 120px);\n  font-weight: 600;\n  line-height: .9;\n  letter-spacing: -.06em;\n  font-variant-numeric: tabular-nums;\n  background: linear-gradient(180deg, #fff 30%, #8f8f98);\n  -webkit-background-clip: text;\n  background-clip: text;\n  color: transparent;\n}\n.hb-vh10-period { margin-top: 10px; color: #8f8f8f; font-size: 14px; }\n.hb-vh10-alt { margin-top: 6px; color: #6f6f6f; font-size: 13px; font-variant-numeric: tabular-nums; }\n.hb-vh10-alt b { color: color-mix(in srgb, var(--hb-vh10-accent) 60%, #fff); font-weight: 600; }\n.hb-vh10-seal { position: absolute; right: -6px; top: 34px; width: 104px; height: 104px; }\n.hb-vh10-seal svg { width: 100%; height: 100%; overflow: visible; }\n.hb-vh10-ring { transform-origin: 50px 50px; animation: hb-vh10-spin 22s linear infinite; }\n@keyframes hb-vh10-spin { to { transform: rotate(1turn); } }\n.hb-vh10-ring text { fill: #a1a1a1; font-family: var(--font-mono), ui-monospace, monospace; font-size: 8.4px; letter-spacing: .18em; text-transform: uppercase; }\n.hb-vh10-core { fill: #111113; stroke: rgba(255, 255, 255, .12); }\n.hb-vh10-core-mark { fill: none; stroke: var(--hb-vh10-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }\n.hb-vh10-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 30px; }\n.hb-vh10-cta {\n  position: relative;\n  display: inline-flex;\n  align-items: center;\n  gap: 10px;\n  height: 48px;\n  padding: 0 24px;\n  border-radius: 999px;\n  background: #ededed;\n  color: #0a0a0a;\n  font-size: 15px;\n  font-weight: 600;\n  text-decoration: none;\n  overflow: hidden;\n  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 16px 40px -16px color-mix(in srgb, var(--hb-vh10-accent) 80%, transparent);\n  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), background-color .2s ease;\n}\n.hb-vh10-cta::after {\n  content: \"\";\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  left: -60%;\n  width: 40%;\n  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent);\n  transform: skewX(-20deg);\n  animation: hb-vh10-shine 4.2s cubic-bezier(.4, 0, .2, 1) infinite;\n}\n@keyframes hb-vh10-shine { 0%, 60% { left: -60%; } 100% { left: 140%; } }\n.hb-vh10-cta svg { width: 15px; height: 15px; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }\n.hb-vh10-cta:hover { background: #fff; transform: translateY(-1px); }\n.hb-vh10-cta:hover svg { transform: translateX(3px); }\n.hb-vh10-cta:active { transform: scale(.98); }\n.hb-vh10-cta:focus-visible { outline: 2px solid var(--hb-vh10-accent); outline-offset: 3px; }\n.hb-vh10-sec { color: #a1a1a1; font-size: 14px; font-weight: 500; text-decoration: none; padding: 0 8px; border-radius: 6px; transition: color .2s ease; }\n.hb-vh10-sec:hover { color: #fff; }\n.hb-vh10-sec:focus-visible { outline: 2px solid var(--hb-vh10-accent); outline-offset: 3px; }\n.hb-vh10-list { display: grid; grid-template-columns: 1fr; gap: 0 28px; margin: 48px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255, 255, 255, .07); list-style: none; text-align: left; }\n@container (min-width: 620px) { .hb-vh10-list { grid-template-columns: repeat(3, 1fr); } }\n.hb-vh10-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: #6f6f6f; font-size: 14px; transition: color .4s ease; transition-delay: calc(var(--i) * 90ms); }\n.hb-vh10-box { position: relative; flex: none; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid #3a3a40; transition: border-color .3s ease, background-color .3s ease; transition-delay: calc(var(--i) * 90ms); }\n.hb-vh10-box svg { position: absolute; inset: 1px; width: 13px; height: 13px; }\n.hb-vh10-box path { fill: none; stroke: #0a0a0a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .35s cubic-bezier(.65, 0, .35, 1); transition-delay: calc(var(--i) * 90ms + 120ms); }\n.hb-vh10[data-in=\"true\"] .hb-vh10-list li { color: #cfcfcf; }\n.hb-vh10[data-in=\"true\"] .hb-vh10-box { border-color: var(--hb-vh10-accent); background: var(--hb-vh10-accent); }\n.hb-vh10[data-in=\"true\"] .hb-vh10-box path { stroke-dashoffset: 0; }\n.hb-vh10-stats { display: grid; grid-template-columns: repeat(var(--n), 1fr); margin-top: 32px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .015); }\n.hb-vh10-stat { padding: 16px 12px; }\n.hb-vh10-stat + .hb-vh10-stat { border-left: 1px solid rgba(255, 255, 255, .07); }\n.hb-vh10-stat strong { display: block; font-family: var(--font-grotesk), var(--font-sans), sans-serif; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }\n.hb-vh10-stat span { color: #8f8f8f; font-size: 12.5px; }\n@container (max-width: 560px) {\n  .hb-vh10-priceblock { padding: 0; }\n  .hb-vh10-seal { position: relative; right: auto; top: auto; margin-top: 20px; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .hb-vh10 *, .hb-vh10 *::before, .hb-vh10 *::after { animation: none !important; transition: none !important; }\n  .hb-vh10-list li { color: #cfcfcf; }\n  .hb-vh10-box { border-color: var(--hb-vh10-accent); background: var(--hb-vh10-accent); }\n  .hb-vh10-box path { stroke-dashoffset: 0; }\n}\n`;\n\nexport function PricingSinglePlan({\n  eyebrow = \"One plan\",\n  title = \"Everything included. No tiers to compare.\",\n  subtitle = \"Build and host as many sites as you like. One flat price per workspace, the whole team included.\",\n  planName = \"Workspace\",\n  price = 24,\n  yearlyPrice = 240,\n  period = \"per workspace / month\",\n  features = defaultFeatures,\n  stats = defaultStats,\n  sealText = \"30-day money-back guarantee  ·  cancel anytime  ·  \",\n  currency = \"USD\",\n  locale = \"en-US\",\n  cta = { label: \"Start your workspace\", href: \"#\" },\n  secondary = { label: \"See what is included\", href: \"#\" },\n  accent = \"#7fb3ff\",\n  className = \"\",\n  style,\n  ...rest\n}: PricingSinglePlanProps) {\n  const uid = React.useId().replace(/:/g, \"\");\n  const ref = React.useRef<HTMLElement>(null);\n\n  const money = React.useMemo(\n    () => new Intl.NumberFormat(locale, { style: \"currency\", currency, maximumFractionDigits: 0 }),\n    [locale, currency],\n  );\n\n  React.useEffect(() => {\n    const el = ref.current;\n    if (!el) return;\n    if (typeof IntersectionObserver === \"undefined\") {\n      el.dataset.in = \"true\";\n      return;\n    }\n    const io = new IntersectionObserver(\n      (entries) => {\n        if (entries.some((e) => e.isIntersecting)) {\n          el.dataset.in = \"true\";\n          io.disconnect();\n        }\n      },\n      { threshold: 0.2 },\n    );\n    io.observe(el);\n    return () => io.disconnect();\n  }, []);\n\n  const yearlySave = price * 12 - yearlyPrice;\n\n  return (\n    <section\n      ref={ref}\n      className={`hb-vh10 ${className}`}\n      style={{ \"--hb-vh10-accent\": accent, ...style } as React.CSSProperties}\n      {...rest}\n    >\n      <style href=\"hb-pricing-single-plan\" precedence=\"default\">{css}</style>\n      <div className=\"hb-vh10-inner\">\n        {eyebrow ? <p className=\"hb-vh10-eyebrow\">{eyebrow}</p> : null}\n        <h2 className=\"hb-vh10-title\">{title}</h2>\n        {subtitle ? <p className=\"hb-vh10-sub\">{subtitle}</p> : null}\n        <div className=\"hb-vh10-priceblock\">\n          <span className=\"hb-vh10-plan\"><i aria-hidden=\"true\" />{planName}</span>\n          <div className=\"hb-vh10-price\">\n            <strong>{money.format(price)}</strong>\n          </div>\n          <span className=\"hb-vh10-period\">{period}</span>\n          {yearlyPrice > 0 ? (\n            <span className=\"hb-vh10-alt\">\n              or {money.format(yearlyPrice)} a year{yearlySave > 0 ? <>, <b>{money.format(yearlySave)} off</b></> : null}\n            </span>\n          ) : null}\n          {sealText ? (\n            <span className=\"hb-vh10-seal\">\n              <svg viewBox=\"0 0 100 100\" role=\"img\" aria-label={sealText.split(\"·\").map((t) => t.trim()).filter(Boolean).join(\". \")}>\n                <defs>\n                  <path id={`${uid}-c`} d=\"M50 50 m-40 0 a40 40 0 1 1 80 0 a40 40 0 1 1 -80 0\" />\n                </defs>\n                <g className=\"hb-vh10-ring\">\n                  <text>\n                    <textPath href={`#${uid}-c`} textLength=\"250\" lengthAdjust=\"spacing\">{sealText}</textPath>\n                  </text>\n                </g>\n                <circle className=\"hb-vh10-core\" cx=\"50\" cy=\"50\" r=\"27\" />\n                <path className=\"hb-vh10-core-mark\" d=\"M50 36l10 4v8c0 7-4.6 11.5-10 14-5.4-2.5-10-7-10-14v-8z M45 49.5l3.6 3.6 6.6-7\" />\n              </svg>\n            </span>\n          ) : null}\n        </div>\n        <div className=\"hb-vh10-actions\">\n          <a className=\"hb-vh10-cta\" href={cta.href}>\n            {cta.label}\n            <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M3 8h9M8.5 4.5L12 8l-3.5 3.5\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.8\" strokeLinecap=\"round\" strokeLinejoin=\"round\" /></svg>\n          </a>\n          {secondary ? <a className=\"hb-vh10-sec\" href={secondary.href}>{secondary.label}</a> : null}\n        </div>\n        <ul className=\"hb-vh10-list\">\n          {features.map((f, i) => (\n            <li key={f} style={{ \"--i\": i } as React.CSSProperties}>\n              <span className=\"hb-vh10-box\" aria-hidden=\"true\">\n                <svg viewBox=\"0 0 14 14\"><path d=\"M3 7.4l2.6 2.6L11 4.4\" /></svg>\n              </span>\n              {f}\n            </li>\n          ))}\n        </ul>\n        {stats.length ? (\n          <div className=\"hb-vh10-stats\" style={{ \"--n\": stats.length } as React.CSSProperties}>\n            {stats.map((s) => (\n              <div key={s.label} className=\"hb-vh10-stat\">\n                <strong>{s.value}</strong>\n                <span>{s.label}</span>\n              </div>\n            ))}\n          </div>\n        ) : null}\n      </div>\n    </section>\n  );\n}\n"
    }
  ]
}