ObjectUIObjectUI
ComponentsDisclosure

Accordion

Expandable content sections

Examples

Basic Accordion

Schema

interface AccordionSchema {
  type: 'accordion';
  items: Array<{
    title: string;
    content: string | SchemaNode;
  }>;
  defaultOpen?: number[];
  multiple?: boolean;
}

On this page