AWS React Icons, a React library for AWS icons based on the official AWS icon set (SVG) and built with TypeScript, Build from AWS Architecture Icons | Version Q1 2024
#npm
npm install --save aws-react-icons
#yarn
yarn add aws-react-icons
#pnpm
pnpm add aws-react-icons
// 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;
Prop name | Type | Default value | Description |
---|---|---|---|
size | number/ string | 24 | The size of the icon. |
This project is licensed under the MIT License - see the LICENSE file for details.