Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
immediate
prop to <Combobox />
for immediately opening the Combobox when the input
receives focus (#2686)virtual
prop to Combobox
component (#2779)Checkbox
componentRadio
component as an alternative to the existing RadioGroup.Option
componentButton
componentInput
componentTextarea
componentSelect
componentField
, Label
, Description
, Fieldset
and Legend
componentsDataInteractive
componentanchor
and modal
prop to ComboboxOptions
, ListboxOptions
, MenuItems
and PopoverPanel
componentsListboxSelectedOption
componentMenuSection
, MenuHeading
, and MenuSeparator
componentsdata-*
attributes as an alternative to the existing data-headlessui-state="..."
attributeautoFocus
prop on focusable components (which maps to data-autofocus
)data-autofocus
in the dialog)<Dialog>
's onClose
twice on mobile devices (#2690)<Dialog>
(#2697)Tab.Panel
components are hidden from the accessibility tree (#2708)role="alertdialog"
to <Dialog>
component (#2709)Combobox.Input
component closes the Combobox
(#2712)className
prop when the <Transition />
component is currently not transitioning (#2722)<Disclosure.Panel>
and <Popover.Panel>
when as={Fragment}
(#2760)Listbox
component in Chrome (#2824)<Listbox multiple>
and <Combobox multiple>
(#2626)<Listbox multiple>
and <Combobox multiple>
(#2626)<MainTreeNode />
in PopoverGroup
component only (#2634)Dialog
components on iOS (#2635)<Tab />
components are available when setting the next index (#2642)Disclosure
component (#2645)ComboboxInput
component on page load (#2654)nullable
prop on the Combobox
component (#2660)<Listbox multiple>
and <Combobox multiple>
(#2626)<MainTreeNode />
in Popover.Group
component only (#2634)Dialog
components on iOS (#2635)<Tab />
components are available when setting the next index (#2642)Combobox.Input
component on page load (#2654)appear
works using the Transition
component (even when used with SSR) (#2646)nullable
prop on the Combobox
component (#2660)<Suspense>
(#2663)Combobox.Input
value (#2568)aria-expanded
purely based on the open/closed state (#2610)Enter
even if no submit-like button was found (#2613)Combobox.Input
value (#2568)Combobox
component (#2574)aria-expanded
purely based on the open/closed state (#2610)Enter
even if no submit-like button was found (#2613)Menu
and Popover
components (#2448)FocusTrap
is only active when the given enabled
value is true
(#2456)<Transition appear>
from overwriting classes on re-render (#2457)Menu
and Listbox
options while searching (#2471)Portal
component, does not close the Popover
component (#2492)types
condition to the front (#2469)Popover
component (#2430)FocusTrap
is only active when the given enabled
value is true
(#2456)activeIndex
is up to date for the Combobox
component (#2463)Menu
and Listbox
options while searching (#2471)Portal
component, does not close the Popover
component (#2492)types
condition to the front (#2469)Transition
component (#2374)FocusTrap
event listeners once document has loaded (#2389)className
hydration for <Transition appear>
(#2390)Combobox
types to improve false positives (#2411)className
correctly when it’s a function (#2412)form
prop to form-like components such as RadioGroup
, Switch
, Listbox
, and Combobox
(#2356)ComboboxInput
when its Combobox
is disabled (#2375)FocusTrap
event listeners once document has loaded (#2389)<Dialog>
when wrapping transition isn't showing (#2422)ref
is properly handled in the RadioGroup
component (#2424)form
prop to form-like components such as RadioGroup
, Switch
, Listbox
, and Combobox
(#2356)