ExoUI is a headless component library for Phoenix LiveView. All components emit semantic HTML with data-exo attributes.
Import the exo.css theme file, or write your own CSS targeting the data-exo attributes.
Yes. The default theme includes dark mode via the data-theme attribute.
<.accordionid="accordion-single-default"><:itemtitle="WhatisExoUI?"open>ExoUI is a headless component library for Phoenix LiveView. All components emit semantic HTML with data-exo attributes.</:item><:itemtitle="HowdoIstylecomponents?">Import the exo.css theme file, or write your own CSS targeting the data-exo attributes.</:item><:itemtitle="Doesitsupportdarkmode?">Yes. The default theme includes dark mode via the data-theme attribute.</:item></.accordion>
ExoUI is a headless component library for Phoenix LiveView. All components emit semantic HTML with data-exo attributes.
Import the exo.css theme file, or write your own CSS targeting the data-exo attributes.
Yes. The default theme includes dark mode via the data-theme attribute.
<.accordionid="accordion-single-multiple"type="multiple"><:itemtitle="WhatisExoUI?"open>ExoUI is a headless component library for Phoenix LiveView. All components emit semantic HTML with data-exo attributes.</:item><:itemtitle="HowdoIstylecomponents?"open>Import the exo.css theme file, or write your own CSS targeting the data-exo attributes.</:item><:itemtitle="Doesitsupportdarkmode?">Yes. The default theme includes dark mode via the data-theme attribute.</:item></.accordion>
ExoUI is a headless component library for Phoenix LiveView. All components emit semantic HTML with data-exo attributes.
Import the exo.css theme file, or write your own CSS targeting the data-exo attributes.
Yes. The default theme includes dark mode via the data-theme attribute.
<.accordionid="accordion-single-plus"variant="plus"><:itemtitle="WhatisExoUI?"open>ExoUI is a headless component library for Phoenix LiveView. All components emit semantic HTML with data-exo attributes.</:item><:itemtitle="HowdoIstylecomponents?">Import the exo.css theme file, or write your own CSS targeting the data-exo attributes.</:item><:itemtitle="Doesitsupportdarkmode?">Yes. The default theme includes dark mode via the data-theme attribute.</:item></.accordion>
ExoUI is a headless component library for Phoenix LiveView. All components emit semantic HTML with data-exo attributes.
Import the exo.css theme file, or write your own CSS targeting the data-exo attributes.
Yes. The default theme includes dark mode via the data-theme attribute.
<.accordionid="accordion-single-joined"joined><:itemtitle="WhatisExoUI?"open>ExoUI is a headless component library for Phoenix LiveView. All components emit semantic HTML with data-exo attributes.</:item><:itemtitle="HowdoIstylecomponents?">Import the exo.css theme file, or write your own CSS targeting the data-exo attributes.</:item><:itemtitle="Doesitsupportdarkmode?">Yes. The default theme includes dark mode via the data-theme attribute.</:item></.accordion>
<.accordionid="accordion-single-disabled-items"><:itemtitle="Thisitemworksnormally"open>You can open and close this item.</:item><:itemtitle="Thisitemisdisabled"disabled>You should not be able to see this.</:item><:itemtitle="Thisalsoworks">Another normal item.</:item></.accordion>
Once opened, you can't close this; only switch to another item.
Now the previous item closed and this one opened.
Same behavior: always exactly one open.
<.accordionid="accordion-single-non-collapsible"><:itemtitle="Alwaysoneopen"open>Once opened, you can't close this; only switch to another item.</:item><:itemtitle="Clickmetoswitch">Now the previous item closed and this one opened.</:item><:itemtitle="Orclickme">Same behavior: always exactly one open.</:item></.accordion>