airbnb / airbnb/babel-plugin-inline-react-svg

Is it possible to load a Sprite of svgs?

Open
#26 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
474
Forks
90
PR merge metrics
No merged PRs in 30d

Description

Hi there.
Great plugin. However I was wondering if we can a load a SVG Sprite to use it's fragment identifiers and add a proper icon for it.

So far I wasn't able. Thought you could have a solution.

Thanks beforehand.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the plugin's current SVG loading and inlining behavior. Clarify the expected sprite and fragment-identifier behavior, then define the relevant implementation and test locations; done means an SVG sprite can be loaded and its fragments used as icons.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.