PolyAcred is a Figma plugin built for event organizers, designers, and staff managers. It automates bulk accreditation badge creation directly from CSV datasets with support for dynamic text, layer visibility toggling, component variant switching, and instant ZIP exports.
- 📊 CSV Data Import: Import attendee datasets with support for custom headers, quotes, and commas.
- 🔤 Dynamic Text Layer Mapping: Map CSV columns directly to text layers (e.g. Name, Role, Company, ID).
- 👁️ Visibility Control (Boolean Mapping): Toggle layer visibilities (e.g.
ALL ACCESS,VIP,STAFF,SPEAKERbadges) based on CSV flags (true/false,1/0,yes/no). - 🔄 Component Variant Switching: Dynamically switch instance variants per attendee (e.g. category colors, access level badges, or icons).
- 📦 Instant ZIP File Export: Render and compress hundreds of badges into a downloadable
.ziparchive (PNG, PDF, SVG at 1x, 2x, or 3x resolutions) without cluttering or lagging your Figma canvas. - 🖼️ Figma Canvas Grid Mode: Option to generate cloned badge frames directly on your Figma page layout.
- 🔍 Single-Badge Test Preview: Generate a single test badge from the first CSV record to verify typography, layer visibilities, and alignment before running batch generation.
- 🔠 Auto Font Loading: Pre-loads required font styles before processing to eliminate missing font errors.
Follow these steps to run PolyAcred locally in Figma from this repository:
# Clone repository
git clone https://github.com/your-username/polyacred.git
cd polyacred
# Install dependencies and build code.js
npm install
npm run build- Open the Figma Desktop App.
- Go to Plugins menu:
- Click Figma Logo (top-left) → Plugins → Development → Import plugin from manifest....
- Select the
manifest.jsonfile inside the clonedpolyacredfolder. - PolyAcred is now loaded under Plugins → Development → PolyAcred.
- Design your Badge: Create your badge template frame or component in Figma.
- Open PolyAcred: Launch the plugin via Plugins → Development → PolyAcred and select your badge frame on the canvas.
- Upload Staff CSV: Upload your staff list CSV file containing headers (e.g.
Name,Role,VIP,Variant). - Select Output Mode:
- Export to ZIP File: Exports individual badge files directly into a downloadable
.ziparchive (recommended for large events). - Create on Figma Canvas: Places cloned badge frames in a grid on your current Figma page.
- Export to ZIP File: Exports individual badge files directly into a downloadable
- Map Columns: Map each CSV column to its target layer and mapping type (Text Content, Visibility, or Component Variant).
- Test Preview: Click
🔍 Test Preview (1 Badge)to verify badge layout and text wrapping. - Generate Badges: Click
Generate All Badgesto process your entire dataset.
- Node.js (v18 or higher)
- npm
# Watch mode for automatic compilation while editing code
npm run watch
# Run linter & code formatter
npm run lint:fixThis project is licensed under the MIT License.