Block 153 of 297
Permit Guide
Permits and licenses as expandable cards with fee, processing time, required documents and how to apply.
- Puck key
- PermitGuideBlock
- Export
- permitGuideBlock
- React component
- <PermitGuide />
- Path
- components/puck/permit-guide-block.tsx
- Dependencies
- None
- License
- MIT
About this block
When to use it, how to write for it, and what to change in the code.
What it's for
A stack of expandable cards, one per permit or license, in a single centered column. Each closed card shows the permit name, fee and typical processing time; opening it reveals when the permit is needed, a checklist of documents and the apply links. It fits a permits landing page where residents need to compare costs before reading the details.
- A building and zoning department's main permits page
- A city clerk page listing business, event and vendor licenses
- A park district page for special event and facility use permits
Writing the content
- Enter Required documents one per line; each line becomes its own checkmark item under "What to bring".
- Fee and Typical processing time show in the closed card, so keep them short, like "$45" or "3–5 business days". A blank Fee is hidden.
- The contact panel appears only when Contact heading is filled in and at least one of Contact details, Phone or Email has a value.
Accessibility
- Each card is a native details and summary element, so it opens with Enter or Space and announces its expanded state without extra script (WCAG 2.1.1, 4.1.2).
- Fee and processing time carry screen-reader-only labels ("Fee:", "Typical processing time:") in place of the icons, and the Apply online and Full requirements links append the permit name for screen readers.
Customizing the code
- The accent is Tailwind indigo, used in the focusRing constant, icons, the open-state chevron and the Apply button; swap indigo- for your brand family.
- The column width is set by max-w-4xl on the inner wrapper; widen it if your permit details run long.
Editor fields
What content editors see in the P1 sidebar when they select this block.
- Headingtext
- Heading levelselect
- Introtextarea
- Permits and licensesarray
- Contact headingtext
- Contact detailstextarea
- Phonetext
- Emailtext