Configure Policy Modal
The policy modal shows policyholders their coverage details, key documents, and action buttons. It is configured on the Vertical using dynamic zone components.
Add modal sections
Section titled “Add modal sections”- Open your Vertical in Strapi
- Find the policyModalSections dynamic zone
- Add components:
content-modal-body
Section titled “content-modal-body”A rich text section for descriptive content.
| Field | Purpose |
|---|---|
| body | Rich text content (supports formatting, links, lists) |
Use for introductory text, coverage summaries, or legal notices.
content-modal-list
Section titled “content-modal-list”An accordion-style list of expandable items.
| Field | Purpose |
|---|---|
| items | Array of entries, each with title, description, and optional icon |
Each item renders as a collapsible row — the user clicks the title to expand and see the description.
Item fields:
| Field | Purpose | Example |
|---|---|---|
| title | Accordion header | What's covered |
| description | Expanded content (rich text) | Detailed coverage explanation |
| icon | Optional icon next to the title | Select from available icons |
Add modal buttons
Section titled “Add modal buttons”- Find the policyModalButtons repeatable field
- Add entries:
| Field | Purpose | Example |
|---|---|---|
| text | Button label | Download policy document |
| href | Button link | /documents/policy.pdf |
| variant | Button style | primary, secondary, outline |
Example configuration
Section titled “Example configuration”For a household insurance policy modal:
Sections:
- content-modal-body: “Here’s a summary of your household insurance coverage.”
- content-modal-list:
- Item: “What’s covered” / “Fire, water damage, theft, natural disasters…”
- Item: “What’s not covered” / “Intentional damage, wear and tear…”
- Item: “How to file a claim” / “Go to My Policies > File a claim…”
Buttons:
- “Download policy” /
/api/documents/policy/primary - “Contact support” /
mailto:support@feather-insurance.com/secondary
See also
Section titled “See also”- Vertical Schema Reference – policyModalSections and policyModalButtons specifications
- Preview a Policy Page – verify the modal renders correctly
- Vertical Ecosystem – how policy modals relate to other vertical components