{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "pixel-select",
  "title": "Pixel Select",
  "description": "A select whose menu assembles out of pixels when it opens and dissolves back into the pill when you pick. Accessible listbox, reduced-motion fade, canvas runs only while pixels move.",
  "dependencies": [
    "motion"
  ],
  "files": [
    {
      "path": "src/registry/easeout/pixel-select.tsx",
      "content": "\"use client\"\n\n// Pixel Select by Easeout (easeoutstudio.com). Free to use, MIT.\n// Install: npx shadcn@latest add @easeout/pixel-select\n// A select whose menu builds itself out of pixels when it opens and dissolves back into the pill when you pick.\n// One file: React + motion/react + Tailwind CSS + a <canvas>. It's a real combobox/listbox: the pill keeps focus and\n// points at the active option with aria-activedescendant, so arrows, Enter, Esc and Tab work like a native select.\n//\n// How the motion works: a pixel ripple. Opening, a ripple of pixels in the option's tint spreads out from under the\n// pill (an ellipse, wider than deep). Its front is dense colour; behind the front it turns pale, then white, and the\n// real menu shows through from the pill outwards, so the text appears top-down and the last pale pixels clear from the\n// far corners. Closing (after a pick) runs it back: the menu breaks into pixels from the far edge towards the pill,\n// they turn solid in the picked option's tint and shrink back into the pill, and its label resolves to the new pick.\n// Each pixel has a fixed random threshold, so the dither holds still while the ripple moves (no flicker). One rAF\n// loop draws the canvas and moves the menu's clip-path ellipse, then stops. Keyboard and reduced motion fade instead.\nimport { AnimatePresence, motion, useReducedMotion } from \"motion/react\"\nimport { useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from \"react\"\n\nexport type PixelOption = { value: string; label: string; tint: string }\n\ntype Props = {\n  label: string\n  options: PixelOption[]\n  value: string\n  onChange: (value: string) => void\n  pixelSize?: number\n  className?: string\n}\n\ntype Phase = \"idle\" | \"opening\" | \"open\" | \"closing\"\n// one cell of the pixel grid: where it is, how far from the pill (d, in ripple units), its dither threshold (n) and\n// colour jitter (j), and whether it sits outside the menu (only the dense front of the ripple reaches out there)\ntype Cell = { x: number; y: number; d: number; n: number; j: number; out: boolean }\n\nconst ROW = 40 // option height\nconst PAD = 6 // panel padding\nconst GAP = 6 // pill to panel\n// The ripple (all distances in ripple units: 1 = from the pill to the bottom of the menu)\nconst OPEN_MS = 700 // the ripple's spread, measured off the reference: dense front out, menu fully clear\nconst USABLE = 0.55 // the menu takes clicks from this far through the opening\nconst PICK_MS = 440 // exits are faster than entrances\nconst DISMISS_MS = 330\nconst FRONT = 0.26 // the dense band at the ripple's front (a thick ring, as in the reference)\nconst TRAIL = 0.62 // how far behind the front the last pale pixels go\nconst WIDE = 0.85 // the ellipse's width per unit, as a share of the menu's width (wider than it is deep)\nconst REACH = 14 // px the ripple's front can spill past the menu's sides\nconst FADE_IN = 120\nconst FADE_OUT = 80\n\nconst clamp01 = (v: number) => (v < 0 ? 0 : v > 1 ? 1 : v)\n\n// the dither's colours, from the tint itself to near-white\nfunction palette(hex: string) {\n  const n = parseInt(hex.replace(\"#\", \"\").padEnd(6, \"0\").slice(0, 6), 16)\n  const [r, g, b] = [(n >> 16) & 255, (n >> 8) & 255, n & 255]\n  const mix = (k: number) => `rgb(${Math.round(r + (255 - r) * k)} ${Math.round(g + (255 - g) * k)} ${Math.round(b + (255 - b) * k)})`\n  return [mix(0), mix(0.38), mix(0.7), mix(0.9)]\n}\n\nexport function PixelSelect({ label, options, value, onChange, pixelSize = 6, className }: Props) {\n  const id = useId()\n  const reduce = useReducedMotion()\n  const root = useRef<HTMLDivElement>(null)\n  const trigger = useRef<HTMLButtonElement>(null)\n  const sheet = useRef<HTMLDivElement>(null) // the menu's box: the ripple's clip-path goes here\n  const labelBox = useRef<HTMLSpanElement>(null) // the pill's value, drawn pixelated while it changes\n  const canvas = useRef<HTMLCanvasElement>(null)\n  const raf = useRef(0)\n  const timers = useRef<number[]>([])\n  const scrollStart = useRef(0)\n  const pending = useRef<{ tint: string; swap: boolean } | null>(null)\n\n  const [phase, setPhase] = useState<Phase>(\"idle\")\n  const [plain, setPlain] = useState(true) // this open/close fades instead of using pixels (keyboard, reduced motion)\n  const [fade, setFade] = useState(false) // the plain fade path: panel visible\n  const [active, setActive] = useState(0)\n  const [shown, setShown] = useState(value) // the pill's label lags the value until the pixels arrive\n\n  const index = Math.max(0, options.findIndex((o) => o.value === value))\n  const current = options[index]\n  const shownOpt = options.find((o) => o.value === shown) ?? current\n  const expanded = phase === \"opening\" || phase === \"open\"\n\n  // a value set from outside (not picked here) shows at once\n  useEffect(() => {\n    if (pending.current?.swap) return\n    setShown(value)\n  }, [value])\n\n  const stop = useCallback(() => {\n    cancelAnimationFrame(raf.current)\n    raf.current = 0\n    timers.current.forEach(clearTimeout)\n    timers.current = []\n    if (labelBox.current) labelBox.current.style.opacity = \"\" // a close cut short must not leave the label hidden\n    const c = canvas.current\n    const x = c?.getContext(\"2d\")\n    if (c && x) {\n      x.save()\n      x.setTransform(1, 0, 0, 1, 0, 0)\n      x.clearRect(0, 0, c.width, c.height)\n      x.restore()\n    }\n  }, [])\n  useEffect(() => stop, [stop])\n  const later = (fn: () => void, ms: number) => timers.current.push(window.setTimeout(fn, ms))\n\n  // the menu is shown inside an ellipse centred under the pill, radius `r` ripple units (or fully, with `null`)\n  const reveal = (r: number | null, box?: { w: number; h: number }) => {\n    const el = sheet.current\n    if (!el) return\n    if (r === null || !box) el.style.clipPath = \"none\"\n    else el.style.clipPath = `ellipse(${Math.max(0, r * box.w * WIDE).toFixed(1)}px ${Math.max(0, r * (box.h + GAP)).toFixed(1)}px at 50% ${-GAP}px)`\n  }\n\n  // Sizes the canvas over the pill and the menu (with room for the ripple to spill past its sides) and lays the grid.\n  const layout = () => {\n    const r = root.current!.getBoundingClientRect()\n    const t = trigger.current!.getBoundingClientRect()\n    const p = sheet.current!.getBoundingClientRect()\n    const c = canvas.current!\n    const dpr = Math.min(2, window.devicePixelRatio || 1)\n    const m = 40\n    const w = r.width + m * 2\n    const h = p.bottom - r.top + 8\n    c.width = Math.ceil(w * dpr)\n    c.height = Math.ceil(h * dpr)\n    c.style.width = `${w}px`\n    c.style.height = `${h}px`\n    c.style.left = `${-m}px`\n    const ctx = c.getContext(\"2d\")!\n    ctx.setTransform(dpr, 0, 0, dpr, m * dpr, 0)\n    const box = { x: p.left - r.left, y: p.top - r.top, w: p.width, h: p.height }\n    const pill = { x: t.left - r.left, y: t.top - r.top, w: t.width, h: t.height }\n    // the grid: the menu, plus a strip beside the pill's ends and past the menu's sides\n    const s = pixelSize\n    const ox = box.x + box.w / 2\n    const oy = box.y - GAP // the ripple starts under the middle of the pill\n    const rx = box.w * WIDE\n    const ry = box.h + GAP\n    const cells: Cell[] = []\n    for (let y = pill.y + pill.h * 0.35; y < box.y + box.h; y += s)\n      for (let x = box.x - REACH; x < box.x + box.w + REACH; x += s) {\n        const cx = x + s / 2\n        const cy = y + s / 2\n        const inPill = cx > pill.x + 8 && cx < pill.x + pill.w - 8 && cy < pill.y + pill.h\n        if (inPill) continue\n        const out = cx < box.x || cx > box.x + box.w || cy < box.y\n        cells.push({ x, y, d: Math.hypot((cx - ox) / rx, (cy - oy) / ry), n: Math.random(), j: Math.random(), out })\n      }\n    const far = cells.reduce((a, c) => (c.out ? a : Math.max(a, c.d)), 0)\n    return { ctx, pill, box, cells, far }\n  }\n\n  // Draws one frame: each cell asks `look` for its colour (0 to 3) and density, or null for nothing.\n  const paint = (ctx: CanvasRenderingContext2D, cells: Cell[], colors: string[], look: (c: Cell) => [number, number] | null) => {\n    const s = pixelSize\n    ctx.clearRect(-40, 0, ctx.canvas.width, ctx.canvas.height)\n    const buckets: Cell[][] = [[], [], [], []]\n    for (const c of cells) {\n      const v = look(c)\n      if (v && c.n < v[1]) buckets[v[0]].push(c)\n    }\n    for (let k = 0; k < 4; k++) {\n      ctx.fillStyle = colors[k]\n      for (const c of buckets[k]) ctx.fillRect(c.x, c.y, s, s)\n    }\n  }\n\n  // Open: the ripple's front runs out from the pill to past the menu's far corners; the menu shows inside it.\n  const runOpen = (tint: string, done: () => void) => {\n    stop()\n    const { ctx, box, cells, far } = layout()\n    const colors = palette(tint)\n    const end = far + TRAIL + 0.05\n    const radius = (p: number) => end * (1 - Math.pow(1 - p, 1.25)) // a touch of ease-out\n    let usable = false\n    reveal(0, box)\n    const t0 = performance.now()\n    const frame = (now: number) => {\n      const p = clamp01((now - t0) / OPEN_MS)\n      const r = radius(p)\n      reveal(r, box)\n      paint(ctx, cells, colors, (c) => {\n        const k = r - c.d // how far behind the front this cell is\n        if (k < 0) return null\n        if (k < FRONT) return [c.j < 0.82 ? 0 : 1, c.out ? 0.75 : 0.95] // the dense front\n        if (c.out || k > TRAIL) return null // outside the menu only the front shows; well behind it, the menu\n        const f = (k - FRONT) / (TRAIL - FRONT) // 0 just behind the front, 1 where it clears\n        // behind the ring it goes pale fast: light tint, then near-white specks over the menu\n        const shade = Math.min(3, 1 + Math.floor(f * 2.4 + c.j * 0.8))\n        return [shade, 0.82 * (1 - f) ** 1.2]\n      })\n      if (!usable && p >= USABLE) {\n        usable = true\n        done()\n      }\n      if (p < 1) raf.current = requestAnimationFrame(frame)\n      else {\n        stop()\n        reveal(null)\n      }\n    }\n    raf.current = requestAnimationFrame(frame)\n  }\n\n  // Close: the menu breaks into pixels from its far edge towards the pill; behind that edge they're solid tint, and the\n  // blob shrinks back into the pill. Returns when (ms) the pill's label should resolve to the new pick.\n  const runClose = (tint: string, ms: number, next: string | null, done: () => void) => {\n    stop()\n    const { ctx, box, cells, far } = layout()\n    const colors = palette(tint)\n    const t0 = performance.now()\n    const startB = far + 0.12\n    // The label: from 18% to 97% of the close the real text hides and the canvas draws it in growing pixels, swaps\n    // to the new pick at its blockiest, and sharpens back, so it reads as the letters themselves turning to pixels.\n    const holder = labelBox.current\n    const text = holder?.firstElementChild as HTMLElement | null\n    const pix = next && holder && text ? (() => {\n      const r0 = root.current!.getBoundingClientRect()\n      const b = holder.getBoundingClientRect()\n      const st = getComputedStyle(text)\n      const small = document.createElement(\"canvas\")\n      return { x: b.left - r0.left, y: b.top - r0.top, w: b.width, h: b.height, font: `${st.fontStyle} ${st.fontWeight} ${st.fontSize} ${st.fontFamily}`, ink: st.color, spacing: st.letterSpacing, from: text.textContent ?? \"\", to: next, small, sctx: small.getContext(\"2d\")! }\n    })() : null\n    const drawLabel = (p: number) => {\n      if (!pix) return\n      const on = p > 0.18 && p < 0.97\n      holder!.style.opacity = on ? \"0\" : \"\"\n      if (!on) return\n      const peak = 0.6\n      const block = 1 + 4 * Math.max(0, 1 - Math.abs(p - peak) / (peak - 0.18)) // 1 (crisp) → 5px blocks → 1\n      const str = p < peak ? pix.from : pix.to\n      const k = Math.max(1, block)\n      const w = Math.ceil(pix.w / k)\n      const h = Math.ceil(pix.h / k)\n      const { small, sctx } = pix\n      small.width = w\n      small.height = h\n      sctx.setTransform(1 / k, 0, 0, 1 / k, 0, 0)\n      sctx.font = pix.font\n      sctx.fillStyle = pix.ink\n      sctx.textBaseline = \"middle\"\n      sctx.letterSpacing = pix.spacing\n      sctx.fillText(str, 0, pix.h / 2)\n      ctx.imageSmoothingEnabled = false\n      ctx.drawImage(small, 0, 0, w, h, pix.x, pix.y, w * k, h * k)\n    }\n    const frame = (now: number) => {\n      const p = clamp01((now - t0) / ms)\n      const rP = far * (1 - clamp01(p / 0.4)) // the menu still showing, from the pill out\n      const rB = startB * Math.pow(1 - p, 1.15) // the blob's outer edge, shrinking into the pill\n      // the clip runs a little ahead of the pixels, so the menu's shadow is swallowed gradually instead of popping\n      // off, and the pale pixels always cover the clip's edge\n      reveal(rP > 0 ? rP + 0.3 * (1 - p / 0.4) : 0, box)\n      paint(ctx, cells, colors, (c) => {\n        if (c.d < rP || c.d > rB) return null\n        const k = c.d - rP // how far past the menu's edge\n        const edge = rB - c.d < 0.07 ? 0.6 : 1 // a ragged outer edge\n        if (k < 0.14) return [c.j < 0.5 ? 3 : 2, 0.88 * edge] // pale, dense where the menu is breaking up\n        if (k < 0.28) return [c.j < 0.5 ? 1 : 0, 0.84 * edge]\n        return [c.j < 0.85 ? 0 : 1, 0.86 * edge]\n      })\n      drawLabel(p)\n      if (p < 1) raf.current = requestAnimationFrame(frame)\n      else {\n        stop()\n        done() // the menu stays clipped shut until it unmounts, so it can't flash open for a frame\n      }\n    }\n    raf.current = requestAnimationFrame(frame)\n    return ms * 0.6 // the real label swaps (hidden) as the drawn one swaps at its blockiest\n  }\n\n  const openMenu = (viaKeyboard: boolean) => {\n    stop()\n    pending.current = null\n    setPlain(!!reduce || viaKeyboard)\n    setActive(index)\n    setShown(value)\n    setFade(false)\n    scrollStart.current = trigger.current?.getBoundingClientRect().top ?? 0\n    setPhase(\"opening\")\n  }\n\n  // the page is mounted: swing it open, or fade it in\n  useLayoutEffect(() => {\n    if (phase !== \"opening\") return\n    if (plain) {\n      raf.current = requestAnimationFrame(() => {\n        setFade(true) // one frame at opacity 0 first, so the fade runs\n        setPhase(\"open\")\n      })\n      return\n    }\n    runOpen(current.tint, () => setPhase(\"open\"))\n    // eslint-disable-next-line react-hooks/exhaustive-deps -- once per open\n  }, [phase])\n\n  const closeMenu = useCallback(\n    (picked?: PixelOption, viaKeyboard = false) => {\n      if (phase === \"idle\" || phase === \"closing\") return\n      if (viaKeyboard) setPlain(true)\n      pending.current = { tint: (picked ?? current).tint, swap: !!picked }\n      if (picked) onChange(picked.value)\n      setPhase(\"closing\")\n    },\n    [phase, current, onChange]\n  )\n\n  useLayoutEffect(() => {\n    if (phase !== \"closing\") return\n    const job = pending.current\n    const target = job?.swap ? value : shown\n    const done = () => {\n      pending.current = null\n      setShown(target)\n      setPhase(\"idle\")\n    }\n    if (plain || !job) {\n      stop()\n      setFade(false)\n      setShown(target)\n      later(done, FADE_OUT)\n      return\n    }\n    setFade(false)\n    const arrive = runClose(job.tint, job.swap ? PICK_MS : DISMISS_MS, job.swap ? (options.find((o) => o.value === target)?.label ?? null) : null, done)\n    if (job.swap) later(() => setShown(target), arrive)\n    // eslint-disable-next-line react-hooks/exhaustive-deps -- once per close\n  }, [phase])\n\n  // close on a click outside, on scrolling away and on resize\n  useEffect(() => {\n    if (!expanded) return\n    const outside = (e: PointerEvent) => !root.current?.contains(e.target as Node) && closeMenu()\n    const scrolled = () => {\n      const top = trigger.current?.getBoundingClientRect().top ?? 0\n      if (Math.abs(top - scrollStart.current) > 32) closeMenu()\n    }\n    const resized = () => closeMenu()\n    document.addEventListener(\"pointerdown\", outside, true)\n    window.addEventListener(\"scroll\", scrolled, { passive: true })\n    window.addEventListener(\"resize\", resized)\n    return () => {\n      document.removeEventListener(\"pointerdown\", outside, true)\n      window.removeEventListener(\"scroll\", scrolled)\n      window.removeEventListener(\"resize\", resized)\n    }\n  }, [expanded, closeMenu])\n\n  const onKeyDown = (e: React.KeyboardEvent<HTMLButtonElement>) => {\n    if (!expanded) {\n      if ([\"Enter\", \" \", \"ArrowDown\", \"ArrowUp\"].includes(e.key)) {\n        e.preventDefault()\n        openMenu(true)\n      }\n      return\n    }\n    const last = options.length - 1\n    if (e.key === \"ArrowDown\") setActive((a) => Math.min(last, a + 1))\n    else if (e.key === \"ArrowUp\") setActive((a) => Math.max(0, a - 1))\n    else if (e.key === \"Home\") setActive(0)\n    else if (e.key === \"End\") setActive(last)\n    else if (e.key === \"Enter\" || e.key === \" \") closeMenu(options[active], true)\n    else if (e.key === \"Escape\") closeMenu(undefined, true)\n    else if (e.key === \"Tab\") return closeMenu(undefined, true) // let focus leave\n    else return\n    e.preventDefault()\n  }\n\n  const listId = `${id}-list`\n  const optId = (i: number) => `${id}-opt-${i}`\n  const mounted = phase !== \"idle\"\n\n  return (\n    <div ref={root} className={[\"relative w-full max-w-[360px]\", className].filter(Boolean).join(\" \")}>\n      <button\n        ref={trigger}\n        type=\"button\"\n        role=\"combobox\"\n        aria-haspopup=\"listbox\"\n        aria-expanded={expanded}\n        aria-controls={listId}\n        aria-activedescendant={expanded ? optId(active) : undefined}\n        aria-label={`${label}: ${shownOpt.label}`}\n        // a pointer click (detail > 0) gets the pixels; Enter/Space on a focused pill reports detail 0\n        onClick={(e) => (expanded ? closeMenu(undefined, e.detail === 0) : openMenu(e.detail === 0))}\n        onKeyDown={onKeyDown}\n        onKeyUp={(e) => e.key === \" \" && e.preventDefault()} // Space acts on keydown only\n        className=\"flex h-11 w-full cursor-pointer items-center gap-2 rounded-full border border-black/10 bg-white pr-4 pl-5 text-left text-[14px] text-[#0E0E0E] shadow-[0_2px_6px_rgb(0_0_0/.10)] outline-none transition-transform duration-150 ease-out select-none active:scale-[.97] focus-visible:ring-2 focus-visible:ring-[#FF5A1F] focus-visible:ring-offset-2 focus-visible:ring-offset-transparent motion-reduce:transition-none motion-reduce:active:scale-100 dark:border-white/10 dark:bg-[#141416] dark:text-[#F2F2F3] dark:shadow-[0_2px_6px_rgb(0_0_0/.4)]\"\n      >\n        <span className=\"flex-none text-black/55 dark:text-white/55\">{label}</span>\n        <span ref={labelBox} className=\"relative min-w-0 flex-1 overflow-hidden py-1\">\n          <AnimatePresence initial={false} mode=\"popLayout\">\n            <motion.span\n              key={shownOpt.value}\n              className=\"block truncate font-medium\"\n              initial={reduce ? { opacity: 0 } : { opacity: 0, y: 4, filter: \"blur(2px)\" }}\n              animate={{ opacity: 1, y: 0, filter: \"blur(0px)\" }}\n              exit={reduce ? { opacity: 0 } : { opacity: 0, y: -4, filter: \"blur(2px)\" }}\n              transition={{ duration: 0.15, ease: [0.32, 0.72, 0, 1] }}\n            >\n              {shownOpt.label}\n            </motion.span>\n          </AnimatePresence>\n        </span>\n        <svg\n          viewBox=\"0 0 16 16\"\n          fill=\"none\"\n          stroke=\"currentColor\"\n          strokeWidth=\"1.6\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n          aria-hidden=\"true\"\n          className=\"size-4 flex-none opacity-60 transition-transform duration-200 ease-[cubic-bezier(.32,.72,0,1)] motion-reduce:transition-none\"\n          style={{ transform: expanded ? \"rotate(180deg)\" : \"none\" }}\n        >\n          <path d=\"m4 6 4 4 4-4\" />\n        </svg>\n      </button>\n\n      {mounted && (\n        <div\n          ref={sheet}\n          className=\"absolute inset-x-0 z-20\"\n          style={{\n            top: `calc(100% + ${GAP}px)`,\n            // the ripple path clips it every frame; the fade path (keyboard, reduced motion) uses a short transition\n            opacity: plain ? (fade ? 1 : 0) : 1,\n            transform: plain && !reduce ? (fade ? \"none\" : \"scale(.98)\") : \"none\",\n            transformOrigin: \"top center\",\n            pointerEvents: phase === \"open\" ? \"auto\" : \"none\",\n            transition: plain ? (fade ? `opacity ${FADE_IN}ms ease-out, transform ${FADE_IN}ms cubic-bezier(.32,.72,0,1)` : `opacity ${FADE_OUT}ms ease-out`) : \"none\",\n          }}\n        >\n        <ul\n          id={listId}\n          role=\"listbox\"\n          aria-label={label}\n          tabIndex={-1}\n          className=\"relative m-0 list-none rounded-2xl border border-black/10 bg-white text-[14px] text-[#0E0E0E] shadow-[0_0_0_1px_rgb(0_0_0/.06),0_8px_24px_-6px_rgb(0_0_0/.14),0_2px_6px_-2px_rgb(0_0_0/.06)] dark:border-white/10 dark:bg-[#141416] dark:text-[#F2F2F3] dark:shadow-[0_0_0_1px_rgb(0_0_0/.4),0_12px_32px_-8px_rgb(0_0_0/.6)]\"\n          style={{ padding: PAD }}\n        >\n          {options.map((o, i) => {\n            const selected = o.value === value\n            return (\n              <li\n                key={o.value}\n                id={optId(i)}\n                role=\"option\"\n                aria-selected={selected}\n                data-active={i === active || undefined}\n                onPointerMove={() => setActive(i)}\n                onMouseDown={(e) => e.preventDefault()} // keep focus on the pill\n                onClick={(e) => closeMenu(o, e.detail === 0)}\n                // the highlight follows the pointer and the arrow keys instantly, like a native menu\n                className={[\n                  \"flex cursor-pointer items-center justify-between gap-3 rounded-[10px] px-3.5 select-none data-[active]:bg-black/[.045] dark:data-[active]:bg-white/[.07]\",\n                  selected ? \"font-medium\" : \"\",\n                ].join(\" \")}\n                style={{ height: ROW }}\n              >\n                <span className=\"flex min-w-0 items-center gap-2.5\">\n                  <span aria-hidden=\"true\" className=\"size-2 flex-none rounded-[2px]\" style={{ background: o.tint }} />\n                  <span className=\"truncate\">{o.label}</span>\n                </span>\n                {selected && (\n                  <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.8\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\" className=\"size-4 flex-none\">\n                    <path d=\"m3.5 8.5 3 3 6-7\" />\n                  </svg>\n                )}\n              </li>\n            )\n          })}\n        </ul>\n        </div>\n      )}\n\n      {!reduce && <canvas ref={canvas} aria-hidden=\"true\" className=\"pointer-events-none absolute top-0 left-0 z-30\" style={{ width: 0, height: 0 }} />}\n    </div>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "docs": "Import it with `import { PixelSelect } from \"@/components/pixel-select\"`. Live demo, props and a usage example: https://www.easeoutstudio.com/lab/pixel-select",
  "type": "registry:component"
}