Icon Library

Built-in Heroicons library with 50+ icons.

Built-in Heroicons

WPDocs includes 50+ hand-picked Heroicons (MIT licensed) embedded directly in the plugin. No CDN, no external requests — icons are part of the PHP code.

Icon Categories

Category Icons
Documents document, document-text, clipboard, book-open, academic-cap, newspaper
Code code-bracket, command-line, cpu-chip, server, cloud, circle-stack, cube, puzzle-piece
Settings cog-6-tooth, wrench, adjustments, beaker
Security lock-closed, shield-check, key, finger-print
Communication chat-bubble, envelope, bell
Status rocket-launch, bolt, fire, star, heart, light-bulb, check-circle, exclamation-triangle
Navigation home, map, bookmark, flag, tag, arrow-right, link, globe
Data chart-bar, table-cells, list-bullet
Media photo, paint-brush, swatch, video-camera
People user, users

Using Icons

When editing a Section in the WordPress admin (Premium only), a visual icon grid appears. Click an icon to select it — it will show next to the section title in the sidebar.

Developer API

// Get one icon as SVG string
echo WPDocs_Icons::get('code-bracket');

// Get all icons as associative array
$icons = WPDocs_Icons::all();
// ['document' => '...', ...]