Components
Accordion
Progressive disclosure for requirements, schedules and FAQ text. One open item or many, with an animated height and a fluid hover fill on the open trigger.
Schedules are posted at your barangay hall and on the barangay Facebook page; most provinces finish the round in two weekends.
Anumang government-issued ID; UMID, PhilHealth, driver's license, or passport; at isang kopya ng project brief.
From the barangay Secretary, or print the PDFs linked on this site under Services.
Usage
Long, scannable policy text where most readers need one section.
Do and don't
- Do. Keep triggers as short questions or noun phrases.
- Don't. Hide a required step or a download behind an accordion.
Composition
Accordion wraps AccordionItem rows. Each row owns an AccordionTrigger and an AccordionContent. All four are exported from the same item.
Props
type="single" | "multiple"; one open item or many.collapsible; withsingle, allows closing the open item.value/defaultValue/onValueChange; controlled by string (single) or string[] (multiple).size="default" | "compact"; pins rows to 36px or 28px. Omit to follow the surrounding size context.
AccordionGroup is the lower-level primitive for custom headers. It accepts highlight="trigger" | "item" to choose whether the whole row or only the chevron column lights on hover.
Related
Banner for advisories that must be read without interaction. Type labels follow the Typography scale; hover and selected fills use the Colors interaction tokens.