WP Manifestindependent plugin directory
manifest / editor / mileha-blocks

MILEHA Blocks

WordPress Blocks addon for Gutenberg

by MILEHA Studio · github.com/milehadev/mileha-blocks · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/milehadev/mileha-blocks/archive/refs/heads/main.zip

Professional Gutenberg blocks for WordPress with 203 built-in Lucide icons, fully GDPR and WCAG 2.1 AA compliant.

Description

MILEHA Blocks is a professional Gutenberg block plugin that brings powerful, accessible design elements to your WordPress site.

Icon Block

Display beautiful, scalable icons with ease:

  • 203 professionally designed Lucide icons included
  • Adjustable size (8-200px)
  • Color customization or inherit theme colors
  • Custom SVG support (administrator only)
  • Full accessibility support with ARIA attributes
  • Alignment controls (left, center, right)
  • Complete keyboard navigation
  • Screen reader compatible

Key Features

  • No External Dependencies - All assets hosted locally
  • GDPR Compliant - No tracking, no cookies, no external calls
  • WCAG 2.1 AA Compliant - Full screen reader support
  • BFSG Compliant - German accessibility law compliant
  • Lightweight - Vanilla JavaScript, minimal CSS
  • Developer Friendly - Clean, well-documented code
  • Security First - XSS protection, capability checks, SVG sanitization
  • Keyboard Navigation - Full keyboard accessibility throughout
  • RTL Support - Right-to-left language support

Privacy & GDPR

This plugin:

  • Does NOT collect any user data
  • Does NOT set cookies
  • Does NOT make external API calls
  • Does NOT include tracking or analytics
  • Hosts all assets locally on your server

All icon assets (Lucide Icons) are MIT licensed and bundled with the plugin.

Accessibility (WCAG 2.1 AA / BFSG)

Full compliance with international accessibility standards:

  • Screen reader support with ARIA labels
  • Complete keyboard navigation (Tab, Arrow keys, Enter, Space)
  • Focus-visible indicators for keyboard users
  • Decorative vs. semantic icon roles
  • High contrast mode support
  • Reduced motion support
  • Semantic HTML structure
  • Color contrast adherence

Security

Enterprise-grade security features:

  • XSS protection through strict SVG sanitization
  • Capability checks (only administrators can upload custom SVG)
  • Nonce verification for all AJAX requests
  • Input sanitization and output escaping
  • wp_kses filtering for SVG content
  • Dangerous pattern detection

Performance

Optimized for speed:

  • Assets only loaded when blocks are used
  • Conditional admin asset loading
  • No jQuery dependencies
  • Inline SVG (no HTTP requests)
  • Minimal CSS/JS footprint

Installation

Automatic Installation

  1. Log in to your WordPress dashboard
  2. Navigate to Plugins → Add New
  3. Search for "MILEHA Blocks"
  4. Click "Install Now" and then "Activate"

Manual Installation

  1. Upload the plugin files to /wp-content/plugins/mileha-blocks/
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Navigate to MILEHA Blocks in your admin menu
  4. Start using the Icon block in the block editor

After Activation

  1. Create or edit a post/page
  2. Click the '+' button to add a new block
  3. Search for "MILEHA Icon" or find it in the MILEHA category
  4. Choose from 203 built-in icons
  5. Customize size, color, and alignment
  6. Configure accessibility settings if needed

Frequently Asked Questions

Can I use custom SVG icons?

Yes, but only users with the "unfiltered_html" capability (typically administrators) can upload custom SVG for security reasons. You can also completely disable custom SVG uploads in the settings for maximum security.

Are the icons scalable?

Yes, all icons are vector-based (SVG) and scale perfectly from 8px to 200px without quality loss.

Does this plugin affect site performance?

No. Assets are only loaded when blocks are present on a page, and all resources are optimized. The plugin uses vanilla JavaScript (no jQuery) and has minimal CSS.

Is this GDPR compliant?

Yes, 100%. No data is collected, no external requests are made, and no cookies are set. Everything runs locally on your server.

Can I use this with any WordPress theme?

Yes, MILEHA Blocks works with any properly coded WordPress theme that supports Gutenberg blocks.

What license are the icons?

Lucide Icons are MIT licensed and free for commercial use. Full license information is included in the plugin.

Is this accessible for screen readers?

Yes, the plugin is fully WCAG 2.1 AA compliant with proper ARIA labels, keyboard navigation, and semantic HTML.

How do I navigate the icon picker with keyboard?

Use Tab to focus the icon grid, then Arrow keys to navigate between icons. Press Enter or Space to select an icon. Home/End keys jump to first/last icon.

Can I disable custom SVG uploads?

Yes, navigate to MILEHA Blocks → Settings and enable "Disable custom SVG upload" for maximum security.

Does it work with RTL languages?

Yes, the plugin fully supports right-to-left (RTL) languages like Arabic and Hebrew.

Screenshots

  1. Icon block in the editor with icon picker interface
  2. Size and color customization options in the sidebar
  3. Accessibility settings panel with ARIA controls
  4. Frontend display with various icon sizes and alignments
  5. Admin dashboard showing plugin statistics
  6. Block management page with enable/disable toggles
  7. Icon library preview showing all 203 icons
  8. Settings page for security options

Changelog

1.0.0 - 2026-02-03

  • Initial public release
  • 203 Lucide icons included
  • Full WCAG 2.1 AA accessibility compliance
  • BFSG compliant (German accessibility law)
  • Complete keyboard navigation
  • GDPR compliant (no external calls)
  • XSS protection and SVG sanitization
  • RTL language support
  • Admin dashboard and management interface
  • Icon library browser
  • Custom SVG support with security controls
  • Size control (8-200px)
  • Color picker with theme color support
  • Alignment controls
  • ARIA role configuration
  • Focus-visible styles
  • Vanilla JavaScript (no jQuery)
  • WordPress 6.7 tested and compatible

Upgrade Notice

1.0.0

Initial stable release. Full GDPR, WCAG 2.1 AA, and BFSG compliance. Ready for production use.

Third-Party Resources

Lucide Icons

This plugin includes a subset of Lucide Icons (203 icons). The Lucide Icons project is licensed under the MIT License, which permits commercial use, modification, and distribution. The original license is preserved in all icon files.

Support

For support requests, bug reports, or feature requests:

Development

This plugin is actively maintained. Contributions, feature requests, and bug reports are welcome.

Privacy Policy

MILEHA Blocks does not:

  • Track users
  • Collect personal data
  • Set cookies
  • Make external API calls
  • Store user preferences outside WordPress
  • Share data with third parties

All functionality runs entirely on your WordPress installation.

Credits

  • Developed by MILEHA Studio
  • Icons by Lucide (MIT License)
  • Tested by the WordPress community