3.0.0 • Published 1 year ago
@ghostebony/svelte-heroicons v3.0.0
@ghostebony/svelte-heroicons
About
Heroicons for Svelte
Installation
With npm:
npm i -D @ghostebony/svelte-heroiconsWith yarn:
yarn add -D @ghostebony/svelte-heroiconsWith pnpm:
pnpm add -D @ghostebony/svelte-heroiconsUsage
Outline demo
<script>
// import { AcademicCapIcon } from '@ghostebony/svelte-heroicons/24/outline';
import AcademicCapIcon from '@ghostebony/svelte-heroicons/24/outline/AcademicCap';
</script>
<AcademicCapIcon />Solid demo
<script>
// import { AcademicCapIcon } from '@ghostebony/svelte-heroicons/24/solid';
import AcademicCapIcon from '@ghostebony/svelte-heroicons/24/solid/AcademicCap';
</script>
<AcademicCapIcon />Solid Mini demo
<script>
// import { AcademicCapIcon } from '@ghostebony/svelte-heroicons/20/solid';
import AcademicCapIcon from '@ghostebony/svelte-heroicons/20/solid/AcademicCap';
</script>
<AcademicCapIcon />Props
Outline
| Property | Type | Default |
|---|---|---|
| stroke | string | "currentColor" |
| strokeWidth | number | 1.5 |
| height | number \| string | undefined |
| width | number \| string | undefined |
Solid
| Property | Type | Default |
|---|---|---|
| fill | string | "currentColor" |
| height | number \| string | undefined |
| width | number \| string | undefined |
License
3.0.0
1 year ago
2.0.7
1 year ago
2.0.6
2 years ago
2.0.5
2 years ago
2.0.4
2 years ago
2.0.3
2 years ago
2.0.2
2 years ago
2.0.1
3 years ago
2.0.0
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago