Accordion

ExoUI is a headless component library for Phoenix LiveView. All components emit semantic HTML with data-exo attributes.
Attribute Type Documentation Default Value
Required id * :string
class :any
variant :string
type :string "single"
collapsible :boolean true
joined :boolean false
rest :global
Required item * :slot
Show slot attributes Hide slot attributes
Required title * :string
open :boolean
disabled :boolean
<:item title="What is ExoUI?" open>ExoUI is a headless component library for Phoenix LiveView. All components emit semantic HTML with data-exo attributes.</:item>
<:item title="How do I style components?">Import the exo.css theme file, or write your own CSS targeting the data-exo attributes.</:item>
<:item title="Does it support dark mode?">Yes. The default theme includes dark mode via the data-theme attribute.</:item>