All things Disclosure
Components
Examples
Radix DialogCreating a modal dialog primitive offering the same API as Radix UI but using the Ariakit Dialog component instead.
Animated DisclosureApplying plain CSS transitions to Disclosure components to animate the DisclosureContent height as it expands and collapses.
API Reference
useDisclosureContextReturns the disclosure store from the nearest disclosure container.
useDisclosureStoreCreates a disclosure store to control the state of
Disclosure components.
DisclosureRenders an element that controls the visibility of a
DisclosureContent
element.
DisclosureContentRenders an element that can be shown or hidden by a
Disclosure component.
DisclosureProviderProvides a disclosure store to
Disclosure components.