Skip to content
✨ Publier v1 is live — a polished docs platform built for the open web.
On this page

AccordionProps

Public prop types for the Astro-rendered primitives.

Overview

interface AccordionProps

Public prop types for the Astro-rendered primitives.

These live in a separate .ts file (rather than inline in each .astro’s frontmatter) so the barrel index.ts can re-export them without relying on TypeScript’s .astro module inference — only provided in Astro build contexts, not during our plain tsc --noEmit check.

The inline interface Props in each .astro must stay in sync with these.

Properties

name

name?: string

When set, child items share this radio-group name so only one can be open at a time. Omit to let items toggle independently (checkbox mode).