Skip to content

Latest commit

 

History

History
55 lines (47 loc) · 1.56 KB

README.md

File metadata and controls

55 lines (47 loc) · 1.56 KB
aws-iconic

aws-iconic

Library of AWS Icons based on official AWS icon assets, with support for React and Vue.

React

To get started with the AWS Iconic library for React, first install the package from npm:

npm install @aws-iconic/react

Then you can import and use the icons in your React components:

import AnalyticsArchAmazonAthena from '@aws-iconic/vue/esm/analytics/arch-amazon-athena';

export default {
  components: {
    AnalyticsArchAmazonAthena
  },
  template: `
    <div>
      <!-- Use the icon component -->
      <AnalyticsArchAmazonAthena />
    </div>
  `
};

Here's how to group AWS icons in a React application: image

Vue

To incorporate AWS Iconic in your Vue projects, install the Vue-specific package from npm:

npm install @aws-iconic/vue

Import icons as needed

import AnalyticsArchAmazonAthena from '@aws-iconic/vue/esm/analytics/arch-amazon-athena';

export default {
  components: {
    AnalyticsArchAmazonAthena
  },
  template: `
    <div>
      <!-- Use the icon component -->
      <AnalyticsArchAmazonAthena />
    </div>
  `
};

Here's how to group AWS icons in a Vue application: image