Components
Accordion
Collapsible sections built on native details elements.
Does Mines need a UI framework?
No. Components are Astro files with plain CSS and small scripts.
Can I use Markdown instead of MDX?
Yes. .md files work, but components require .mdx.
Does search work in dev?
The index is built after astro build. Use astro preview to try it.
<Accordion>
<AccordionItem title="Does Mines need a UI framework?" open>
No. Components are Astro files with plain CSS and small scripts.
</AccordionItem>
<AccordionItem title="Can I use Markdown instead of MDX?">
Yes. `.md` files work, but components require `.mdx`.
</AccordionItem>
</Accordion>Props
titlestringrequired
Summary text.
openboolean
Start expanded.
namestring
Items sharing a name close each other when opened.