DISPLAY

Accordion

Accordion keeps the same normalized state, disclosure geometry, and border treatment across web, Android Compose, the Android development launcher, and iOS. Ghost stays editorial and quiet by default; soft, outlined, and solid treatments make the variant-versus-scheme balance explicit when a surface needs more emphasis.

STRUCTURAL CONTENT

Items stay inspectable

Each panel has a stable id, a label, and a normal Dowe view tree as its body.

PLAYGROUND

Build a release FAQ

multiple:true lets readers compare answers without closing the panel they are already reading; multiple:false always keeps at most one item open.

Dowe lowers the page to a shared view model and lets each target render its own native disclosure behavior.

The source remains target-neutral.

dowe
Accordion multiple:true variant:"outlined" scheme:"surface" rounded:"md"
  item id:"source" label:"Where does the source run?" defaultOpen:true
    Text size:"sm" color:"muted"
      "Dowe lowers the page to a shared view model."
  item id:"runtime" label:"Does it require a JavaScript package?"
    Text size:"sm" color:"muted"
      "No. Web, Android, and iOS use Dowe-owned output."
  item id:"migration" label:"Can this item be disabled?" disabled:true
    Text size:"sm" color:"muted"
      "Disabled entries remain visible."

ADVANCED PATTERNS

Use the body as a real view tree

Accordion items are not string-only slots. Use Grid, Flex, Text, Title, and actions to make each answer useful on its own.

OPERATIONS

Deployment checks

Compile once, inspect the generated artifact, and ship the selected target.

SCHEME

Surface documentation

background and surface are structural families intended for documentation panels.

SINGLE OPEN

Progressive disclosure

Use the default-open item to establish the first step.

API

Props

Accordion also accepts the applicable common spacing, sizing, border, visibility, and accessibility props. Ghost uses separators, soft uses a subtle item border, and solid or outlined use full item borders consistently on every target.

Prop
Type
Default

No data

There are no records to display