akar-icons-svelte

1.9.30 • Public • Published

akar-icons

A perfectly rounded icon library made for designers, developers, and pretty much everyone. Explore all of our icons at akaricons.com.

akar icons

Get Started

1. Installation

Install with npm:

npm install --save akar-icons-svelte

2. Usage

Import the icons you need into your Svelte project and use them in components:

<script>
  import { ArrowRight, Star, LinkOut } from 'akar-icons-svelte';
</script>

<main>
  <ArrowRight />
  <Star />
  <LinkOut />
</main>

Icons can be configured with inline props including inline style objects:

<Star color="yellow" size={32} strokeWidth={3} />

You can also import the whole icon library:

<script>
  import * as Icon from 'akar-icons-svelte';
</script>

<main>
  <Icon.ArrowRight />
</main>

Explore all of our icons at akaricons.com.

Related Projects

Author

Arturo Wibawa (@agwibawa)

License

MIT License, Copyright © 2020-present Arturo Wibawa.

Credits

Svelte Support by WilliamVenner

Package Sidebar

Install

npm i akar-icons-svelte

Weekly Downloads

13

Version

1.9.30

License

MIT

Unpacked Size

1.1 MB

Total Files

4

Last publish

Collaborators

  • williamvenner