Questions tagged [headless-ui]

Headless UI – Unstyled, fully accessible UI components

Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS. React Vue. Menu (Dropdown) · Listbox (Select).

https://headlessui.dev

154 questions
2
votes
1 answer

How to use Headless UI Tabs with React Router 6

I'm trying to create a reusable Tabs component with headless ui (https://headlessui.com/react/tabs) that works with react router Here is a minimal reproducible example, clicking on a tab takes you to a new page when it should be changing the tab…
Code User
  • 25
  • 1
  • 8
2
votes
0 answers

Updating modelValue in Headless UI Listbox component when options array change

I have a SelectField Vue Single File Component which relies on Headless UI Listbox. It receives current modelValue as a prop and emits update:modelValue event to update parent's state, as normal: // Selectfield.vue