aws-react-icons
v2.1.1
Published
AWS React Icons, a React library for AWS icons based on the official AWS icon set (SVG) and built with TypeScript.
Downloads
193
Maintainers
Readme
https://aws-icon.vercel.app/
📦 Install package
#npm
npm install --save aws-react-icons
#yarn
yarn add aws-react-icons
#pnpm
pnpm add aws-react-icons
📖 Usage
// single import
import ArchitectureServiceAmazonEC2 from 'aws-react-icons/icons/ArchitectureServiceAmazonEC2';
const App = () => {
return (
<div>
<ArchitectureServiceAmazonEC2 size={30} />
</div>
);
};
export default App;
OR
// multiple imports
import {
ArchitectureServiceAmazonEC2,
ArchitectureServiceAWSCloudFormation,
} from 'aws-react-icons';
const App = () => {
return (
<div>
<ArchitectureServiceAmazonEC2 size={30} />
<ArchitectureServiceAWSCloudFormation size={30} />
</div>
);
};
export default App;
📚 Icons Props
| Prop name | Type | Default value | Description | | --------- | -------------- | ------------- | --------------------- | | size | number/ string | 24 | The size of the icon. |
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.