You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
documentationImprovements or additions to documentationpackagesnpm packages (icons, cli, react, mcp)
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Short answer: install
@thesvg/react, import the brand component, drop it in your JSX.That's it. Tree-shakeable, fully typed, no runtime SVG fetching.
If you don't want a React dep and just need the SVG file, every icon is also available via:
import githubSvg from 'thesvg/github'returns the raw SVG string + metadatahttps://cdn.jsdelivr.net/gh/glincker/thesvg@main/public/icons/github/default.svghttps://thesvg.org/icons/github/default.svghttps://thesvg.org/api/registry.json5,881 brands across the catalog at thesvg.org, all free. The wrapper code is MIT; brand marks remain trademarks of their respective owners.
Vue and Svelte equivalents (
@thesvg/vue,@thesvg/svelte) follow the same pattern.Beta Was this translation helpful? Give feedback.
All reactions