
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@myxplor/icons
Advanced tools


All icons are svg's that are rendered by react. This might sounds like we're just trying to be super fancy, but this gives us some advantages.
SVG is inline in the page, which allows us to control the size, colour, stroke (border) thickness via css.
Given the icons are react components, we can pass props to control which shape we want.
title string, used in the svg title. Each icon has their own default title. Eg: the loading icon has a title of "Loading"large - boolean, makes the icon larger by 25%. Default falseleft - boolean. Moves all padding to the righthand side, for when is display left aligned. (eg: in a button)className - supply your own classnameonClick - function. When supplied will wrap an <a> around the icon, so is rendered as a linkFor example, the VisibleIcon has two states where the "eye" is open and when it is closed.
By default the icon is set to closed. To use the open state pass open as a prop.
<VisibleIcon open />
<VisibleIcon />

Not all icons have states
FAQs

We found that @myxplor/icons demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.