component

Accordion

Stack expandable sections in a single surface.

Page code

// Page
<ui.Accordion items={ model.Accordion } />

// Model
Accordion: []ui.AccordionItem{
	{Title: "What is Gothicbook?", Body: "A small design system demo built with gothic."},
	{Title: "Is this production ready?", Body: "No. It is a proof of concept for the UI kit."},
	{Title: "Can I install the UI kit?", Body: "Yes. Import github.com/metruzanca/gothic/ui."},
},