{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "segmented-control",
  "title": "SegmentedControl",
  "description": "An iOS-style segmented control: a row of equal segments with a raised thumb that slides to the checked one, for switching how one view shows its content in place, such as list or grid.",
  "dependencies": [
    "@base-ui/react@^1.8.0"
  ],
  "registryDependencies": [
    "@ouro/lib-class-name-check",
    "@ouro/lib-cn",
    "@ouro/lib-dev",
    "@ouro/lib-env",
    "@ouro/lib-touch-target",
    "@ouro/lib-use-dev-messages"
  ],
  "files": [
    {
      "path": "registry/ouro/components/ouro/segmented-control/segmented-control-styles.ts",
      "content": "export { groupClass, labelClass, ownLook, revealClass, rootClass, segmentClass, thumbClass };\n\n// Class strings for SegmentedControl, apart from the component so its file exports only\n// components (React Fast Refresh). Class strings are literal so the app's Tailwind finds\n// them when it compiles.\n\n/**\n * The `Fix:` for an appearance class: the control draws its own look.\n *\n * @internal\n */\nfunction ownLook(component: string): (token: string) => string {\n  return (token) => `remove \"${token}\"; ${component} sets its own look`;\n}\n\n/**\n * The label above the track, and the track.\n *\n * @internal\n */\nconst rootClass = \"box-border grid min-w-0 content-start justify-items-start gap-2\";\n\n// revealOnHover: with a mouse, transparent until the pointer rests on the control or focus is in it.\nconst revealClass = \"transition-opacity duration-(--ouro-duration-fast) ease-[ease] pointer-fine:[&:not(:hover,:focus-within)]:opacity-0\";\n\n/**\n * The label, as Field draws it.\n *\n * @internal\n */\nconst labelClass = \"m-0 block text-sm leading-5 font-medium text-foreground select-none\";\n\n/**\n * The track: one column per segment, each at least as wide as its label, so no label is cut. The\n * columns are equal when every label fits an equal share, as Apple's segmented control does; when\n * one doesn't, it keeps its width and the others share the rest equally. 44px tall on a coarse pointer, stepping down to\n * 36px from `sm` with a fine pointer.\n * @claim \"so no label is cut\" registry/ouro/components/ouro/segmented-control/segmented-control.test.tsx verify:testExists(registry/ouro/components/ouro/segmented-control/segmented-control.test.tsx::SegmentedControl > shows every label whole: equal segments when they fit, and a long label keeps its width when they don't)\n * @claim \"The columns are equal when every label fits\" registry/ouro/components/ouro/segmented-control/segmented-control.test.tsx verify:testExists(registry/ouro/components/ouro/segmented-control/segmented-control.test.tsx::SegmentedControl > shows every label whole: equal segments when they fit, and a long label keeps its width when they don't)\n *\n * @internal\n * @claim \"44px tall on a coarse pointer\" registry/ouro/components/ouro/segmented-control/segmented-control.touch.test.tsx verify:testExists(registry/ouro/components/ouro/segmented-control/segmented-control.touch.test.tsx::keeps 44px segments with 16px text on a phone, also in landscape)\n */\nconst groupClass =\n  \"relative isolate m-0 box-border inline-grid max-w-full grid-flow-col auto-cols-[minmax(max-content,1fr)] p-0.5 [anchor-scope:--ouro-segment] \" +\n  \"h-(--ouro-segmented-h) [--ouro-segmented-h:calc(var(--spacing)*11)] sm:pointer-fine:[--ouro-segmented-h:calc(var(--spacing)*9)] \" +\n  \"rounded-ouro-lg bg-muted forced-colors:border forced-colors:border-solid\";\n\n/**\n * The raised thumb behind the pressed segment, whose edges it takes by CSS anchor positioning\n * (the pressed segment is the anchor, Baseline since January 2026): no measuring, and server\n * HTML already has it right.\n * It slides on the ease-in-out token; with reduced motion, or on an arrow key, it moves at once.\n *\n * @internal\n * @claim \"no measuring, and server HTML already has it right\" registry/ouro/components/ouro/segmented-control/segmented-control.test.tsx verify:testExists(registry/ouro/components/ouro/segmented-control/segmented-control.test.tsx::SegmentedControl > slides the thumb under the pressed segment with a transition)\n * @claim \"no measuring, and server HTML already has it right\" registry/ouro/components/ouro/segmented-control/segmented-control.test.tsx verify:testExists(registry/ouro/components/ouro/segmented-control/segmented-control.test.tsx::SegmentedControl > keeps the label id and pressed state in server HTML and hydrates without a mismatch)\n */\nconst thumbClass =\n  \"pointer-events-none absolute top-0.5 bottom-0.5 -z-1 rounded-ouro-md \" +\n  \"[position-anchor:--ouro-segment] start-[anchor(start)] end-[anchor(end)] \" +\n  \"forced-colors:bg-[Highlight] \" +\n  \"bg-background dark:bg-[color-mix(in_oklab,var(--foreground)_16%,var(--muted))] \" +\n  \"shadow-(--shadow-sm) \" +\n  \"[transition:inset-inline-start_var(--ouro-duration-base)_var(--ouro-ease-in-out),inset-inline-end_var(--ouro-duration-base)_var(--ouro-ease-in-out),opacity_var(--ouro-duration-fast)_ease] \" +\n  \"motion-reduce:[transition:opacity_var(--ouro-duration-fast)_ease] in-data-ouro-keyboard:[transition:none]\";\n\n/**\n * A segment: muted text, the foreground when pressed. The muted text is mixed 20% toward the\n * foreground, for more contrast on the muted track than plain `text-muted-foreground` has.\n * Under forced colours the pressed segment is lettered in HighlightText on the thumb's Highlight.\n * Hover lifts only the other segments' text, so the pointer resting on the pressed segment never\n * turns its letters back to the page's text colour.\n *\n * @internal\n * @claim \"Hover lifts only the other segments'\" registry/ouro/components/ouro/segmented-control/segmented-control.test.tsx verify:testExists(registry/ouro/components/ouro/segmented-control/segmented-control.test.tsx::SegmentedControl > keeps HighlightText on the pressed segment under forced colours while the pointer rests on it)\n * @claim \"The muted text is mixed 20%\" registry/ouro/components/ouro/segmented-control/segmented-control-styles.ts verify:fileLine(registry/ouro/components/ouro/segmented-control/segmented-control-styles.ts, /text-\\[color-mix\\(in_oklab,var\\(--muted-foreground\\)_80%,var\\(--foreground\\)\\)\\]/)\n */\nconst segmentClass =\n  \"press relative m-0 box-border flex cursor-pointer items-center justify-center px-3 pointer-coarse:min-w-11 \" +\n  \"rounded-ouro-md border-0 bg-transparent text-base font-medium whitespace-nowrap text-[color-mix(in_oklab,var(--muted-foreground)_80%,var(--foreground))] sm:pointer-fine:text-sm \" +\n  \"select-none touch-manipulation [-webkit-tap-highlight-color:transparent] \" +\n  \"not-data-disabled:not-data-pressed:pointer-fine:hover:text-foreground data-pressed:text-foreground forced-colors:data-pressed:text-[HighlightText] \" +\n  \"motion-safe:not-data-disabled:active:scale-(--ouro-press-scale) data-pressed:[anchor-name:--ouro-segment] \" +\n  \"outline-ring outline-offset-1 focus-visible:outline-2 focus-visible:outline-solid \" +\n  \"data-disabled:cursor-not-allowed data-disabled:opacity-50\";\n",
      "type": "registry:ui",
      "target": "@components/ouro/segmented-control/segmented-control-styles.ts"
    },
    {
      "path": "registry/ouro/components/ouro/segmented-control/segmented-control.tsx",
      "content": "\"use client\";\n\nimport { Toggle } from \"@base-ui/react/toggle\";\nimport { useEffect, useId, useRef, useState, type CSSProperties, type JSX, type KeyboardEvent, type Ref } from \"react\";\nimport { useAppearanceClassNameCheck } from \"@/registry/ouro/lib/ouro/class-name-check\";\nimport { cn } from \"@/registry/ouro/lib/ouro/cn\";\nimport { TouchTarget } from \"@/registry/ouro/lib/ouro/touch-target\";\nimport { devThrow, devWarn } from \"@/registry/ouro/lib/ouro/dev\";\nimport { useDevWarnings } from \"@/registry/ouro/lib/ouro/use-dev-messages\";\nimport {\n  groupClass,\n  labelClass,\n  ownLook,\n  revealClass,\n  rootClass,\n  segmentClass,\n  thumbClass,\n} from \"@/registry/ouro/components/ouro/segmented-control/segmented-control-styles\";\n\n/** One segment. */\nexport interface SegmentedControlItem {\n  /** Identifies the segment: `value`, `defaultValue` and `onValueChange` use it. Unique within the control. */\n  value: string;\n  /** The segment's text. Keep it to one short word; every segment gets the width of the longest. */\n  label: string;\n  /** Shows the segment but keeps it from being pressed. */\n  disabled?: boolean | undefined;\n  /** Not a prop. A segment switches a view in place; to go to another page, use `Tabs` or links in a `<nav>`. */\n  href?: { 'A segment switches a view in place. To navigate, use links in a <nav>': never };\n}\n\n/** Props for {@link SegmentedControl}. */\nexport interface SegmentedControlProps {\n  /**\n   * Names the choice (\"View\"). Shown above the control unless `hideLabel` is set; screen readers always hear it.\n   *\n   * @claim \"Shown above the control unless `hideLabel`\" registry/ouro/components/ouro/segmented-control/segmented-control.test.tsx verify:testExists(registry/ouro/components/ouro/segmented-control/segmented-control.test.tsx::SegmentedControl > hides the label visually with hideLabel, and still names the group)\n   */\n  label: string;\n  /** Hides the label visually; it still names the control for screen readers. Set it on a view switcher whose segments say what it is. */\n  hideLabel?: boolean | undefined;\n  /** The segments, in order. Keep to two to five. */\n  items: readonly SegmentedControlItem[];\n  /** The pressed segment's value, when you control it. Pair it with `onValueChange`. */\n  value?: string | undefined;\n  /** The segment pressed first, when the component keeps its own state. @default the first enabled item */\n  defaultValue?: string | undefined;\n  /** Called with the new segment's value when the person presses a segment. Pressing the pressed one does nothing. */\n  onValueChange?: ((value: string) => void) | undefined;\n  /**\n   * Disables every segment.\n   *\n   * @claim \"Disables every segment\" registry/ouro/components/ouro/segmented-control/segmented-control.test.tsx verify:testExists(registry/ouro/components/ouro/segmented-control/segmented-control.test.tsx::SegmentedControl > disables one segment, or the whole control)\n   */\n  disabled?: boolean | undefined;\n  /** Stretches the control to the width of its container, with the segments sharing it equally. */\n  fullWidth?: boolean | undefined;\n  /**\n   * For a secondary control laid over content, such as a switch on a slide: on a screen with a\n   * mouse the control stays transparent, keeping its room, until the pointer rests on it or focus\n   * is in it, then fades in. On a touch screen it shows from the start. Screen readers reach it\n   * while it is transparent too, and keyboard focus shows it. Pass `false` to show it again, as\n   * when the page's controls are turned on.\n   * @claim \"on a screen with a mouse the\" registry/ouro/components/ouro/segmented-control/segmented-control.test.tsx verify:testExists(registry/ouro/components/ouro/segmented-control/segmented-control.test.tsx::SegmentedControl revealOnHover > stays transparent, keeping its room, until the pointer rests on it or focus is in it)\n   * @claim \"On a touch screen it shows\" registry/ouro/components/ouro/segmented-control/segmented-control.touch.test.tsx verify:testExists(registry/ouro/components/ouro/segmented-control/segmented-control.touch.test.tsx::shows a revealOnHover control from the start on a touch screen)\n   */\n  revealOnHover?: boolean | undefined;\n  /** Submits the checked segment's value under this name with the form it sits in, unless the control is `disabled`. */\n  name?: string | undefined;\n  /** Layout only: margins, grid placement (`mt-4`). Appearance classes warn in development. */\n  className?: string | undefined;\n  /** Reaches the group element (`role=\"radiogroup\"`). */\n  ref?: Ref<HTMLDivElement> | undefined;\n\n  /** Not a prop. Ouro UI uses `items`: `<SegmentedControl items={[{ value, label }]}>`. */\n  options?: { 'Use <SegmentedControl items={[{ value, label }]}>': never };\n  /** Not a prop. Ouro UI uses `onValueChange`, which gets the value: `<SegmentedControl onValueChange={(value) => …}>`. */\n  onChange?: { 'Use <SegmentedControl onValueChange={(value) => ...}>': never };\n}\n\n/** The first value that appears twice, or undefined. */\nfunction duplicateValue(items: readonly SegmentedControlItem[]): string | undefined {\n  const seen = new Set<string>();\n  for (const item of items) {\n    if (seen.has(item.value)) return item.value;\n    seen.add(item.value);\n  }\n  return undefined;\n}\n\n/**\n * An iOS-style segmented control: a row of equal segments with a raised thumb that slides\n * to the checked one, for switching how one view shows its content in place, such as list\n * or grid. Exactly one segment is checked. Screen readers hear a radio group, and the arrow\n * keys check the next segment as they do for radio buttons. Segments are 44px tall on touch\n * screens, and `name` submits the value with a form. Keyboard focus stays on the checked\n * segment: when the app checks another one while a segment has focus, focus moves to it, so\n * the ring and the thumb never mark two segments.\n *\n * A switch laid over content can keep out of the way with `revealOnHover`: with a mouse it shows\n * only while the pointer rests on it or focus is in it.\n *\n * Use `Tabs` instead when each choice shows different content with its own panel. Use links\n * in a `<nav>` instead when each choice is its own page. Use a `RadioGroup` instead for a\n * form value that is submitted.\n *\n * @group Navigation\n * @see https://ui.ouroboros.bot/docs/segmented-control\n *\n * @example\n * <SegmentedControl\n *   label=\"View\"\n *   hideLabel\n *   items={[\n *     { value: \"list\", label: \"List\" },\n *     { value: \"grid\", label: \"Grid\" },\n *   ]}\n *   value={view}\n *   onValueChange={setView}\n * />\n * @claim \"Keyboard focus stays on the checked\" registry/ouro/components/ouro/segmented-control/segmented-control.test.tsx verify:testExists(registry/ouro/components/ouro/segmented-control/segmented-control.test.tsx::SegmentedControl > moves focus to the segment the app checks, so the ring and the thumb mark one segment)\n * @claim \"Segments are 44px tall on touch\" registry/ouro/components/ouro/segmented-control/segmented-control.test.tsx verify:testExists(registry/ouro/components/ouro/segmented-control/segmented-control.test.tsx::SegmentedControl > submits the checked value with a form when given a name)\n * @claim \"Segments are 44px tall on touch\" registry/ouro/components/ouro/segmented-control/segmented-control.touch.test.tsx verify:testExists(registry/ouro/components/ouro/segmented-control/segmented-control.touch.test.tsx::keeps 44px segments with 16px text on a phone, also in landscape)\n */\nexport function SegmentedControl(props: SegmentedControlProps): JSX.Element {\n  const {\n    label,\n    hideLabel,\n    items,\n    value,\n    defaultValue,\n    onValueChange,\n    disabled,\n    fullWidth,\n    revealOnHover,\n    name,\n    className,\n    ref,\n    // Guard props (hint types), dropped here so they never reach the DOM.\n    options,\n    onChange,\n  } = props;\n  useAppearanceClassNameCheck(\n    \"SegmentedControl\",\n    className,\n    process.env.NODE_ENV !== \"production\" ? ownLook(\"SegmentedControl\") : /* istanbul ignore next @preserve -- production only */ \"\",\n  );\n  const duplicate = duplicateValue(items);\n  if (duplicate !== undefined) {\n    devThrow(\n      \"SegmentedControl\",\n      `two items have the value \"${duplicate}\"`,\n      process.env.NODE_ENV !== \"production\" ? \"give each item its own value\" : /* istanbul ignore next @preserve -- production only */ \"\",\n    );\n  }\n  useDevWarnings(\n    \"SegmentedControl\",\n    process.env.NODE_ENV !== \"production\"\n      ? () => {\n          const known = (candidate: string | undefined) => candidate === undefined || items.some((item) => item.value === candidate);\n          const first = items[0]?.value ?? \"…\";\n          return [\n            options !== undefined && [\"options is not a prop\", \"<SegmentedControl items={[{ value, label }]}>\"],\n            onChange !== undefined && [\"onChange is not a prop\", \"<SegmentedControl onValueChange={(value) => …}>\"],\n            !known(value) && [`value=\"${value}\" matches no item`, `<SegmentedControl value=\"${first}\">`],\n            !known(defaultValue) && [\n              `defaultValue=\"${defaultValue}\" matches no item`,\n              `<SegmentedControl defaultValue=\"${first}\">`,\n            ],\n            items.some((item) => item.href !== undefined) && [\n              \"a segment switches a view in place, so it has no href\",\n              \"<Tabs> or links in a <nav>\",\n            ],\n          ];\n        }\n      : /* istanbul ignore next @preserve -- production only */ undefined,\n  );\n  const [own, setOwn] = useState(() => defaultValue ?? items.find((item) => !item.disabled)?.value);\n  const selected = value !== undefined ? value : own;\n  const index = items.findIndex((item) => item.value === selected);\n  const tabStop = index === -1 ? items.find((item) => !item.disabled)?.value : selected;\n  const labelId = useId();\n  // Set while an arrow, Home or End key moves focus, so the segment it lands on gets checked,\n  // as a radio button does. Tab and pointer focus leave the value alone.\n  const arrowed = useRef(false);\n  // The values this control asked for since focus came in, so one the app checks late, after a\n  // quicker key, still counts as the person's own and does not pull focus back.\n  const asked = useRef(new Set<string | undefined>());\n  const choose = (pressed: string) => {\n    // Never report the value that is already checked.\n    if (pressed === selected) return;\n    asked.current.add(pressed);\n    setOwn(pressed);\n    onValueChange?.(pressed);\n  };\n  useEffect(() => {\n    // The app checked another segment (a setting changed elsewhere) while a segment has focus:\n    // focus follows the check, so the ring is never on a segment beside the thumb's.\n    const group = document.activeElement!.closest(`[aria-labelledby=\"${labelId}\"]`);\n    if (!group || asked.current.has(selected)) return;\n    const checked = group.querySelector<HTMLElement>('[data-ouro-segment][aria-checked=\"true\"]');\n    if (checked) checked.focus();\n  }, [selected, labelId]);\n  // Each label shows whole; when the control has less room than its labels need, they spill out of it, and development says so.\n  const spillKey = useRef({});\n  useEffect(() => {\n    /* istanbul ignore else @preserve -- the else path exists only in production bundles; scripts/dev-strip.test.mjs covers it */\n    if (process.env.NODE_ENV !== \"production\") {\n      const group = document.querySelector<HTMLElement>(`[aria-labelledby=\"${labelId}\"]`)!;\n      const observer = new ResizeObserver(() => {\n        // The group grows to its labels' width; the component's root is the room it has.\n        const [need, room] = [group.offsetWidth, group.parentElement!.clientWidth];\n        if (need <= room) return;\n        // Stryker disable next-line EqualityOperator: of two labels as long as each other, either makes the example\n        const longest = items.reduce((a, b) => (b.label.length > a.label.length ? b : a));\n        devWarn(\n          \"SegmentedControl\",\n          `its labels need ${need}px and it has ${room}px, so they spill out of it`,\n          `{ value: \"${longest.value}\", label: \"${longest.label.split(\" \")[0]}\" }`,\n          spillKey.current,\n        );\n      });\n      // The room is the root's width; new labels run this effect again.\n      observer.observe(group.parentElement!);\n      // Stryker disable next-line ArrowFunction: an observer left on a root that is gone reports nothing more\n      return () => observer.disconnect();\n    }\n  }, [labelId, items]);\n  // Roving focus is the control's own, not Base UI's composite, whose mount reads computed style.\n  // The arrow keys wrap and follow the way the text runs; Home and End go to the ends.\n  const move = (event: KeyboardEvent<HTMLDivElement>): void => {\n    const segments = Array.from(event.currentTarget.querySelectorAll<HTMLElement>(\"[data-ouro-segment]:not(:disabled)\"));\n    const at = segments.indexOf(event.target as HTMLElement);\n    // A key from a segment disabled while it had focus moves nothing.\n    if (at === -1) return;\n    if (event.altKey || event.ctrlKey || event.metaKey || event.shiftKey) return;\n    const rtl = (event.currentTarget.closest(\"[dir]\")?.getAttribute(\"dir\") ?? document.documentElement.dir) === \"rtl\";\n    const step = event.key === \"ArrowRight\" ? (rtl ? -1 : 1) : event.key === \"ArrowLeft\" ? (rtl ? 1 : -1) : 0;\n    const target =\n      event.key === \"Home\" ? 0 : event.key === \"End\" ? segments.length - 1 : step ? (at + step + segments.length) % segments.length : -1;\n    if (target === -1) return;\n    event.preventDefault();\n    // Stryker disable next-line OptionalChaining: target is always inside segments\n    segments[target]?.focus();\n  };\n  const thumbStyle = {\n    opacity: index === -1 ? 0 : undefined,\n  } as CSSProperties;\n  return (\n    <div data-ouro=\"segmented-control\" className={cn(rootClass, fullWidth && \"justify-items-stretch\", revealOnHover && revealClass, className)}>\n      <span id={labelId} className={cn(labelClass, hideLabel && \"sr-only\")}>\n        {label}\n      </span>\n      <div\n        ref={ref}\n        role=\"radiogroup\"\n        aria-labelledby={labelId}\n        data-orientation=\"horizontal\"\n        data-disabled={disabled ? \"\" : undefined}\n        onKeyDown={move}\n        onKeyDownCapture={(event) => {\n          arrowed.current = /^(Arrow|Home$|End$)/.test(event.key);\n          // A key moves the thumb at once; only a pointer slides it.\n          event.currentTarget.toggleAttribute(\"data-ouro-keyboard\", true);\n        }}\n        onPointerDownCapture={(event) => {\n          // A pointer press focuses the segment it lands on; that focus is not an arrow key's.\n          arrowed.current = false;\n          event.currentTarget.toggleAttribute(\"data-ouro-keyboard\", false);\n        }}\n        onBlurCapture={(event) => {\n          // Focus leaving the group (by pointer, say) ends the arrow key's move.\n          if (!event.currentTarget.contains(event.relatedTarget)) arrowed.current = false;\n          // It also ends what the person asked for here: a check the app makes after this is its own.\n          if (!event.currentTarget.contains(event.relatedTarget)) asked.current.clear();\n        }}\n        className={cn(groupClass, fullWidth && \"grid w-full\")}\n      >\n        <span aria-hidden=\"true\" data-ouro-segment-thumb=\"\" className={thumbClass} style={thumbStyle} />\n        {items.map((item) => (\n          <Toggle\n            key={item.value}\n            pressed={item.value === selected}\n            // Pressing the checked segment would leave none checked. Keep it.\n            onPressedChange={(next) => {\n              // Stryker disable next-line ConditionalExpression: only the checked segment reports false, and choose ignores the checked value\n              if (next) choose(item.value);\n            }}\n            disabled={disabled || item.disabled}\n            data-ouro-segment=\"\"\n            data-ouro-control=\"segmented-control\"\n            data-ouro-part=\"segment\"\n            className={segmentClass}\n            // A radio, not a toggle button: pressing the checked one does not uncheck it.\n            render={(segmentProps, state) => <button {...segmentProps} role=\"radio\" aria-checked={state.pressed} aria-pressed={undefined} />}\n            // The checked segment is the one Tab lands on, as in a radio group.\n            tabIndex={item.value === tabStop ? 0 : -1}\n            onFocus={() => {\n              if (!arrowed.current) return;\n              arrowed.current = false;\n              choose(item.value);\n            }}\n          >\n            <TouchTarget />\n            <span className=\"relative min-w-0 truncate\">{item.label}</span>\n          </Toggle>\n        ))}\n      </div>\n      {name !== undefined && <input type=\"hidden\" name={name} value={selected ?? \"\"} disabled={disabled} />}\n    </div>\n  );\n}\n",
      "type": "registry:ui",
      "target": "@components/ouro/segmented-control/segmented-control.tsx"
    }
  ],
  "docs": "An iOS-style segmented control: a row of equal segments with a raised thumb that slides to the checked one, for switching how one view shows its content in place, such as list or grid. Import: import { SegmentedControl } from \"@/components/ouro/segmented-control/segmented-control\", with @/components replaced by your components alias (aliases.components in components.json, such as ~/components). Also installed: the helpers it imports in lib/ouro. Needs ouro-base in your stylesheet: add that item once per app, from the same place as this one, if you have not. Docs: https://ui.ouroboros.bot/docs/segmented-control.md Ouro UI v1.3.257.",
  "type": "registry:ui"
}