Element: #067 Single (surfaces/accordion) What it shows: A single-open Accordion with three FAQ questions about theming, where opening one closes the others. When to use: FAQ sections where only one answer should be visible at a time. Spec: - `` - 3 items: ``, `value="a2"` and `value="a3"` - Item titles: What is a surface style?, Do I need to change components to restyle the app?, Can I nest a Surface inside a Card? - The accordion is uncontrolled, nothing is bound - Wrapped in `.wrap` with `max-width: 560px` Tags: accordion, accordion-item, single, faq, disclosure Needs: @codeatlasdev/ui@4.6.0 Components: Accordion, AccordionItem Live demo: https://ui.codeatlas.com.br/docs/surfaces/accordion#single
A surface style is one knob of the theme: solid (the default), flat, outlined, tonal, frosted, glass and more. Every component follows it. No. Change the theme object and every component follows, in light and dark. Yes. A Card is a Surface, so any Surface can sit inside it.