~/talk

Building Component with Primitives using Radix Vue

Talkat Vue.js Nation 2024 · 2024-01-24..01-25· [component-design, accessibility]
slides:none on file

Prototype popover-plus-search list is first built from scratch and shows positioning, focus-trap and keyboard-accessibility bugs; swapping to Radix Vue’s unstyled primitives fixes them. Implementation uses Popover and Combobox primitives with props like side/offset/align, v-model for selected and searchTerm, displayValue to clear input, and prioritized auto-positioning; keyboard arrows/home/end, Enter selection, and auto-scroll all work in the demo. Tree-shaking improves on Vue 3.4 and the primitives interoperate with other UI libraries.

AI-written summary · about

  1. 0:00Introduction
  2. 1:04The challenge of UI libraries
  3. 6:12Building from scratch
  4. 10:25Introducing Radix Vue
  5. 14:04Refactoring with Radix Vue
  6. 17:33Q&A and community resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.