Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for filter element to babel-plugin-transform-react-native-svg #977

Open
adorum opened this issue Nov 4, 2024 · 1 comment
Open

Comments

@adorum
Copy link

adorum commented Nov 4, 2024

🚀 Feature Proposal

react-native-svg already supports some of filter elements e.g. Filter, FeColorMatrix, FeGaussianBlur,... (all listed here software-mansion/react-native-svg#2362),

Motivation

Would be fine to support svg filter in react-native apps in order to achieve e.g. shadows.

@jolindroth
Copy link

jolindroth commented Feb 15, 2025

It would be great to add the Filter support. Currently, we get this when transforming SVGs with the filter attribute on react-svgr.com:
/* SVGR has dropped some elements not supported by react-native-svg: filter */

Even though, react-native-svg does indeed support them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants