跳到正文
cccskills
免费在 GitHub 公开

reka-ui

Use when building with Reka UI (headless Vue components) - provides component API, accessibility patterns, composition (asChild), controlled/uncontrolled state, virtualization, and styling integration. Formerly Radix Vue.

中文简介正在准备中。当前显示原文说明。

plutocms/pluto星标 4(GitHub 4 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(54)

  • SKILL.md5.2 KB
  • components.md5.0 KB
  • components/accordion.md1.5 KB
  • components/alert-dialog.md2.2 KB
  • components/aspect-ratio.md311 B
  • components/avatar.md798 B
  • components/calendar.md3.8 KB
  • components/checkbox.md887 B
  • components/collapsible.md875 B
  • components/combobox.md5.1 KB
  • components/config-provider.md311 B
  • components/context-menu.md5.7 KB
  • components/date-field.md1.4 KB
  • components/date-picker.md5.7 KB
  • components/date-range-field.md1.4 KB
  • components/date-range-picker.md5.3 KB
  • components/dialog.md2.1 KB
  • components/dropdown-menu.md6.0 KB
  • components/editable.md2.3 KB
  • components/focus-scope.md413 B
  • components/hover-card.md2.1 KB
  • components/label.md223 B
  • components/listbox.md2.9 KB
  • components/menubar.md6.0 KB
  • components/navigation-menu.md3.1 KB
  • components/number-field.md1.4 KB
  • components/pagination.md2.0 KB
  • components/pin-input.md1012 B
  • components/popover.md2.6 KB
  • components/presence.md62 B
  • components/primitive.md66 B
  • components/progress.md806 B
  • components/radio-group.md1.2 KB
  • components/range-calendar.md3.3 KB
  • components/rating.md2.9 KB
  • components/scroll-area.md1.2 KB
  • components/select.md4.3 KB
  • components/separator.md300 B
  • components/slider.md1.3 KB
  • components/splitter.md1.6 KB
  • components/stepper.md2.1 KB
  • components/switch.md756 B
  • components/tabs.md1.4 KB
  • components/tags-input.md2.1 KB
  • components/time-field.md85 B
  • components/toast.md2.3 KB
  • components/toggle-group.md1005 B
  • components/toggle.md471 B
  • components/toolbar.md1.7 KB
  • components/tooltip.md2.3 KB
  • components/tree.md2.1 KB
  • components/visually-hidden.md230 B
  • references/components.md6.9 KB
  • scripts/generate-components.ts16.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Reka UI

Unstyled, accessible Vue 3 component primitives. WAI-ARIA compliant. Previously Radix Vue.

Current version: v2.8.0 (January 2026)

When to Use

  • Building headless/unstyled components from scratch
  • Need WAI-ARIA compliant components
  • Using Nuxt UI, shadcn-vue, or other Reka-based libraries
  • Implementing accessible forms, dialogs, menus, popovers

For Vue patterns: use vue skill

Available Guidance

FileTopics
references/components.mdComponent index by category (Form, Date, Overlay, Menu, Data, etc.)
components/*.mdPer-component details (dialog.md, select.md, etc.)

Guides (see reka-ui.com): Styling, Animation, Composition, SSR, Namespaced, Dates, i18n, Controlled State, Inject Context, Virtualization, Migration

Loading Files

Consider loading these reference files based on your task:

DO NOT load all files at once. Load only what's relevant to your current task.

For styled Nuxt components built on Reka UI: use nuxt-ui skill

Key Concepts

ConceptDescription
asChildRender as child element instead of wrapper, merging props/behavior
Controlled/UncontrolledUse v-model for controlled, default* props for uncontrolled
PartsComponents split into Root, Trigger, Content, Portal, etc.
forceMountKeep element in DOM for animation libraries
VirtualizationOptimize large lists (Combobox, Listbox, Tree) with virtual scrolling
Context InjectionAccess component context from child components

Installation

// nuxt.config.ts (auto-imports all components)
export default defineNuxtConfig({
  modules: ['reka-ui/nuxt']
})
import { RekaResolver } from 'reka-ui/resolver'
// vite.config.ts (with auto-import resolver)
import Components from 'unplugin-vue-components/vite'

export default defineConfig({
  plugins: [
    vue(),
    Components({ resolvers: [RekaResolver()] })
  ]
})

Basic Patterns

<!-- Dialog with controlled state -->
<script setup>
import { DialogRoot, DialogTrigger, DialogPortal, DialogOverlay, DialogContent, DialogTitle, DialogDescription, DialogClose } from 'reka-ui'
const open = ref(false)
</script>

<template>
  <DialogRoot v-model:open="open">
    <DialogTrigger>Open</DialogTrigger>
    <DialogPortal>
      <DialogOverlay class="fixed inset-0 bg-black/50" />
      <DialogContent class="fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 bg-white p-6 rounded">
        <DialogTitle>Title</DialogTitle>
        <DialogDescription>Description</DialogDescription>
        <DialogClose>Close</DialogClose>
      </DialogContent>
    </DialogPortal>
  </DialogRoot>
</template>
<!-- Select with uncontrolled default -->
<SelectRoot default-value="apple">
  <SelectTrigger>
    <SelectValue placeholder="Pick fruit" />
  </SelectTrigger>
  <SelectPortal>
    <SelectContent>
      <SelectViewport>
        <SelectItem value="apple"><SelectItemText>Apple</SelectItemText></SelectItem>
        <SelectItem value="banana"><SelectItemText>Banana</SelectItemText></SelectItem>
      </SelectViewport>
    </SelectContent>
  </SelectPortal>
</SelectRoot>
<!-- asChild for custom trigger element -->
<DialogTrigger as-child>
  <button class="my-custom-button">Open</button>
</DialogTrigger>

Recent Updates (v2.6.0-v2.8.0)

  • New component: Rating (v2.8.0)
  • ScrollArea: Added "glimpse" scrollbar mode (v2.8.0)
  • PopperContent: Added hideShiftedArrow prop (v2.8.0)
  • TimeField: Added stepSnapping support (v2.8.0)
  • Breaking: weekStartsOn now locale-independent for date components (v2.8.0)
  • Virtualization: estimateSize accepts function for Listbox/Tree (v2.7.0)
  • Composables: useLocale, useDirection exposed (v2.6.0)
  • Select: disableOutsidePointerEvents prop on Content (v2.7.0)
  • Toast: disableSwipe prop (v2.6.0)

Resources


Token efficiency: ~350 tokens base, components.md index ~100 tokens, per-component ~50-150 tokens

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

nuxt

免费

Use when working on Nuxt 4+ projects - provides server routes, file-based routing, middleware patterns, Nuxt-specific composables, and configuration with latest docs. Covers h3 v1 helpers (validation, WebSocket, SSE) and nitropack v2 patterns. Updated for Nuxt 4.3+.

中文简介正在准备中。当前显示原文说明。

plutocms/pluto42026年10月26日 更新

Use when creating Nuxt modules: (1) Published npm modules (@nuxtjs/, nuxt-), (2) Local project modules (modules/ directory), (3) Runtime extensions (components, composables, plugins), (4) Server extensions (API routes, middleware), (5) Releasing/publishing modules to npm, (6) Setting up CI/CD workflows for modules. Provides defineNuxtModule patterns, Kit utilities, hooks, E2E testing, and release automation.

中文简介正在准备中。当前显示原文说明。

plutocms/pluto42026年10月26日 更新

nuxt-ui

免费

Use when building styled UI with @nuxt/ui v4 components - create forms with validation, implement data tables with sorting, build modal dialogs and overlays, configure Tailwind Variants theming. Use vue skill for raw component patterns, reka-ui for headless primitives.

中文简介正在准备中。当前显示原文说明。

plutocms/pluto42026年10月26日 更新

vite

免费

Vite build tool configuration, plugin API, SSR, and Vite 8 Rolldown migration. Use when working with Vite projects, vite.config.ts, Vite plugins, or building libraries/SSR apps with Vite.

中文简介正在准备中。当前显示原文说明。

plutocms/pluto42026年10月26日 更新

vitest

免费

Use when writing unit/integration tests for Vite projects - configure vitest.config.ts, write test suites with describe/it, create mock implementations with vi.fn and vi.mock, set up code coverage thresholds, and run tests in parallel

中文简介正在准备中。当前显示原文说明。

plutocms/pluto42026年10月26日 更新

vue

免费

Use when editing .vue files, creating Vue 3 components, writing composables, or testing Vue code - provides Composition API patterns, props/emits best practices, VueUse integration, and reactive destructuring guidance

中文简介正在准备中。当前显示原文说明。

plutocms/pluto42026年10月26日 更新

查看 plutocms 的全部技能

报告此技能的问题