Volunteer Calendar Embed
Volunteer Calendar Embed
Overview
Organizations can embed their public volunteer calendar on external websites with an iframe hosted from https://volunteer.alignmint.app.
The embed renderer is separate from the full public volunteer calendar page:
src/features/volunteers/components/public/PublicVolunteerCalendarEmbed.tsxsrc/features/volunteers/components/public/PublicVolunteerLoader.tsxsrc/lib/volunteerPublicUrls.tssrc/lib/embedThemeOptions.ts
URL Format
https://volunteer.alignmint.app/volunteer/{org-key-or-prefix}/{org-slug}?embed=trueExample:
https://volunteer.alignmint.app/volunteer/abc123/hope-center?embed=trueGenerated Embed Code
The Volunteer Scheduler "Share Calendar" dialog generates an iframe like:
<iframe
src="https://volunteer.alignmint.app/volunteer/abc123/hope-center?embed=true"
width="100%"
height="900"
frameborder="0"
scrolling="no"
style="border: none; max-width: 720px; overflow: hidden;"
title="Volunteer calendar for Hope Center"
></iframe>It also includes a postMessage resize script that listens for:
alignmint-volunteer-calendar-resizeTheme Options
All color values are hex codes without the leading #.
primary— button and accent colorbg— page background colorfg— text colorcardBg— card surface colorbtnText— button text colormaxWidth— max card width in pixelslogoSize—sm,md, orlg
Example:
https://volunteer.alignmint.app/volunteer/abc123/hope-center?embed=true&primary=0066cc&bg=f5f5f5&fg=333333&maxWidth=800&logoSize=lgBehavior
- The embed hides the standalone page footer and route chrome.
- The embed supports search and category filtering inside the iframe.
- Event cards link to the public volunteer event page and preserve
embed=true. - The iframe posts its height to the parent window whenever the content changes.
Security Notes
vercel.jsonexplicitly allows framing for thevolunteer.alignmint.apphost.index.htmlframe-busting allows/volunteer/*routes only when?embed=trueis present.- All other app routes remain protected by
X-Frame-Options: DENYandframe-ancestors 'self'.
Synced from IFMmvp-Frontend documentation: pages/people/11-VOLUNTEER-CALENDAR-EMBED.md
Ready to Get Started?
See how Alignmint can simplify your nonprofit's operations. Schedule a free demo with our team and we'll walk you through everything.
Questions? Email us at steven@getalignmint.org