Get to know MDN better
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
The radius attribute represents the radius (or radii) for the operation on a given <feMorphology> filter primitive.
If two numbers are provided, the first number represents the x-radius and the second one the y-radius. If one number is provided, then that value is used for both x and y. The values are in the coordinate system established by the primitiveUnits attribute on the <filter> element.
A negative or zero value disables the effect of the given filter primitive (i.e., the result is the filter input image).
You can use this attribute with the following SVG elements:
| <number-optional-number> |
| 0 |
| Yes |
| Filter Effects Module Level 1 # element-attrdef-femorphology-radius |
Enable JavaScript to view this browser compatibility table.
This page was last modified on Mar 18, 2025 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.