atomize_icons
is only available for react right now.We'll be bringingatomize_icons
tovanilla js
and other frameworks soon
Icons in your React projects easily with atomize_icons
, From the most popular open source figma design system Atomize Design System
yarn add atomize_icons
# or
npm i atomize_icons
example usage
import { About } from "atomize_icons";
function App() {
return (
<h1>
What are you talking <About /> ?
</h1>
);
}
All css properties are supported by default except properties that may lead to increase in Icon size like
font-size
etc but you can usescale
to resize the icons The reason why we chose not to include sizing is to keep the styles uniform across the whole design systemwe are planning to implement the atomize design system for react next
import { About } from "atomize_icons";
function App() {
return (
<h1>
<About style={{ color: "red" }} />
</h1>
);
}
src/index.css
.style: {
color:red;
}
import { About } from "atomize_icons";
function App() {
return (
<About className='style'/>
);
}
To use tailwind-css you must configure tailwindcss with react here
import { About } from "atomize_icons";
function App() {
return <About className="text-yellow-400" />;
}