Index of every page on this site: llms.txt
All skills
skilld-dev avatar

/reka-ui-skilld

@c60d4cc
Run it yourself

Vue port of Radix UI Primitives (headless, accessible, unstyled). ALWAYS use when writing code that imports "reka-ui" or "reka-ui/namespaced", building components with Reka UI primitives, or debugging and reviewing Reka UI usage. Provides version-specific API rules, composition patterns, and styling guidance.

Use this Skill: https://skilld.dev/gh/skilld-dev/vue-ecosystem-skills/reka-ui-skilld

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈82 tokens for metadata: the name and description. ≈2k when used: this file. ≈4.3k more on demand in 5 files.

Description uses 4.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈327 characters, or 4.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Reka UI reka-ui@2.10.5

Unstyled, accessible component primitives for Vue 3. Requires vue >= 3.4.0 (prepared source package.json:87-89). Docs: https://reka-ui.com

References

  • API surface: entry points, every component part, utilities.
  • Composition: asChild, prop forwarding, context injection, controlled state.
  • Styling and animation: data-state, --reka- CSS variables, force-mount with <Transition>.
  • New and changed components: Drawer, Autocomplete, Color primitives, Month/Year pickers, and version-specific prop changes.
  • Integrations: namespaced entry, Nuxt module, component resolver, dates with @internationalized/date, virtualization.

Setup

pnpm add reka-ui   # or npm / yarn / bun
<script setup lang="ts">
import { DialogRoot, DialogTrigger, DialogPortal, DialogOverlay, DialogContent, DialogTitle } from 'reka-ui'
</script>

<template>
  <DialogRoot>
    <DialogTrigger>Edit profile</DialogTrigger>
    <DialogPortal>
      <DialogOverlay />
      <DialogContent>
        <DialogTitle>Edit profile</DialogTitle>
      </DialogContent>
    </DialogPortal>
  </DialogRoot>
</template>

API changes (2.10.x and 2.9.x)

Prioritized recent releases. Baseline skill covered up to 2.9.7.

  • NEW Drawer primitive (2.10.0): swipe dismiss, snap points, nested drawers. Parts: DrawerRoot/Trigger/Portal/Overlay/Content/Close/Title/Description/Handle/SwipeArea/Viewport/Indent/IndentBackground (prepared source src/Drawer/). Release: https://github.com/unovue/reka-ui/releases/tag/v2.10.0
  • NEW ConfigProvider teleportTo prop: global default teleport target (prepared source src/ConfigProvider/ConfigProvider.vue:45)
  • NEW DialogRoot unmountOnHide prop, default true; set false to keep content mounted when hidden (prepared source src/Dialog/DialogRoot.vue:20)
  • NEW SelectRoot nullableValue prop for a hidden-input value representing the empty selection (prepared source src/Select/SelectRoot.vue:18)
  • NEW HoverCardRoot enableTouch prop, default false (prepared source src/HoverCard/HoverCardRoot.vue:15)
  • NEW DateFieldRoot stepSnapping prop, default false (prepared source src/DateField/DateFieldRoot.vue:57)
  • NEW TreeItem disabled prop (2.10.0): https://github.com/unovue/reka-ui/releases/tag/v2.10.0
  • NEW TabsIndicator exposes --reka-tabs-indicator-size, --reka-tabs-indicator-thickness, --reka-tabs-indicator-position CSS variables (prepared source src/Tabs/TabsIndicator.vue:73-75)
  • Better type inference for useEmitAsProps and useForwardPropsEmits (2.10.0)
  • NEW Autocomplete component (2.9.0), a Combobox-style input with its own Autocomplete* part family. Docs: https://reka-ui.com/docs/components/autocomplete
  • NEW Color primitives (2.9.0): ColorArea*, ColorField*, ColorSlider*, ColorSwatch, ColorSwatchPicker*, plus color parse/convert utilities exported from the root
  • NEW TimeRangeField (2.9.0): TimeRangeFieldRoot, TimeRangeFieldInput
  • NEW Month and Year pickers (2.9.0): MonthPicker*, YearPicker* and MonthRangePicker*, YearRangePicker* families
  • NEW CheckboxRoot/SwitchRoot custom boolean values: trueValue and falseValue props replace the fixed true/false (prepared source src/Checkbox/CheckboxRoot.vue:27-31)
  • NEW DropdownMenuFilter part for searchable dropdown menus (2.9.0)
  • NEW Splitter pixel sizing and constraints (2.9.0)
  • NEW global tooltip content configuration via TooltipProvider (2.9.0)
  • Menu internals exported from reka-ui/internal; unstable, may change without semver (prepared source src/internal.ts:1-7)

Earlier breaking changes still relevant when touching older code:

  • radix-vue renamed to reka-ui; CSS variables use --reka- prefix and data attributes use data-reka-. Migration: https://reka-ui.com/docs/guides/migration
  • Combobox refactor: filterFunction prop removed; searchTerm and displayValue moved from Root to ComboboxInput (migration guide above)
  • Checkbox, Toggle, MenuCheckboxItem use standard v-model instead of v-model:checked / v-model:pressed (migration guide above)
  • PaginationRoot itemsPerPage is required (migration guide above)
  • weekStartsOn on Calendar/DatePicker is locale-independent since 2.8.0: https://github.com/unovue/reka-ui/releases/tag/v2.8.0

Release index: https://github.com/unovue/reka-ui/releases

Best practices

<TooltipTrigger asChild>
  <MyButton>Hover me</MyButton>
</TooltipTrigger>
const props = defineProps<AccordionRootProps>()
const emits = defineEmits<AccordionRootEmits>()
const forwarded = useForwardPropsEmits(props, emits)
// <AccordionRoot v-bind="forwarded">
<ConfigProvider dir="rtl" :scroll-body="false">
  <App />
</ConfigProvider>
const { forwardRef } = useForwardExpose()
// <div :ref="forwardRef">...</div>
.AccordionItem[data-state="open"] { border-bottom-width: 2px; }
<Transition name="fade">
  <DialogContent force-mount>...</DialogContent>
</Transition>
<ComboboxViewport class="max-h-80 overflow-y-auto">
  <ComboboxVirtualizer :options="items" :estimate-size="25" v-slot="{ option }">
    <ComboboxItem :value="option">{{ option.label }}</ComboboxItem>
  </ComboboxVirtualizer>
</ComboboxViewport>
  • Access internal primitive state from custom children with injectXContext functions such as injectAccordionRootContext (https://reka-ui.com/docs/guides/inject-context)

  • useId from Reka UI resolves in order: a passed deterministic id, the ConfigProvider useId source, Vue's native useId (Vue 3.5+), then a counter fallback (prepared source src/shared/useId.ts:26-34). On Nuxt with Vue below 3.5, pass Nuxt's useId through ConfigProvider to avoid hydration id mismatches (https://reka-ui.com/docs/guides/server-side-rendering)

  • Date and time components take DateValue and TimeValue objects from @internationalized/date (a direct dependency), never raw strings (https://reka-ui.com/docs/guides/dates)

Common gotchas

  • Every part must sit under its Root; most components also need *Content inside a *Portal or Teleport for correct stacking.
  • Presence forceMount renders content regardless of open state; handle visibility yourself, for example with :hidden (https://reka-ui.com/docs/utilities/presence).
  • Hidden form fields use the part's name and value props; SelectRoot also accepts nullableValue for the empty state.
  • Import from reka-ui for tree-shaking, or reka-ui/namespaced for grouped parts like Dialog.Root; see Integrations.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    This skill provides comprehensive documentation and best practices for using the reka-ui library in Vue 3 applications. It includes detailed API references, composition patterns, styling guidance, and version-specific changes. No security risks were identified.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at c60d4cc. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Activeupdated last month

README badge

README badge for skilld-dev/vue-ecosystem-skills/reka-ui-skilld