All skills
onmax avatar

/reka-ui

@1059cab official
by Maxonmax/nuxt-skills715 stars
38

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.

Use this Skill: https://skilld.dev/gh/onmax/nuxt-skills/reka-ui

This session only. Nothing lands on disk.

componentsdate-range-picker.md

≈1.4k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Date Range Picker

Date range picker (alpha)

Parts: DateRangePickerRoot, DateRangePickerField, DateRangePickerInput, DateRangePickerTrigger, DateRangePickerContent, DateRangePickerCalendar, DateRangePickerHeader, DateRangePickerHeading, DateRangePickerGrid, DateRangePickerCell, DateRangePickerCellTrigger, DateRangePickerNext, DateRangePickerPrev

DateRangePickerRoot

Props

Prop Type Default
as AsTag | Component "div"
asChild boolean -
defaultOpen boolean false
defaultPlaceholder DateValue -
defaultValue DateRange { start: undefined, end: undefined }
dir "ltr" | "rtl" -
disabled boolean false
fixedWeeks boolean false
granularity "day" | "hour" | "minute" | "second" -
hideTimeZone boolean -
hourCycle 12 | 24 -
id string -
isDateDisabled Matcher -
isDateUnavailable Matcher -
locale string "en"
maxValue DateValue -
minValue DateValue -
modal boolean false
modelValue DateRange -
name string -
numberOfMonths number 1
open boolean -
pagedNavigation boolean false
placeholder DateValue -
preventDeselect boolean false
readonly boolean false
required boolean -
weekdayFormat "narrow" | "short" | "long" "narrow"
weekStartsOn 0 | 1 | 2 | 3 | 4 | 5 | 6 0

Emits

Event Payload
update:modelValue [date: DateRange]
update:open [value: boolean]
update:placeholder [date: DateValue]
update:startValue [date: DateValue]

DateRangePickerField

Slots

Slot Type
segments { start: { part: SegmentPart; value: string; }[...
modelValue DateRange

DateRangePickerInput

Props

Prop Type Default
as AsTag | Component "div"
asChild boolean -
part* "day" | "month" | "year" | "hour" | "minute" | ... -
type* "start" | "end" -

DateRangePickerTrigger

Props

Prop Type Default
as AsTag | Component "div"
asChild boolean -

DateRangePickerContent

Props

Prop Type Default
align "start" | "center" | "end" -
alignOffset number -
arrowPadding number -
as AsTag | Component "div"
asChild boolean -
avoidCollisions boolean -
collisionBoundary Element | (Element | null)[] | null -
collisionPadding number | Partial<Record<"top" | "right" | "bott... -
disableOutsidePointerEvents boolean -
forceMount boolean -
hideWhenDetached boolean -
prioritizePosition boolean -
side "top" | "right" | "bottom" | "left" -
sideOffset number -
sticky "partial" | "always" -
trapFocus boolean -
updatePositionStrategy "always" | "optimized" -

Emits

Event Payload
closeAutoFocus [event: Event]
escapeKeyDown [event: KeyboardEvent]
focusOutside [event: FocusOutsideEvent]
interactOutside [event: PointerDownOutsideEvent | FocusOutsideE...
openAutoFocus [event: Event]
pointerDownOutside [event: PointerDownOutsideEvent]

DateRangePickerCalendar

Slots

Slot Type
date DateValue
grid Grid<DateValue>[]
weekDays string[]
weekStartsOn 0 | 1 | 2 | 3 | 4 | 5 | 6
locale string
fixedWeeks boolean

DateRangePickerHeader

Props

Prop Type Default
as AsTag | Component "div"
asChild boolean -

DateRangePickerHeading

Props

Prop Type Default
as AsTag | Component "div"
asChild boolean -

Slots

Slot Type
headingValue string

DateRangePickerGrid

Props

Prop Type Default
as AsTag | Component "div"
asChild boolean -

DateRangePickerCell

Props

Prop Type Default
as AsTag | Component "div"
asChild boolean -
date* DateValue -

DateRangePickerCellTrigger

Props

Prop Type Default
as AsTag | Component "div"
asChild boolean -
day* DateValue -
month* DateValue -

DateRangePickerNext

Props

Prop Type Default
as AsTag | Component "div"
asChild boolean -
nextPage ((placeholder: DateValue) => DateValue) -
step "month" | "year" -

DateRangePickerPrev

Props

Prop Type Default
as AsTag | Component "div"
asChild boolean -
prevPage ((placeholder: DateValue) => DateValue) -
step "month" | "year" -

Source: SKILL.md on GitHub

1 alert10d4 checks · Risk CRITICAL
  • Gen Agent Trust Hub10d

    This skill provides documentation and API references for the Reka UI library. It includes a utility script to synchronize documentation with the official GitHub repository, which presents a surface for indirect prompt injection if the external source were compromised.

  • Socket10d

    No alerts

  • Snyk10d

    Risk: LOW · No issues

  • Runlayer7mo

    54 files scanned · No issues

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

Last checked against GitHub 3 days ago.

Activeupdated 8 months ago
  • Vue
  • Nuxt
  • reka-ui
  • components
  • headless
  • accessible
  • aria
  • forms
  • dialogs

README badge

README badge for onmax/nuxt-skills/reka-ui

Unstyled, WAI-ARIA compliant Vue 3 component primitives with support for controlled/uncontrolled state, composition patterns, and virtualization. Use when building headless components from scratch or integrating with Reka-based libraries like Nuxt UI or shadcn-vue.

Generated from the current SKILL.md.

Does Reka UI include styling?
No. Reka UI provides unstyled, WAI-ARIA compliant component primitives. You apply styling yourself or use a styled wrapper library like Nuxt UI or shadcn-vue.
Can I use Reka UI with Nuxt?
Yes. Install the `reka-ui/nuxt` module in nuxt.config.ts for auto-imports of all components, or use the unplugin-vue-components resolver in a standard Vite setup.
How do I control component state?
Use `v-model:open` or `v-model` for controlled state, or `default*` props (like `default-value`) for uncontrolled state.
Does this skill cover styled component libraries built on Reka?
For Nuxt UI and other styled Reka-based components, use the nuxt-ui skill instead. This skill focuses on the unstyled primitives.
What is the `asChild` prop?
It merges the component's behavior and props onto a child element instead of wrapping it, letting you use your own custom element while maintaining accessibility and state management.

Generated from the current SKILL.md. These answers refresh after source changes.