Custom APIs
In this example, both Dialog and Menu are abstracted into custom components that provide a simple API using compound components. This is possible due to the lower-level API provided by Ariakit components and stores.
For more information about component stores, refer to the Component stores guide.