Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

3545283

No security coverage
View on drupal.org

The SVG Logo module allows Drupal themes to use SVG code instead of traditional image logos, with live preview and validation in theme settings.

Features

- Replace theme image logos with scalable SVG code
- Live preview while editing SVG markup in admin interface
- Automatic SVG validation and sanitization for security
- Seamless integration with Drupal's system branding block
- No additional configuration required - works out of the box
- Compatible with all themes that use the standard branding block

Post-Installation

After enabling the module, go to Appearance > Settings > [Your Theme] and look for the "SVG Logo Settings" section. Check "Use SVG Logo", paste your SVG code, and save. The SVG will automatically replace your theme's regular logo in the branding block.

Additional Requirements

This module only requires Drupal core. The PHP DOM extension is needed for SVG validation (usually included with PHP by default).

None required. This module works independently and integrates with any theme that uses Drupal's standard system branding block.

Activity

Total releases
1
First release
May 2026
Latest release
1 month ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.1-alpha1 Pre-release May 1, 2026