#design/svg
%% run start
```ts
const {LinkPreview} = customJS
return LinkPreview.getLinkPreviewFromUrl("https://github.com/svg/svgo")
```
%%
<div class="nifty-link-card-container">
<a class="nifty-link-card" href="https://github.com/svg/svgo" target="_blank">
<div class="nifty-link-card-text">
<div class="nifty-link-card-title line-clamp-2">GitHub - svg/svgo: ⚙️ Node.js tool for optimizing SVG files</div>
<div class="nifty-link-card-description">⚙️ Node.js tool for optimizing SVG files. Contribute to svg/svgo development by creating an account on GitHub.</div>
<div class="nifty-link-href">
<img class="nifty-link-icon" src="https://github.com/fluidicon.png">
https://github.com/svg/svgo
</div>
</div>
<div class="nifty-link-image-container">
<div class="nifty-link-image" style="background-image: url('https://repository-images.githubusercontent.com/5508088/e8d56000-7c5e-11eb-8f14-eefa158303dd')">
</div>
</div>
</a>
</div>
%% run end %%
SVGO, short for **SVG O**ptimizer, is a Node.js library and command-line application for optimizing SVG files.
## Why?
> [!info] I use this to create [[toptiertools.company|TTT]] logo
SVG files, especially those exported from vector editors, usually contain a lot of redundant information. This includes editor metadata, comments, hidden elements, default or suboptimal values, and other stuff that can be safely removed or converted without impacting rendering.