{
  "$schema": "https://ui.shadcn.com/schema/registry.json",
  "name": "zyx1121",
  "homepage": "https://ui.zyx.tw",
  "items": [
    {
      "name": "base",
      "type": "registry:base",
      "title": "zyx Base",
      "description": "The zyx.tw design system base: a terminal look in one monospace face on one soft white theme, five type sizes, one corner radius, a window shadow and two motion durations.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["theme", "base"],
      "docs": "Use when: Starting any project on the zyx.tw look: tokens, fonts, type sizes, motion durations.\nNot for: Changing a single color; edit the tokens in your own globals.css instead.\nFonts: put <link rel=\"stylesheet\" href=\"https://ui.zyx.tw/fonts/maple-mono-nf-cn.css\"> in the document head (index.html, or <head> in the root layout). A CSS @import of it after Tailwind is dropped.\nGuide: https://ui.zyx.tw/index.md",
      "meta": {
        "useWhen": "Starting any project on the zyx.tw look: tokens, fonts, type sizes, motion durations.",
        "notFor": "Changing a single color; edit the tokens in your own globals.css instead.",
        "related": ["utils", "corners"]
      },
      "extends": "none",
      "config": {
        "style": "base-nova",
        "iconLibrary": "lucide",
        "tailwind": {
          "baseColor": "neutral"
        },
        "registries": {
          "@zyx1121": "https://ui.zyx.tw/r/{name}.json"
        }
      },
      "dependencies": [
        "class-variance-authority",
        "cn",
        "lucide-react",
        "@base-ui/react"
      ],
      "registryDependencies": [
        "https://ui.zyx.tw/r/utils.json",
        "https://ui.zyx.tw/r/font-noto-sans-tc.json"
      ],
      "devDependencies": ["tw-animate-css", "shadcn"],
      "css": {
        "@import \"tw-animate-css\"": {},
        "@import \"shadcn/tailwind.css\"": {},
        "@utility duration-state": {
          "--tw-duration": "150ms",
          "transition-duration": "150ms",
          "--tw-ease": "cubic-bezier(0.22, 1, 0.36, 1)",
          "transition-timing-function": "cubic-bezier(0.22, 1, 0.36, 1)"
        },
        "@utility duration-overlay": {
          "--tw-duration": "200ms",
          "transition-duration": "200ms",
          "--tw-ease": "cubic-bezier(0.22, 1, 0.36, 1)",
          "transition-timing-function": "cubic-bezier(0.22, 1, 0.36, 1)"
        },
        "@utility w-menu": {
          "width": "calc(var(--anchor-width) + 0.5rem)"
        },
        "@utility terminal-link": {
          "text-decoration-thickness": "1px",
          "text-underline-offset": "0.2em",
          "transition": "text-decoration-thickness 150ms cubic-bezier(0.22, 1, 0.36, 1)",
          "&:hover": {
            "text-decoration-thickness": "2px"
          },
          "&:focus-visible": {
            "text-decoration-thickness": "2px",
            "outline": "2px solid var(--ring)",
            "outline-offset": "2px",
            "border-radius": "var(--radius-inner)"
          }
        },
        "@layer base": {
          "*": {
            "@apply border-border outline-ring/50": {}
          },
          "html": {
            "@apply font-sans": {}
          },
          "body": {
            "@apply bg-background text-body text-foreground": {}
          },
          ":root": {
            "color-scheme": "light"
          },
          "::selection": {
            "@apply bg-foreground/15": {}
          }
        },
        "@media (prefers-reduced-motion: reduce)": {
          "*, ::before, ::after": {
            "animation-duration": "1ms !important",
            "animation-delay": "0s !important",
            "animation-iteration-count": "1 !important",
            "transition-duration": "1ms !important",
            "transition-delay": "0s !important",
            "scroll-behavior": "auto !important"
          }
        }
      },
      "cssVars": {
        "theme": {
          "text-*": "initial",
          "text-display": "5rem",
          "text-display--line-height": "5rem",
          "text-headline": "2.5rem",
          "text-headline--line-height": "3rem",
          "text-title": "1.5rem",
          "text-title--line-height": "2rem",
          "text-body": "1rem",
          "text-body--line-height": "1.625rem",
          "text-caption": "0.875rem",
          "text-caption--line-height": "1.25rem",
          "font-sans": "var(--font-maple-mono, Maple Mono NF CN), var(--font-maple-mono-cjk, Maple Mono NF CN), var(--font-noto-sans-tc), ui-monospace, monospace",
          "font-heading": "var(--font-maple-mono, Maple Mono NF CN), var(--font-maple-mono-cjk, Maple Mono NF CN), var(--font-noto-sans-tc), ui-monospace, monospace",
          "font-mono": "var(--font-maple-mono, Maple Mono NF CN), var(--font-maple-mono-cjk, Maple Mono NF CN), var(--font-noto-sans-tc), ui-monospace, monospace",
          "radius-control": "0.625rem",
          "shadow-window": "0 12px 32px -8px oklch(0.24 0.012 60 / 18%), 0 4px 8px -4px oklch(0.24 0.012 60 / 10%)",
          "radius-inner": "0.375rem"
        },
        "light": {
          "background": "oklch(0.975 0.008 95)",
          "foreground": "oklch(0.24 0.012 60)",
          "mark": "oklch(0.78 0.16 62)",
          "data-low": "oklch(0.72 0.15 150)",
          "data-mid": "oklch(0.78 0.15 80)",
          "data-high": "oklch(0.68 0.19 25)",
          "primary": "oklch(0.24 0.012 60)",
          "primary-foreground": "oklch(0.975 0.008 95)",
          "muted": "oklch(0.945 0.009 90)",
          "muted-foreground": "oklch(0.5 0.01 70)",
          "destructive": "oklch(0.577 0.245 27.325)",
          "border": "oklch(0.24 0.012 60 / 12%)",
          "input": "oklch(0.24 0.012 60 / 18%)",
          "ring": "oklch(0.24 0.012 60)",
          "radius": "0.625rem"
        }
      }
    },
    {
      "name": "utils",
      "type": "registry:lib",
      "title": "Utils",
      "description": "cn at @/lib/utils, aware of the five type sizes.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["lib"],
      "docs": "Use when: Merging class names with cn when you write a component.\nNot for: Runtime logic; it only joins classes.\nGuide: https://ui.zyx.tw/index.md",
      "meta": {
        "useWhen": "Merging class names with cn when you write a component.",
        "notFor": "Runtime logic; it only joins classes.",
        "related": ["base"]
      },
      "dependencies": ["cn"],
      "files": [
        {
          "path": "registry/zyx/lib/utils.ts",
          "type": "registry:lib"
        }
      ]
    },
    {
      "name": "layout",
      "type": "registry:lib",
      "title": "Layout",
      "description": "The page layout every zyx.tw page shares: the gutter, the one centered column, the room for the corners and the row-by-row enter fade.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["layout", "motion"],
      "docs": "Use when: Laying out a page: column, page and enterRow(n) from lib/layout.\nNot for: Spacing inside a component; use the spacing scale.\nGuide: https://ui.zyx.tw/index.md",
      "meta": {
        "useWhen": "Laying out a page: column, page and enterRow(n) from lib/layout.",
        "notFor": "Spacing inside a component; use the spacing scale.",
        "related": ["corners", "page-decode", "task"]
      },
      "css": {
        ":root": {
          "--bezel": "0px",
          "--gutter": "0.75rem"
        },
        "@utility enter-row-*": {
          "--tw-animation-delay": "calc(--value(integer) * 25ms)"
        },
        "@utility transition-column": {
          "transition-property": "max-width",
          "transition-duration": "300ms",
          "transition-timing-function": "cubic-bezier(0.4, 0, 0.2, 1)"
        },
        "@utility corner-top": {
          "top": "calc(var(--bezel) + var(--gutter))"
        },
        "@utility corner-bottom": {
          "bottom": "calc(var(--bezel) + var(--gutter))"
        },
        "@utility corner-left": {
          "left": "calc(var(--bezel) + var(--gutter))"
        },
        "@utility corner-right": {
          "right": "calc(var(--bezel) + var(--gutter))"
        }
      },
      "files": [
        {
          "path": "registry/zyx/lib/layout.ts",
          "type": "registry:lib"
        }
      ]
    },
    {
      "name": "agent-telemetry",
      "type": "registry:lib",
      "title": "Agent Telemetry",
      "description": "OTLP tracing for agent apps: registerTelemetry for instrumentation.ts, inSpan, and a traced fetch for model calls that records the upstream provider. Off until OTEL_EXPORTER_OTLP_ENDPOINT is set; spans never carry content.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["agent", "lib", "observability"],
      "docs": "Use when: Tracing an agent app's requests and model calls over OTLP.\nNot for: Logging prompts or outputs; spans never carry content.\nGuide: https://ui.zyx.tw/index.md",
      "meta": {
        "useWhen": "Tracing an agent app's requests and model calls over OTLP.",
        "notFor": "Logging prompts or outputs; spans never carry content.",
        "related": ["agent-model", "agent-tools"]
      },
      "dependencies": [
        "@opentelemetry/api",
        "@opentelemetry/context-async-hooks",
        "@opentelemetry/exporter-trace-otlp-http",
        "@opentelemetry/resources",
        "@opentelemetry/sdk-trace-base"
      ],
      "files": [
        {
          "path": "registry/zyx/agent/telemetry.ts",
          "type": "registry:lib",
          "target": "lib/agent/telemetry.ts"
        }
      ]
    },
    {
      "name": "agent-model",
      "type": "registry:lib",
      "title": "Agent Model",
      "description": "Any OpenAI-compatible model for the AI SDK, configured from <PREFIX>MODEL_* variables, traced, and waiting out 429 rate limits until the gateway resets.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["agent", "lib", "ai"],
      "docs": "Use when: Calling any OpenAI-compatible model through the AI SDK from env variables.\nNot for: Picking a model per request in UI code; configure it once in env.\nGuide: https://ui.zyx.tw/index.md",
      "meta": {
        "useWhen": "Calling any OpenAI-compatible model through the AI SDK from env variables.",
        "notFor": "Picking a model per request in UI code; configure it once in env.",
        "related": ["agent-telemetry", "agent-tools"]
      },
      "dependencies": ["ai", "@ai-sdk/openai", "@opentelemetry/api"],
      "registryDependencies": ["https://ui.zyx.tw/r/agent-telemetry.json"],
      "files": [
        {
          "path": "registry/zyx/agent/model.ts",
          "type": "registry:lib",
          "target": "lib/agent/model.ts"
        }
      ]
    },
    {
      "name": "agent-tools",
      "type": "registry:lib",
      "title": "Agent Tools",
      "description": "One tool registry for the page, the chat agent and MCP: zod input parsed once, run as the signed-in person, traced, with streamText tools and a stateless MCP endpoint from the same definitions.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["agent", "lib", "ai", "mcp"],
      "docs": "Use when: Defining a tool once for the page, the chat agent and an MCP endpoint.\nNot for: Client-only helpers that never run as the signed-in person.\nGuide: https://ui.zyx.tw/index.md",
      "meta": {
        "useWhen": "Defining a tool once for the page, the chat agent and an MCP endpoint.",
        "notFor": "Client-only helpers that never run as the signed-in person.",
        "related": ["agent-model", "agent-seal"]
      },
      "dependencies": [
        "ai",
        "zod",
        "@modelcontextprotocol/server",
        "@opentelemetry/api"
      ],
      "registryDependencies": ["https://ui.zyx.tw/r/agent-telemetry.json"],
      "files": [
        {
          "path": "registry/zyx/agent/tools.ts",
          "type": "registry:lib",
          "target": "lib/agent/tools.ts"
        }
      ]
    },
    {
      "name": "agent-seal",
      "type": "registry:lib",
      "title": "Agent Seal",
      "description": "AES-256-GCM sealing for credentials an agent uses but never sees, and redact to scrub their values (and their JSON and URL forms) from anything returned.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["agent", "lib", "security"],
      "docs": "Use when: Storing credentials an agent uses but must never see, and scrubbing them from output.\nNot for: Hashing passwords; use a password hash for those.\nGuide: https://ui.zyx.tw/index.md",
      "meta": {
        "useWhen": "Storing credentials an agent uses but must never see, and scrubbing them from output.",
        "notFor": "Hashing passwords; use a password hash for those.",
        "related": ["agent-tools"]
      },
      "files": [
        {
          "path": "registry/zyx/agent/seal.ts",
          "type": "registry:lib",
          "target": "lib/agent/seal.ts"
        }
      ]
    },
    {
      "name": "agent-public-fetch",
      "type": "registry:lib",
      "title": "Agent Public Fetch",
      "description": "fetch for requests made on an agent's behalf that reaches public addresses only, checked inside the connection's own DNS lookup so DNS rebinding cannot slip through. Node.js only.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["agent", "lib", "security"],
      "docs": "Use when: Fetching a URL a person or a model supplied, server side.\nNot for: Calling your own internal services; it blocks private addresses on purpose.\nGuide: https://ui.zyx.tw/index.md",
      "meta": {
        "useWhen": "Fetching a URL a person or a model supplied, server side.",
        "notFor": "Calling your own internal services; it blocks private addresses on purpose.",
        "related": ["agent-tools"]
      },
      "dependencies": ["undici"],
      "files": [
        {
          "path": "registry/zyx/agent/public-fetch.ts",
          "type": "registry:lib",
          "target": "lib/agent/public-fetch.ts"
        }
      ]
    },
    {
      "name": "font-noto-sans-tc",
      "type": "registry:font",
      "title": "Noto Sans TC",
      "description": "Noto Sans TC for the Han characters outside the Maple Mono NF CN subset.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["font"],
      "docs": "Use when: Pages with Han characters outside the Maple Mono subset.\nNot for: Latin-only sites; the base font covers them.\nGuide: https://ui.zyx.tw/index.md",
      "meta": {
        "useWhen": "Pages with Han characters outside the Maple Mono subset.",
        "notFor": "Latin-only sites; the base font covers them.",
        "related": ["base"]
      },
      "font": {
        "family": "'Noto Sans TC Variable', sans-serif",
        "provider": "google",
        "import": "Noto_Sans_TC",
        "variable": "--font-noto-sans-tc",
        "subsets": ["latin"],
        "dependency": "@fontsource-variable/noto-sans-tc"
      }
    },
    {
      "name": "corners",
      "type": "registry:component",
      "title": "Corners",
      "description": "The four fixed corners every zyx.tw site shares: the zyx mark and the page nav on top, Privacy and Terms and the copyright below, each item with a tip.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["layout", "navigation"],
      "docs": "Use when: The frame of every page: mark and nav on top, legal links and copyright below.\nNot for: In-page navigation or toolbars; those live in the page.\nGuide: https://ui.zyx.tw/corners.md",
      "meta": {
        "useWhen": "The frame of every page: mark and nav on top, legal links and copyright below.",
        "notFor": "In-page navigation or toolbars; those live in the page.",
        "related": ["page-decode", "section-title"]
      },
      "dependencies": ["@base-ui/react"],
      "registryDependencies": [
        "https://ui.zyx.tw/r/utils.json",
        "https://ui.zyx.tw/r/tooltip.json",
        "https://ui.zyx.tw/r/layout.json"
      ],
      "css": {
        "[data-slot=\"corner-edge\"]": {
          "-webkit-backdrop-filter": "blur(12px)",
          "backdrop-filter": "blur(12px)",
          "-webkit-mask-image": "linear-gradient(var(--edge-direction), #000 35%, transparent)",
          "mask-image": "linear-gradient(var(--edge-direction), #000 35%, transparent)"
        },
        "[data-slot=\"corner-edge\"][data-edge=\"top\"]": {
          "--edge-direction": "to bottom"
        },
        "[data-slot=\"corner-edge\"][data-edge=\"bottom\"]": {
          "--edge-direction": "to top"
        }
      },
      "files": [
        {
          "path": "registry/zyx/components/corners.tsx",
          "type": "registry:component"
        },
        {
          "path": "registry/zyx/components/corner-tip.tsx",
          "type": "registry:component"
        },
        {
          "path": "registry/zyx/components/zyx-mark.tsx",
          "type": "registry:component"
        }
      ]
    },
    {
      "name": "page-decode",
      "type": "registry:component",
      "title": "Page Decode",
      "description": "The page motion: a page's text decodes in row by row as a terminal prints it, and scrambles out before a link within the app leaves it. No framework needed.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["layout", "motion"],
      "docs": "Use when: Mounting once in the root layout so every page decodes in and scrambles out.\nNot for: Animating one element after load; use scramble-text. In Next.js mount page-decode-next.\nGuide: https://ui.zyx.tw/page-decode.md",
      "meta": {
        "useWhen": "Mounting once in the root layout so every page decodes in and scrambles out.",
        "notFor": "Animating one element after load; use scramble-text. In Next.js mount page-decode-next.",
        "related": ["page-decode-next", "scramble-text", "corners"]
      },
      "css": {
        "@media (prefers-reduced-motion: no-preference)": {
          "html:has([data-slot=\"page-decode\"]):not([data-decoder]) main [class*=\"enter-row-\"]": {
            "animation": "scramble-text-hold 1.5s"
          },
          "html[data-decoder] main [class*=\"enter-row-\"]": {
            "animation": "none"
          }
        },
        "@keyframes scramble-text-hold": {
          "0%, 100%": {
            "opacity": "0"
          }
        }
      },
      "files": [
        {
          "path": "registry/zyx/components/page-decode.tsx",
          "type": "registry:component"
        }
      ],
      "registryDependencies": ["https://ui.zyx.tw/r/layout.json"]
    },
    {
      "name": "page-decode-next",
      "type": "registry:component",
      "title": "Page Decode for Next.js",
      "description": "PageDecode on the Next.js App Router: it follows the router's path and leaves through router.push, so links stay client side.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["layout", "motion", "nextjs"],
      "docs": "Use when: Mounting the page motion once in a Next.js root layout.\nNot for: Vite or other React apps; mount page-decode there.\nGuide: https://ui.zyx.tw/page-decode-next.md",
      "meta": {
        "useWhen": "Mounting the page motion once in a Next.js root layout.",
        "notFor": "Vite or other React apps; mount page-decode there.",
        "related": ["page-decode", "corners"]
      },
      "dependencies": ["next"],
      "registryDependencies": ["https://ui.zyx.tw/r/page-decode.json"],
      "files": [
        {
          "path": "registry/zyx/components/page-decode-next.tsx",
          "type": "registry:component"
        }
      ]
    },
    {
      "name": "tv",
      "type": "registry:component",
      "title": "TV",
      "description": "The screen as an old TV: it turns on from a bright line once per tab, and shows static while the page changes.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["motion", "layout", "nextjs"],
      "docs": "Use when: Mounting the screen's power-on and the static between pages once in a Next.js root layout.\nNot for: A single element's entrance; use mask-reveal or scramble-text.\nGuide: https://ui.zyx.tw/tv.md",
      "meta": {
        "useWhen": "Mounting the screen's power-on and the static between pages once in a Next.js root layout.",
        "notFor": "A single element's entrance; use mask-reveal or scramble-text.",
        "related": ["page-decode-next", "corners"]
      },
      "dependencies": ["next"],
      "registryDependencies": ["https://ui.zyx.tw/r/page-decode.json"],
      "css": {
        "[data-slot=\"tv-boot\"]": {
          "display": "none"
        },
        "html[data-boot] [data-slot=\"tv-boot\"]": {
          "position": "fixed",
          "inset": "var(--bezel)",
          "z-index": "2147483646",
          "display": "block",
          "overflow": "hidden",
          "border-radius": "var(--screen-radius)",
          "pointer-events": "none"
        },
        "[data-slot=\"tv-boot\"] > [data-part=\"top\"], [data-slot=\"tv-boot\"] > [data-part=\"bottom\"]": {
          "position": "absolute",
          "inset-inline": "0",
          "height": "50.5%",
          "background": "#000",
          "animation": "tv-part 520ms cubic-bezier(0.7, 0, 0.2, 1) 220ms both"
        },
        "[data-slot=\"tv-boot\"] > [data-part=\"top\"]": {
          "top": "0",
          "--tv-part-to": "-100%"
        },
        "[data-slot=\"tv-boot\"] > [data-part=\"bottom\"]": {
          "bottom": "0",
          "--tv-part-to": "100%"
        },
        "[data-slot=\"tv-boot\"] > [data-part=\"line\"]": {
          "position": "absolute",
          "inset-inline": "0",
          "top": "calc(50% - 1px)",
          "height": "2px",
          "background": "#fff",
          "box-shadow": "0 0 24px 4px rgb(255 255 255 / 0.5)",
          "animation": "tv-line 760ms ease-out both"
        },
        "@keyframes tv-part": {
          "to": {
            "transform": "translateY(var(--tv-part-to))"
          }
        },
        "@keyframes tv-line": {
          "0%": {
            "transform": "scaleX(0)",
            "opacity": "1"
          },
          "28%": {
            "transform": "scaleX(1)",
            "opacity": "1"
          },
          "100%": {
            "transform": "scaleX(1) scaleY(60)",
            "opacity": "0"
          }
        },
        "[data-slot=\"tv-static\"]": {
          "position": "fixed",
          "inset": "var(--bezel)",
          "z-index": "2147483646",
          "width": "calc(100% - 2 * var(--bezel))",
          "height": "calc(100% - 2 * var(--bezel))",
          "border-radius": "var(--screen-radius)",
          "image-rendering": "pixelated",
          "mix-blend-mode": "screen",
          "opacity": "0",
          "pointer-events": "none",
          "transition": "opacity 180ms ease-out"
        },
        "[data-slot=\"tv-static\"][data-on]": {
          "opacity": "0.22",
          "transition-duration": "80ms"
        },
        "@media (prefers-reduced-motion: reduce)": {
          "[data-slot=\"tv-boot\"], [data-slot=\"tv-static\"]": {
            "display": "none !important"
          }
        },
        "@media print": {
          "[data-slot=\"tv-static\"]": {
            "display": "none"
          }
        }
      },
      "files": [
        {
          "path": "registry/zyx/components/tv.tsx",
          "type": "registry:component"
        }
      ]
    },
    {
      "name": "star-field",
      "type": "registry:component",
      "title": "Star Field",
      "description": "Far stars as square pixels behind the page, drifting slowly; optionally kept to the margins of a column of text.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["motion", "background"],
      "docs": "Use when: A quiet sky behind a page or a reading column, mounted once in a layout.\nNot for: Data plots or charts; use chart.\nGuide: https://ui.zyx.tw/star-field.md",
      "meta": {
        "useWhen": "A quiet sky behind a page or a reading column, mounted once in a layout.",
        "notFor": "Data plots or charts; use chart.",
        "related": ["tv"]
      },
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"],
      "css": {
        "[data-slot=\"star-field\"][data-margins]": {
          "mask-image": "linear-gradient(to right, black calc(50% - 32rem), transparent calc(50% - 28rem), transparent calc(50% + 28rem), black calc(50% + 32rem))"
        }
      },
      "files": [
        {
          "path": "registry/zyx/components/star-field.tsx",
          "type": "registry:component"
        },
        {
          "path": "registry/zyx/lib/sky.ts",
          "type": "registry:lib"
        }
      ]
    },
    {
      "name": "ascii",
      "type": "registry:component",
      "title": "ASCII",
      "description": "Any picture as live text art on a canvas: an image, a video, a camera or a function that paints each frame, drawn as characters, braille, dots, dither, bricks, edges, rain or particles, with bloom, a chromatic split, scanlines and glitch.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["figure", "motion"],
      "docs": "Use when: A picture or a scene that should read as a terminal drawing: a hero, an empty state, a 404, a live preview.\nNot for: Numbers a reader compares; use glyph-chart or chart.\nGuide: https://ui.zyx.tw/ascii.md",
      "meta": {
        "useWhen": "A picture or a scene that should read as a terminal drawing: a hero, an empty state, a 404, a live preview.",
        "notFor": "Numbers a reader compares; use glyph-chart or chart.",
        "related": ["glyph-chart", "star-field"]
      },
      "files": [
        {
          "path": "registry/zyx/components/ascii.tsx",
          "type": "registry:component"
        }
      ]
    },
    {
      "name": "glyph-chart",
      "type": "registry:component",
      "title": "Glyph Chart",
      "description": "Charts drawn in characters that fill their container's width: a braille area or line chart, a block sparkline, a meter and block columns, in the foreground or the data hues.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["figure", "content"],
      "docs": "Use when: A trend, a share or a few columns inside text: a dashboard panel, a table cell, a stat.\nNot for: Axes, tooltips or two series to compare; use chart.\nGuide: https://ui.zyx.tw/glyph-chart.md",
      "meta": {
        "useWhen": "A trend, a share or a few columns inside text: a dashboard panel, a table cell, a stat.",
        "notFor": "Axes, tooltips or two series to compare; use chart.",
        "related": ["chart", "frame", "ascii"]
      },
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"],
      "files": [
        {
          "path": "registry/zyx/components/glyph-chart.tsx",
          "type": "registry:component"
        }
      ]
    },
    {
      "name": "hero",
      "type": "registry:component",
      "title": "Hero",
      "description": "A page title at hero size with an optional muted subtitle, entering as the page's first two rows.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["layout", "typography"],
      "docs": "Use when: The title block at the top of a page.\nNot for: Section headings inside a page; use section-title.\nGuide: https://ui.zyx.tw/hero.md",
      "meta": {
        "useWhen": "The title block at the top of a page.",
        "notFor": "Section headings inside a page; use section-title.",
        "related": ["section-title", "rows"]
      },
      "registryDependencies": [
        "https://ui.zyx.tw/r/utils.json",
        "https://ui.zyx.tw/r/layout.json"
      ],
      "files": [
        {
          "path": "registry/zyx/components/hero.tsx",
          "type": "registry:component"
        }
      ]
    },
    {
      "name": "rows",
      "type": "registry:component",
      "title": "Rows",
      "description": "Rows of a label and its value in a fixed label column; a value can be a link.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["layout", "nextjs"],
      "docs": "Use when: Facts as label and value pairs, such as a profile or a spec sheet.\nNot for: Data with many columns; use table.\nGuide: https://ui.zyx.tw/rows.md",
      "meta": {
        "useWhen": "Facts as label and value pairs, such as a profile or a spec sheet.",
        "notFor": "Data with many columns; use table.",
        "related": ["hero", "table"]
      },
      "dependencies": ["next"],
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"],
      "files": [
        {
          "path": "registry/zyx/components/rows.tsx",
          "type": "registry:component"
        }
      ]
    },
    {
      "name": "figure-diagram",
      "type": "registry:component",
      "title": "Diagram Figure",
      "description": "A drawing in box-drawing characters, set as text; its steps light one part at a time with a line under it.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["figure", "motion"],
      "docs": "Use when: An architecture, a flow or pseudo code the reader reads part by part.\nNot for: Charts of numbers; use chart.\nGuide: https://ui.zyx.tw/figure-diagram.md",
      "meta": {
        "useWhen": "An architecture, a flow or pseudo code the reader reads part by part.",
        "notFor": "Charts of numbers; use chart.",
        "related": ["scrolly", "figure-trace"]
      },
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"],
      "files": [
        {
          "path": "registry/zyx/components/figure-diagram.tsx",
          "type": "registry:component"
        },
        {
          "path": "registry/zyx/lib/figures.ts",
          "type": "registry:lib"
        },
        {
          "path": "registry/zyx/hooks/use-reduced-motion.ts",
          "type": "registry:hook"
        }
      ]
    },
    {
      "name": "figure-lesson",
      "type": "registry:component",
      "title": "Lesson Figure",
      "description": "One choice and what each answer leads to: titled blocks of rows, with the line to take from it.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["figure", "motion"],
      "docs": "Use when: A choice between ways, where the reader picks one and sees the result.\nNot for: A plain list of options; use tabs.\nGuide: https://ui.zyx.tw/figure-lesson.md",
      "meta": {
        "useWhen": "A choice between ways, where the reader picks one and sees the result.",
        "notFor": "A plain list of options; use tabs.",
        "related": ["figure-quiz", "figure-dial"]
      },
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"],
      "files": [
        {
          "path": "registry/zyx/components/figure-lesson.tsx",
          "type": "registry:component"
        },
        {
          "path": "registry/zyx/lib/figures.ts",
          "type": "registry:lib"
        }
      ]
    },
    {
      "name": "figure-quiz",
      "type": "registry:component",
      "title": "Quiz Figure",
      "description": "A question the reader answers before the text does: the right option lights, a wrong pick is struck, and the reason appears.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["figure", "motion"],
      "docs": "Use when: A judgement the reader makes first, then reads why.\nNot for: Forms that are submitted; use field.\nGuide: https://ui.zyx.tw/figure-quiz.md",
      "meta": {
        "useWhen": "A judgement the reader makes first, then reads why.",
        "notFor": "Forms that are submitted; use field.",
        "related": ["figure-lesson"]
      },
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"],
      "files": [
        {
          "path": "registry/zyx/components/figure-quiz.tsx",
          "type": "registry:component"
        },
        {
          "path": "registry/zyx/lib/figures.ts",
          "type": "registry:lib"
        }
      ]
    },
    {
      "name": "figure-trace",
      "type": "registry:component",
      "title": "Trace Figure",
      "description": "A run replayed one event a press: who sent what, and the line to take from it, with the record growing on screen.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["figure", "motion"],
      "docs": "Use when: A run of messages, such as an agent's tool calls, replayed step by step.\nNot for: Logs to search; use table.\nGuide: https://ui.zyx.tw/figure-trace.md",
      "meta": {
        "useWhen": "A run of messages, such as an agent's tool calls, replayed step by step.",
        "notFor": "Logs to search; use table.",
        "related": ["scrolly", "figure-diagram"]
      },
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"],
      "files": [
        {
          "path": "registry/zyx/components/figure-trace.tsx",
          "type": "registry:component"
        },
        {
          "path": "registry/zyx/lib/figures.ts",
          "type": "registry:lib"
        }
      ]
    },
    {
      "name": "figure-dial",
      "type": "registry:component",
      "title": "Dial Figure",
      "description": "A quantity the reader moves: each stop redraws the same bars, so the eye follows what grows.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["figure", "motion"],
      "docs": "Use when: A quantity that grows, and how its parts change with it.\nNot for: Exact values over time; use chart.\nGuide: https://ui.zyx.tw/figure-dial.md",
      "meta": {
        "useWhen": "A quantity that grows, and how its parts change with it.",
        "notFor": "Exact values over time; use chart.",
        "related": ["figure-lesson"]
      },
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"],
      "files": [
        {
          "path": "registry/zyx/components/figure-dial.tsx",
          "type": "registry:component"
        },
        {
          "path": "registry/zyx/lib/figures.ts",
          "type": "registry:lib"
        }
      ]
    },
    {
      "name": "scrolly",
      "type": "registry:component",
      "title": "Scrolly",
      "description": "A diagram or trace that stays on screen while its lines scroll past, one step a line, with play and pause.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["figure", "motion"],
      "docs": "Use when: A long walk through a diagram or a trace, step by step as the page scrolls.\nNot for: Short figures; use figure-diagram or figure-trace alone.\nGuide: https://ui.zyx.tw/scrolly.md",
      "meta": {
        "useWhen": "A long walk through a diagram or a trace, step by step as the page scrolls.",
        "notFor": "Short figures; use figure-diagram or figure-trace alone.",
        "related": ["figure-diagram", "figure-trace"]
      },
      "registryDependencies": [
        "https://ui.zyx.tw/r/utils.json",
        "https://ui.zyx.tw/r/figure-diagram.json",
        "https://ui.zyx.tw/r/figure-trace.json"
      ],
      "files": [
        {
          "path": "registry/zyx/components/scrolly.tsx",
          "type": "registry:component"
        },
        {
          "path": "registry/zyx/lib/figures.ts",
          "type": "registry:lib"
        },
        {
          "path": "registry/zyx/hooks/use-reduced-motion.ts",
          "type": "registry:hook"
        }
      ]
    },
    {
      "name": "star-map",
      "type": "registry:component",
      "title": "Star Map",
      "description": "A wireframe star chart of notes: systems over a plane, notes orbiting them, a drag to turn and a click to fly to a system.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["figure", "nextjs"],
      "docs": "Use when: A whole set of notes or docs as a map the reader explores, filling the screen.\nNot for: A small chart at the foot of a page; use note-map.\nGuide: https://ui.zyx.tw/star-map.md",
      "meta": {
        "useWhen": "A whole set of notes or docs as a map the reader explores, filling the screen.",
        "notFor": "A small chart at the foot of a page; use note-map.",
        "related": ["note-map", "star-field"]
      },
      "dependencies": ["next"],
      "registryDependencies": [
        "https://ui.zyx.tw/r/utils.json",
        "https://ui.zyx.tw/r/layout.json"
      ],
      "files": [
        {
          "path": "registry/zyx/components/star-map.tsx",
          "type": "registry:component"
        },
        {
          "path": "registry/zyx/lib/star-chart.ts",
          "type": "registry:lib"
        },
        {
          "path": "registry/zyx/lib/star-scene.ts",
          "type": "registry:lib"
        },
        {
          "path": "registry/zyx/lib/sky.ts",
          "type": "registry:lib"
        },
        {
          "path": "registry/zyx/hooks/use-reduced-motion.ts",
          "type": "registry:hook"
        }
      ]
    },
    {
      "name": "note-map",
      "type": "registry:component",
      "title": "Note Map",
      "description": "One system of a star chart as a small orbit drawing: its notes as links, the one being read framed.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["figure", "nextjs"],
      "docs": "Use when: The foot of a note, showing where it sits among its siblings.\nNot for: The whole chart; use star-map.\nGuide: https://ui.zyx.tw/note-map.md",
      "meta": {
        "useWhen": "The foot of a note, showing where it sits among its siblings.",
        "notFor": "The whole chart; use star-map.",
        "related": ["star-map"]
      },
      "dependencies": ["next"],
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"],
      "files": [
        {
          "path": "registry/zyx/components/note-map.tsx",
          "type": "registry:component"
        },
        {
          "path": "registry/zyx/lib/star-chart.ts",
          "type": "registry:lib"
        }
      ]
    },
    {
      "name": "shell",
      "type": "registry:component",
      "title": "Shell",
      "description": "Pieces of a shell session: a command after a muted prompt, a blinking block cursor and the requested path for a 404.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["layout", "terminal"],
      "docs": "Use when: Showing a command, a prompt cursor or a missing path, as a 404 or idle state.\nNot for: Real terminal emulation or long logs.\nGuide: https://ui.zyx.tw/shell.md",
      "meta": {
        "useWhen": "Showing a command, a prompt cursor or a missing path, as a 404 or idle state.",
        "notFor": "Real terminal emulation or long logs.",
        "related": ["status-page", "empty-state"]
      },
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"],
      "cssVars": {
        "theme": {
          "animate-cursor": "terminal-cursor 1s step-end infinite"
        }
      },
      "css": {
        "@keyframes terminal-cursor": {
          "50%": {
            "opacity": "0"
          }
        }
      },
      "files": [
        {
          "path": "registry/zyx/components/shell.tsx",
          "type": "registry:component"
        }
      ]
    },
    {
      "name": "section-title",
      "type": "registry:component",
      "title": "Section Title",
      "description": "A section's heading in brackets and capitals, as the corner nav marks the current page.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["layout", "typography"],
      "docs": "Use when: Headings of sections inside a page, in brackets and capitals.\nNot for: The page title; use text-title.\nGuide: https://ui.zyx.tw/section-title.md",
      "meta": {
        "useWhen": "Headings of sections inside a page, in brackets and capitals.",
        "notFor": "The page title; use text-title.",
        "related": ["corners"]
      },
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"],
      "files": [
        {
          "path": "registry/zyx/components/section-title.tsx",
          "type": "registry:component"
        }
      ]
    },
    {
      "name": "confirm-dialog",
      "type": "registry:block",
      "title": "Confirm Dialog",
      "description": "Asks before an action, locks both buttons while it runs and closes when it finishes.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["block", "overlay", "form"],
      "docs": "Use when: Asking before an action that cannot be undone, and running it.\nNot for: Forms or long content; use dialog.\nGuide: https://ui.zyx.tw/confirm-dialog.md",
      "meta": {
        "useWhen": "Asking before an action that cannot be undone, and running it.",
        "notFor": "Forms or long content; use dialog.",
        "related": ["alert-dialog", "spinner"]
      },
      "registryDependencies": [
        "https://ui.zyx.tw/r/alert-dialog.json",
        "https://ui.zyx.tw/r/button.json",
        "https://ui.zyx.tw/r/spinner.json"
      ],
      "files": [
        {
          "path": "registry/zyx/components/confirm-dialog.tsx",
          "type": "registry:component"
        }
      ]
    },
    {
      "name": "empty-state",
      "type": "registry:block",
      "title": "Empty State",
      "description": "One sentence and the next step when a list or a search has no rows, with a table row variant.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["block", "feedback"],
      "docs": "Use when: A list, table or search with no rows: one sentence and the next step.\nNot for: Errors and missing pages; use status-page.\nGuide: https://ui.zyx.tw/empty-state.md",
      "meta": {
        "useWhen": "A list, table or search with no rows: one sentence and the next step.",
        "notFor": "Errors and missing pages; use status-page.",
        "related": ["table", "status-page"]
      },
      "registryDependencies": [
        "https://ui.zyx.tw/r/button.json",
        "https://ui.zyx.tw/r/table.json"
      ],
      "files": [
        {
          "path": "registry/zyx/components/empty-state.tsx",
          "type": "registry:component"
        }
      ]
    },
    {
      "name": "status-page",
      "type": "registry:block",
      "title": "Status Page",
      "description": "A title and the way out, for not found, errors and no access.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["block", "feedback"],
      "docs": "Use when: Not found, error and no-access pages: a title and the way out.\nNot for: Empty lists inside a working page; use empty-state.\nGuide: https://ui.zyx.tw/status-page.md",
      "meta": {
        "useWhen": "Not found, error and no-access pages: a title and the way out.",
        "notFor": "Empty lists inside a working page; use empty-state.",
        "related": ["shell", "empty-state"]
      },
      "registryDependencies": ["https://ui.zyx.tw/r/shell.json"],
      "files": [
        {
          "path": "registry/zyx/components/status-page.tsx",
          "type": "registry:component"
        }
      ]
    },
    {
      "name": "task",
      "type": "registry:block",
      "title": "Task",
      "description": "A Next.js starter for a small task: the base, the four corners, the page motion and one centered column, plus an audit of the rendered page.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["block", "starter", "layout", "nextjs"],
      "docs": "Use when: Starting a personal tool or a research demo: bunx shadcn@latest create -t next -n <name> https://ui.zyx.tw/r/base.json https://ui.zyx.tw/r/task.json\nNot for: Existing apps; add corners and page-decode-next to them instead.\nCheck: npx playwright install webkit, then node scripts/audit.mjs <url>\nGuide: https://ui.zyx.tw/task.md",
      "meta": {
        "useWhen": "Starting a personal tool or a research demo in Next.js, in one command.",
        "notFor": "Existing apps; add corners and page-decode-next to them instead.",
        "related": ["corners", "page-decode-next", "layout"]
      },
      "devDependencies": ["playwright"],
      "registryDependencies": [
        "https://ui.zyx.tw/r/corners.json",
        "https://ui.zyx.tw/r/page-decode-next.json",
        "https://ui.zyx.tw/r/layout.json",
        "https://ui.zyx.tw/r/utils.json"
      ],
      "files": [
        {
          "path": "registry/zyx/components/task-shell.tsx",
          "type": "registry:component"
        },
        {
          "path": "registry/zyx/task/layout.tsx",
          "type": "registry:file",
          "target": "~/app/layout.tsx"
        },
        {
          "path": "registry/zyx/task/page.tsx",
          "type": "registry:file",
          "target": "~/app/page.tsx"
        },
        {
          "path": "registry/zyx/task/audit.mjs",
          "type": "registry:file",
          "target": "~/scripts/audit.mjs"
        }
      ]
    },
    {
      "name": "alert-dialog",
      "type": "registry:ui",
      "title": "Alert Dialog",
      "description": "Confirmation dialog with Cancel and an action.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["overlay"],
      "docs": "Use when: A modal confirmation with Cancel and one action, when you need its parts.\nNot for: The common confirm-and-run case; use confirm-dialog.\nGuide: https://ui.zyx.tw/alert-dialog.md",
      "meta": {
        "useWhen": "A modal confirmation with Cancel and one action, when you need its parts.",
        "notFor": "The common confirm-and-run case; use confirm-dialog.",
        "related": ["confirm-dialog", "dialog"]
      },
      "dependencies": ["@base-ui/react", "cn"],
      "registryDependencies": [
        "https://ui.zyx.tw/r/utils.json",
        "https://ui.zyx.tw/r/button.json",
        "https://ui.zyx.tw/r/frame.json"
      ],
      "files": [
        {
          "path": "registry/zyx/components/ui/alert-dialog.tsx",
          "type": "registry:ui"
        }
      ]
    },
    {
      "name": "attachment",
      "type": "registry:ui",
      "title": "Attachment",
      "description": "File chip with a media square, name and upload state.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["chat", "file"],
      "docs": "Use when: A file chip in a composer or a message, with its upload state.\nNot for: File lists in tables; use table.\nGuide: https://ui.zyx.tw/attachment.md",
      "meta": {
        "useWhen": "A file chip in a composer or a message, with its upload state.",
        "notFor": "File lists in tables; use table.",
        "related": ["message", "progress"]
      },
      "dependencies": ["cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/attachment.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"]
    },
    {
      "name": "avatar",
      "type": "registry:ui",
      "title": "Avatar",
      "description": "Square 40px avatar with an initials fallback.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["content", "identity"],
      "docs": "Use when: A person in a list or a message, with initials when there is no picture.\nNot for: Logos or product images.\nGuide: https://ui.zyx.tw/avatar.md",
      "meta": {
        "useWhen": "A person in a list or a message, with initials when there is no picture.",
        "notFor": "Logos or product images.",
        "related": ["message"]
      },
      "dependencies": ["@base-ui/react", "cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/avatar.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"]
    },
    {
      "name": "badge",
      "type": "registry:ui",
      "title": "Badge",
      "description": "Status label: default, muted, outline, destructive.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["content", "status"],
      "docs": "Use when: A short status next to a name: active, failed, draft.\nNot for: Actions; use button. Counts in a nav.\nGuide: https://ui.zyx.tw/badge.md",
      "meta": {
        "useWhen": "A short status next to a name: active, failed, draft.",
        "notFor": "Actions; use button. Counts in a nav.",
        "related": ["table"]
      },
      "dependencies": ["@base-ui/react", "class-variance-authority", "cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/badge.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"]
    },
    {
      "name": "bubble",
      "type": "registry:ui",
      "title": "Bubble",
      "description": "Chat text: a muted bubble for the person, plain text for the reply.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["chat"],
      "docs": "Use when: Chat text: the person's turn in a bubble, the reply as plain text.\nNot for: Notifications; use sonner.\nGuide: https://ui.zyx.tw/bubble.md",
      "meta": {
        "useWhen": "Chat text: the person's turn in a bubble, the reply as plain text.",
        "notFor": "Notifications; use sonner.",
        "related": ["message", "attachment"]
      },
      "dependencies": ["@base-ui/react", "class-variance-authority", "cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/bubble.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"]
    },
    {
      "name": "button",
      "type": "registry:ui",
      "title": "Button",
      "description": "Button in one 40px height: variants default, outline, ghost, destructive; sizes default and icon.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["control", "form"],
      "docs": "Use when: Every action: one 40px height; default for the primary, ghost or outline for the rest.\nNot for: Navigation between pages; use a link.\nGuide: https://ui.zyx.tw/button.md",
      "meta": {
        "useWhen": "Every action: one 40px height; default for the primary, ghost or outline for the rest.",
        "notFor": "Navigation between pages; use a link.",
        "related": ["toggle", "spinner"]
      },
      "dependencies": ["@base-ui/react", "class-variance-authority", "cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/button.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": [
        "https://ui.zyx.tw/r/utils.json",
        "https://ui.zyx.tw/r/frame.json"
      ]
    },
    {
      "name": "calendar",
      "type": "registry:ui",
      "title": "Calendar",
      "description": "Month grid for picking one day, with 40px day buttons.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["control", "date"],
      "docs": "Use when: Picking one day from a month grid.\nNot for: Ranges and times; it picks one day.\nGuide: https://ui.zyx.tw/calendar.md",
      "meta": {
        "useWhen": "Picking one day from a month grid.",
        "notFor": "Ranges and times; it picks one day.",
        "related": ["popover"]
      },
      "dependencies": ["cn", "lucide-react", "react-day-picker"],
      "registryDependencies": [
        "https://ui.zyx.tw/r/utils.json",
        "https://ui.zyx.tw/r/button.json"
      ],
      "files": [
        {
          "path": "registry/zyx/components/ui/calendar.tsx",
          "type": "registry:ui"
        }
      ]
    },
    {
      "name": "chart",
      "type": "registry:ui",
      "title": "Chart",
      "description": "Recharts container in the theme's colors, with a window tooltip.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["content", "data"],
      "docs": "Use when: Charts in the theme's colors with a window tooltip.\nNot for: A single number; write it as text.\nGuide: https://ui.zyx.tw/chart.md",
      "meta": {
        "useWhen": "Charts in the theme's colors with a window tooltip.",
        "notFor": "A single number; write it as text.",
        "related": ["table"]
      },
      "dependencies": ["cn", "recharts"],
      "files": [
        {
          "path": "registry/zyx/components/ui/chart.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": [
        "https://ui.zyx.tw/r/utils.json",
        "https://ui.zyx.tw/r/frame.json"
      ]
    },
    {
      "name": "checkbox",
      "type": "registry:ui",
      "title": "Checkbox",
      "description": "Square 20px checkbox.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["control", "form"],
      "docs": "Use when: Choosing any number of options, or agreeing to one statement.\nNot for: Settings that apply at once; use switch.\nGuide: https://ui.zyx.tw/checkbox.md",
      "meta": {
        "useWhen": "Choosing any number of options, or agreeing to one statement.",
        "notFor": "Settings that apply at once; use switch.",
        "related": ["switch", "label"]
      },
      "dependencies": ["@base-ui/react", "cn", "lucide-react"],
      "files": [
        {
          "path": "registry/zyx/components/ui/checkbox.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"]
    },
    {
      "name": "collapsible",
      "type": "registry:ui",
      "title": "Collapsible",
      "description": "Unstyled show / hide region.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["content", "disclosure"],
      "docs": "Use when: Folding a secondary block that people open rarely.\nNot for: Content people need every time; show it.\nGuide: https://ui.zyx.tw/collapsible.md",
      "meta": {
        "useWhen": "Folding a secondary block that people open rarely.",
        "notFor": "Content people need every time; show it.",
        "related": ["tabs"]
      },
      "dependencies": ["@base-ui/react", "cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/collapsible.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"]
    },
    {
      "name": "combobox",
      "type": "registry:ui",
      "title": "Combobox",
      "description": "Trigger and content for a searchable picker built from Popover and Command.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["control", "form"],
      "docs": "Use when: Picking one value from a long list by typing.\nNot for: Fewer than about 7 options; use select.\nGuide: https://ui.zyx.tw/combobox.md",
      "meta": {
        "useWhen": "Picking one value from a long list by typing.",
        "notFor": "Fewer than about 7 options; use select.",
        "related": ["select", "command"]
      },
      "dependencies": ["cn", "lucide-react"],
      "registryDependencies": [
        "https://ui.zyx.tw/r/utils.json",
        "https://ui.zyx.tw/r/field-trigger.json",
        "https://ui.zyx.tw/r/popover.json",
        "https://ui.zyx.tw/r/frame.json"
      ],
      "files": [
        {
          "path": "registry/zyx/components/ui/combobox.tsx",
          "type": "registry:ui"
        }
      ]
    },
    {
      "name": "command",
      "type": "registry:ui",
      "title": "Command",
      "description": "Searchable list for a combobox inside a popover.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["control", "search"],
      "docs": "Use when: The searchable list inside a combobox or a command palette.\nNot for: Static menus; use dropdown-menu.\nGuide: https://ui.zyx.tw/command.md",
      "meta": {
        "useWhen": "The searchable list inside a combobox or a command palette.",
        "notFor": "Static menus; use dropdown-menu.",
        "related": ["combobox", "popover"]
      },
      "dependencies": ["cmdk", "cn", "lucide-react"],
      "files": [
        {
          "path": "registry/zyx/components/ui/command.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": [
        "https://ui.zyx.tw/r/utils.json",
        "https://ui.zyx.tw/r/frame.json",
        "https://ui.zyx.tw/r/field-trigger.json"
      ]
    },
    {
      "name": "dialog",
      "type": "registry:ui",
      "title": "Dialog",
      "description": "Modal window with title, description and footer; sizes default and wide.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["overlay", "form"],
      "docs": "Use when: A short edit or a form called up over the page.\nNot for: Confirming a destructive action; use confirm-dialog.\nGuide: https://ui.zyx.tw/dialog.md",
      "meta": {
        "useWhen": "A short edit or a form called up over the page.",
        "notFor": "Confirming a destructive action; use confirm-dialog.",
        "related": ["sheet", "confirm-dialog"]
      },
      "dependencies": [
        "@base-ui/react",
        "class-variance-authority",
        "cn",
        "lucide-react"
      ],
      "registryDependencies": [
        "https://ui.zyx.tw/r/utils.json",
        "https://ui.zyx.tw/r/button.json",
        "https://ui.zyx.tw/r/frame.json"
      ],
      "files": [
        {
          "path": "registry/zyx/components/ui/dialog.tsx",
          "type": "registry:ui"
        }
      ]
    },
    {
      "name": "dropdown-menu",
      "type": "registry:ui",
      "title": "Dropdown Menu",
      "description": "Action menu window with labels, separators and one level of submenu.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["overlay", "navigation"],
      "docs": "Use when: A menu of actions on one thing.\nNot for: Picking a value for a form; use select.\nGuide: https://ui.zyx.tw/dropdown-menu.md",
      "meta": {
        "useWhen": "A menu of actions on one thing.",
        "notFor": "Picking a value for a form; use select.",
        "related": ["select", "popover"]
      },
      "dependencies": ["@base-ui/react", "cn", "lucide-react"],
      "files": [
        {
          "path": "registry/zyx/components/ui/dropdown-menu.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": [
        "https://ui.zyx.tw/r/utils.json",
        "https://ui.zyx.tw/r/frame.json"
      ]
    },
    {
      "name": "frame",
      "type": "registry:ui",
      "title": "Frame",
      "description": "A 1px outline that follows its parent's corners, with an optional label on the top edge and a detail on the bottom. Every window and field draws its edge with it.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["content", "primitive"],
      "docs": "Use when: Drawing the outline of a window or a field in your own component.\nNot for: Grouping page content; pages have no frames.\nGuide: https://ui.zyx.tw/frame.md",
      "meta": {
        "useWhen": "Drawing the outline of a window or a field in your own component.",
        "notFor": "Grouping page content; pages have no frames.",
        "related": ["dialog", "input"]
      },
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"],
      "files": [
        {
          "path": "registry/zyx/components/ui/frame.tsx",
          "type": "registry:ui"
        }
      ],
      "css": {
        "[data-slot=\"frame-edges\"]": {
          "position": "absolute",
          "inset": "0",
          "z-index": "1",
          "border": "1px solid currentColor",
          "border-radius": "inherit",
          "pointer-events": "none",
          "user-select": "none"
        },
        "[data-slot=\"frame-edges\"] [data-edge]": {
          "display": "none"
        },
        "[data-slot=\"frame-edges\"] [data-frame-text]": {
          "position": "absolute",
          "padding-inline": "0.5ch",
          "background": "var(--background)",
          "color": "var(--muted-foreground)",
          "font-size": "var(--text-caption)",
          "line-height": "var(--text-caption--line-height)",
          "white-space": "pre"
        },
        "[data-slot=\"frame-edges\"] > :nth-child(2) [data-frame-text]": {
          "top": "calc(var(--text-caption--line-height) / -2)",
          "left": "1.5ch"
        },
        "[data-slot=\"frame-edges\"] > :nth-child(8) [data-frame-text]": {
          "bottom": "calc(var(--text-caption--line-height) / -2)",
          "right": "1.5ch"
        },
        "[data-slot=\"frame-side\"]": {
          "position": "absolute",
          "inset-block": "0",
          "width": "1px",
          "background": "currentColor",
          "pointer-events": "none"
        },
        "[data-slot=\"frame-side\"][data-side=\"left\"]": {
          "left": "0"
        },
        "[data-slot=\"frame-side\"][data-side=\"right\"]": {
          "right": "0"
        }
      }
    },
    {
      "name": "field-trigger",
      "type": "registry:ui",
      "title": "Field Trigger",
      "description": "Shared class list for pick-a-value triggers.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["primitive", "form"],
      "docs": "Use when: Styling your own pick-a-value trigger like select and combobox.\nNot for: Buttons; use button.\nGuide: https://ui.zyx.tw/index.md",
      "meta": {
        "useWhen": "Styling your own pick-a-value trigger like select and combobox.",
        "notFor": "Buttons; use button.",
        "related": ["select", "combobox"]
      },
      "files": [
        {
          "path": "registry/zyx/components/ui/field-trigger.ts",
          "type": "registry:ui"
        }
      ]
    },
    {
      "name": "input-group",
      "type": "registry:ui",
      "title": "Input Group",
      "description": "Input with an icon, text or a button inside its border.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["control", "form"],
      "docs": "Use when: An input with an icon, text or a button inside its border.\nNot for: Two separate fields; use two inputs.\nGuide: https://ui.zyx.tw/input-group.md",
      "meta": {
        "useWhen": "An input with an icon, text or a button inside its border.",
        "notFor": "Two separate fields; use two inputs.",
        "related": ["input", "button"]
      },
      "dependencies": ["cn"],
      "registryDependencies": [
        "https://ui.zyx.tw/r/utils.json",
        "https://ui.zyx.tw/r/button.json",
        "https://ui.zyx.tw/r/input.json",
        "https://ui.zyx.tw/r/frame.json",
        "https://ui.zyx.tw/r/field-trigger.json"
      ],
      "files": [
        {
          "path": "registry/zyx/components/ui/input-group.tsx",
          "type": "registry:ui"
        }
      ]
    },
    {
      "name": "input",
      "type": "registry:ui",
      "title": "Input",
      "description": "Text input, 40px tall to match Button.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["control", "form"],
      "docs": "Use when: One line of text.\nNot for: Several lines; use textarea.\nGuide: https://ui.zyx.tw/input.md",
      "meta": {
        "useWhen": "One line of text.",
        "notFor": "Several lines; use textarea.",
        "related": ["label", "input-group"]
      },
      "dependencies": ["@base-ui/react", "cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/input.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": [
        "https://ui.zyx.tw/r/utils.json",
        "https://ui.zyx.tw/r/frame.json",
        "https://ui.zyx.tw/r/field-trigger.json"
      ]
    },
    {
      "name": "label",
      "type": "registry:ui",
      "title": "Label",
      "description": "Form label in text-body, medium weight.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["control", "form"],
      "docs": "Use when: Naming a form control.\nNot for: Headings; use section-title.\nGuide: https://ui.zyx.tw/label.md",
      "meta": {
        "useWhen": "Naming a form control.",
        "notFor": "Headings; use section-title.",
        "related": ["input", "checkbox"]
      },
      "dependencies": ["cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/label.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"]
    },
    {
      "name": "mask-reveal",
      "type": "registry:ui",
      "title": "Mask Reveal",
      "description": "Reveals its content with a feathered mask sweeping left to right.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["motion"],
      "docs": "Use when: Revealing an image or block once, with a feathered sweep.\nNot for: Text; use scramble-text.\nGuide: https://ui.zyx.tw/mask-reveal.md",
      "meta": {
        "useWhen": "Revealing an image or block once, with a feathered sweep.",
        "notFor": "Text; use scramble-text.",
        "related": ["scramble-text"]
      },
      "dependencies": ["cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/mask-reveal.tsx",
          "type": "registry:ui"
        }
      ],
      "cssVars": {
        "theme": {
          "animate-mask-reveal": "mask-reveal 600ms cubic-bezier(0.16, 1, 0.3, 1) var(--tw-animation-delay, 0s) backwards"
        }
      },
      "css": {
        "@keyframes mask-reveal": {
          "from": {
            "mask-image": "linear-gradient(90deg, #000 33.333%, rgb(0 0 0 / 0.926) 38.889%, rgb(0 0 0 / 0.741) 44.444%, rgb(0 0 0 / 0.5) 50%, rgb(0 0 0 / 0.259) 55.556%, rgb(0 0 0 / 0.074) 61.111%, transparent 66.667%)",
            "mask-size": "300% 100%",
            "mask-repeat": "no-repeat",
            "mask-position": "100% 0"
          },
          "to": {
            "mask-image": "linear-gradient(90deg, #000 33.333%, rgb(0 0 0 / 0.926) 38.889%, rgb(0 0 0 / 0.741) 44.444%, rgb(0 0 0 / 0.5) 50%, rgb(0 0 0 / 0.259) 55.556%, rgb(0 0 0 / 0.074) 61.111%, transparent 66.667%)",
            "mask-size": "300% 100%",
            "mask-repeat": "no-repeat",
            "mask-position": "0 0"
          }
        }
      },
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"]
    },
    {
      "name": "message",
      "type": "registry:ui",
      "title": "Message",
      "description": "Chat transcript layout: groups, messages, content and footer.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["chat"],
      "docs": "Use when: Laying out a chat transcript: groups, messages and footers.\nNot for: Comments threads with replies.\nGuide: https://ui.zyx.tw/message.md",
      "meta": {
        "useWhen": "Laying out a chat transcript: groups, messages and footers.",
        "notFor": "Comments threads with replies.",
        "related": ["bubble", "avatar"]
      },
      "dependencies": ["cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/message.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"]
    },
    {
      "name": "popover",
      "type": "registry:ui",
      "title": "Popover",
      "description": "Window anchored to a trigger.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["overlay"],
      "docs": "Use when: A small window anchored to a trigger for extra controls.\nNot for: A label on hover; use tooltip.\nGuide: https://ui.zyx.tw/popover.md",
      "meta": {
        "useWhen": "A small window anchored to a trigger for extra controls.",
        "notFor": "A label on hover; use tooltip.",
        "related": ["tooltip", "dropdown-menu"]
      },
      "dependencies": ["@base-ui/react", "cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/popover.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": [
        "https://ui.zyx.tw/r/utils.json",
        "https://ui.zyx.tw/r/frame.json"
      ]
    },
    {
      "name": "progress",
      "type": "registry:ui",
      "title": "Progress",
      "description": "Determinate bar that fills smoothly to its value.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["feedback", "motion"],
      "docs": "Use when: Waiting with a measure: an upload or a download with a known size.\nNot for: Waiting without a measure; use spinner.\nGuide: https://ui.zyx.tw/progress.md",
      "meta": {
        "useWhen": "Waiting with a measure: an upload or a download with a known size.",
        "notFor": "Waiting without a measure; use spinner.",
        "related": ["spinner", "skeleton"]
      },
      "dependencies": ["cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/progress.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"]
    },
    {
      "name": "resizable",
      "type": "registry:ui",
      "title": "Resizable",
      "description": "Panels split by a hairline handle you can drag.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["layout"],
      "docs": "Use when: Two panels the person sizes by dragging, such as a list and a detail.\nNot for: Fixed layouts; use the grid.\nGuide: https://ui.zyx.tw/resizable.md",
      "meta": {
        "useWhen": "Two panels the person sizes by dragging, such as a list and a detail.",
        "notFor": "Fixed layouts; use the grid.",
        "related": ["toolbar"]
      },
      "dependencies": ["cn", "react-resizable-panels"],
      "files": [
        {
          "path": "registry/zyx/components/ui/resizable.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"]
    },
    {
      "name": "scramble-text",
      "type": "registry:ui",
      "title": "Scramble Text",
      "description": "Text that resolves left to right from random glyphs, without moving layout.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["motion", "typography"],
      "docs": "Use when: One line that resolves from random glyphs, such as a title that changes.\nNot for: Whole pages; page-decode does those.\nGuide: https://ui.zyx.tw/scramble-text.md",
      "meta": {
        "useWhen": "One line that resolves from random glyphs, such as a title that changes.",
        "notFor": "Whole pages; page-decode does those.",
        "related": ["page-decode"]
      },
      "dependencies": ["cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/scramble-text.tsx",
          "type": "registry:ui"
        }
      ],
      "cssVars": {
        "theme": {
          "animate-scramble-hold": "scramble-text-hold 1.5s"
        }
      },
      "css": {
        "@keyframes scramble-text-hold": {
          "0%, 100%": {
            "opacity": "0"
          }
        }
      },
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"]
    },
    {
      "name": "select",
      "type": "registry:ui",
      "title": "Select",
      "description": "Single-choice dropdown, as tall as Input.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["control", "form"],
      "docs": "Use when: Picking one of a few known values.\nNot for: Long lists people search; use combobox.\nGuide: https://ui.zyx.tw/select.md",
      "meta": {
        "useWhen": "Picking one of a few known values.",
        "notFor": "Long lists people search; use combobox.",
        "related": ["combobox", "field-trigger"]
      },
      "dependencies": ["@base-ui/react", "cn", "lucide-react"],
      "registryDependencies": [
        "https://ui.zyx.tw/r/utils.json",
        "https://ui.zyx.tw/r/field-trigger.json",
        "https://ui.zyx.tw/r/frame.json"
      ],
      "files": [
        {
          "path": "registry/zyx/components/ui/select.tsx",
          "type": "registry:ui"
        }
      ]
    },
    {
      "name": "separator",
      "type": "registry:ui",
      "title": "Separator",
      "description": "Hairline divider, horizontal or vertical.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["content"],
      "docs": "Use when: A hairline between groups when spacing alone is not enough.\nNot for: Framing a group; pages have no frames.\nGuide: https://ui.zyx.tw/separator.md",
      "meta": {
        "useWhen": "A hairline between groups when spacing alone is not enough.",
        "notFor": "Framing a group; pages have no frames."
      },
      "dependencies": ["@base-ui/react", "cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/separator.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"]
    },
    {
      "name": "sheet",
      "type": "registry:ui",
      "title": "Sheet",
      "description": "Full-height window on the left or right edge.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["overlay"],
      "docs": "Use when: A tall panel from the edge: filters, details, a mobile menu.\nNot for: Short forms; use dialog.\nGuide: https://ui.zyx.tw/sheet.md",
      "meta": {
        "useWhen": "A tall panel from the edge: filters, details, a mobile menu.",
        "notFor": "Short forms; use dialog.",
        "related": ["dialog"]
      },
      "dependencies": ["@base-ui/react", "cn", "lucide-react"],
      "registryDependencies": [
        "https://ui.zyx.tw/r/utils.json",
        "https://ui.zyx.tw/r/button.json",
        "https://ui.zyx.tw/r/frame.json"
      ],
      "files": [
        {
          "path": "registry/zyx/components/ui/sheet.tsx",
          "type": "registry:ui"
        }
      ]
    },
    {
      "name": "skeleton",
      "type": "registry:ui",
      "title": "Skeleton",
      "description": "Placeholder that breathes softly while content loads, in CSS.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["feedback", "motion"],
      "docs": "Use when: Content on its way, in the shape it will take.\nNot for: Actions in progress; use spinner.\nGuide: https://ui.zyx.tw/skeleton.md",
      "meta": {
        "useWhen": "Content on its way, in the shape it will take.",
        "notFor": "Actions in progress; use spinner.",
        "related": ["spinner", "progress"]
      },
      "dependencies": ["cn"],
      "css": {
        "[data-slot=\"skeleton\"]": {
          "animation": "skeleton-breathe 1.6s ease-in-out infinite"
        },
        "@keyframes skeleton-breathe": {
          "50%": {
            "opacity": "0.5"
          }
        },
        "@media (prefers-reduced-motion: reduce)": {
          "[data-slot=\"skeleton\"]": {
            "animation": "none !important"
          }
        }
      },
      "files": [
        {
          "path": "registry/zyx/components/ui/skeleton.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"]
    },
    {
      "name": "spinner",
      "type": "registry:ui",
      "title": "Spinner",
      "description": "A 3 by 3 LED panel whose lit pixel runs the edge, in CSS.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["feedback", "motion"],
      "docs": "Use when: Waiting without a measure, beside a label: saving, signing in.\nNot for: Waiting with a measure; use progress.\nGuide: https://ui.zyx.tw/spinner.md",
      "meta": {
        "useWhen": "Waiting without a measure, beside a label: saving, signing in.",
        "notFor": "Waiting with a measure; use progress.",
        "related": ["progress", "button"]
      },
      "dependencies": ["cn"],
      "css": {
        "[data-slot=\"spinner\"] > *": {
          "opacity": "0.15"
        },
        "[data-slot=\"spinner\"] > :not(:nth-child(5))": {
          "animation": "pixel-ring 720ms step-end infinite"
        },
        "[data-slot=\"spinner\"] > :nth-child(1)": {
          "animation-delay": "-720ms"
        },
        "[data-slot=\"spinner\"] > :nth-child(2)": {
          "animation-delay": "-630ms"
        },
        "[data-slot=\"spinner\"] > :nth-child(3)": {
          "animation-delay": "-540ms"
        },
        "[data-slot=\"spinner\"] > :nth-child(6)": {
          "animation-delay": "-450ms"
        },
        "[data-slot=\"spinner\"] > :nth-child(9)": {
          "animation-delay": "-360ms"
        },
        "[data-slot=\"spinner\"] > :nth-child(8)": {
          "animation-delay": "-270ms"
        },
        "[data-slot=\"spinner\"] > :nth-child(7)": {
          "animation-delay": "-180ms"
        },
        "[data-slot=\"spinner\"] > :nth-child(4)": {
          "animation-delay": "-90ms"
        },
        "@keyframes pixel-ring": {
          "0%": {
            "opacity": "1"
          },
          "12.5%": {
            "opacity": "0.6"
          },
          "25%": {
            "opacity": "0.3"
          },
          "37.5%, 100%": {
            "opacity": "0.15"
          }
        },
        "@media (prefers-reduced-motion: reduce)": {
          "[data-slot=\"spinner\"] > *": {
            "animation": "none !important"
          },
          "[data-slot=\"spinner\"] > :nth-child(1)": {
            "opacity": "1"
          }
        }
      },
      "files": [
        {
          "path": "registry/zyx/components/ui/spinner.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"]
    },
    {
      "name": "slider",
      "type": "registry:ui",
      "title": "Slider",
      "description": "Range slider with a 4px track and 20px thumbs.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["control", "form"],
      "docs": "Use when: Choosing a number in a range where the exact value matters little.\nNot for: Exact numbers; use input.\nGuide: https://ui.zyx.tw/slider.md",
      "meta": {
        "useWhen": "Choosing a number in a range where the exact value matters little.",
        "notFor": "Exact numbers; use input.",
        "related": ["input"]
      },
      "dependencies": ["@base-ui/react", "cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/slider.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"]
    },
    {
      "name": "sonner",
      "type": "registry:ui",
      "title": "Sonner",
      "description": "Toasts in a small window.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["feedback", "overlay"],
      "docs": "Use when: Telling the outcome of an action in a few words: saved, failed.\nNot for: Information the person must act on; put it on the page.\nGuide: https://ui.zyx.tw/sonner.md",
      "meta": {
        "useWhen": "Telling the outcome of an action in a few words: saved, failed.",
        "notFor": "Information the person must act on; put it on the page.",
        "related": ["spinner"]
      },
      "dependencies": ["lucide-react", "sonner"],
      "files": [
        {
          "path": "registry/zyx/components/ui/sonner.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": ["https://ui.zyx.tw/r/spinner.json"]
    },
    {
      "name": "switch",
      "type": "registry:ui",
      "title": "Switch",
      "description": "On / off toggle, one size.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["control", "form"],
      "docs": "Use when: A setting that applies at once: on or off.\nNot for: Choices submitted with a form; use checkbox.\nGuide: https://ui.zyx.tw/switch.md",
      "meta": {
        "useWhen": "A setting that applies at once: on or off.",
        "notFor": "Choices submitted with a form; use checkbox.",
        "related": ["checkbox", "label"]
      },
      "dependencies": ["@base-ui/react", "cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/switch.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"]
    },
    {
      "name": "table",
      "type": "registry:ui",
      "title": "Table",
      "description": "Data table with muted headers.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["content", "data"],
      "docs": "Use when: Rows of records people scan and compare.\nNot for: Layout; use the grid.\nGuide: https://ui.zyx.tw/table.md",
      "meta": {
        "useWhen": "Rows of records people scan and compare.",
        "notFor": "Layout; use the grid.",
        "related": ["empty-state", "badge"]
      },
      "dependencies": ["cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/table.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"]
    },
    {
      "name": "tabs",
      "type": "registry:ui",
      "title": "Tabs",
      "description": "Segmented tabs with 40px triggers.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["content", "navigation"],
      "docs": "Use when: Switching between a few views of the same thing.\nNot for: Navigation between pages; use the corner nav.\nGuide: https://ui.zyx.tw/tabs.md",
      "meta": {
        "useWhen": "Switching between a few views of the same thing.",
        "notFor": "Navigation between pages; use the corner nav.",
        "related": ["collapsible"]
      },
      "dependencies": ["@base-ui/react", "cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/tabs.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"]
    },
    {
      "name": "textarea",
      "type": "registry:ui",
      "title": "Textarea",
      "description": "Multi-line input that grows with its content.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["control", "form"],
      "docs": "Use when: Several lines of text that grow as people type.\nNot for: One line; use input.\nGuide: https://ui.zyx.tw/textarea.md",
      "meta": {
        "useWhen": "Several lines of text that grow as people type.",
        "notFor": "One line; use input.",
        "related": ["input", "label"]
      },
      "dependencies": ["cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/textarea.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": [
        "https://ui.zyx.tw/r/utils.json",
        "https://ui.zyx.tw/r/frame.json",
        "https://ui.zyx.tw/r/field-trigger.json"
      ]
    },
    {
      "name": "toggle",
      "type": "registry:ui",
      "title": "Toggle",
      "description": "Pressable button that stays on, the box of a ghost Button.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["control"],
      "docs": "Use when: A button that stays on, such as bold or a view mode.\nNot for: Settings; use switch.\nGuide: https://ui.zyx.tw/toggle.md",
      "meta": {
        "useWhen": "A button that stays on, such as bold or a view mode.",
        "notFor": "Settings; use switch.",
        "related": ["button", "toolbar"]
      },
      "dependencies": ["@base-ui/react", "cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/toggle.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": ["https://ui.zyx.tw/r/utils.json"]
    },
    {
      "name": "toolbar",
      "type": "registry:ui",
      "title": "Toolbar",
      "description": "Floating window of 40px controls over a canvas or map.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["overlay", "control"],
      "docs": "Use when: Floating controls over a canvas or a map.\nNot for: Page actions; put buttons in the page.\nGuide: https://ui.zyx.tw/toolbar.md",
      "meta": {
        "useWhen": "Floating controls over a canvas or a map.",
        "notFor": "Page actions; put buttons in the page.",
        "related": ["toggle", "button"]
      },
      "dependencies": ["cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/toolbar.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": [
        "https://ui.zyx.tw/r/utils.json",
        "https://ui.zyx.tw/r/frame.json"
      ]
    },
    {
      "name": "tooltip",
      "type": "registry:ui",
      "title": "Tooltip",
      "description": "Short lowercase label in a small window on hover or focus.",
      "author": "zyx1121 (https://github.com/zyx1121)",
      "categories": ["overlay"],
      "docs": "Use when: A short lowercase label for an icon or a corner link.\nNot for: Content people need to read; put it on the page.\nGuide: https://ui.zyx.tw/tooltip.md",
      "meta": {
        "useWhen": "A short lowercase label for an icon or a corner link.",
        "notFor": "Content people need to read; put it on the page.",
        "related": ["popover"]
      },
      "dependencies": ["@base-ui/react", "cn"],
      "files": [
        {
          "path": "registry/zyx/components/ui/tooltip.tsx",
          "type": "registry:ui"
        }
      ],
      "registryDependencies": [
        "https://ui.zyx.tw/r/utils.json",
        "https://ui.zyx.tw/r/frame.json"
      ]
    }
  ]
}
