Install
npm install @rubus/svelte-spectrum-icons-workflow # or yarn
Usage
Add Icon before the iconography name.
<script>
import { IconUsersAdd} from "@rubus/svelte-spectrum-icons-workflow/dist/index.mjs";
</script>
<IconUsersAdd ariaLabel="users-add" class="spectrum-Icon"/>
Learn more about the iconography.
Props
Prop | Type | Defaults | Value |
---|---|---|---|
className | String | "" | As a fallback prop of the svg element class |
scale | String | "M" | "M" or "L" |
width/height | number | 20 | Icon size |
ariaLabel | String | Icon name | Element aria-label |
What is svelte-spectrum-icons-workflow?
Adobe Spectrum Design System workflow
icons SVG as Svelte components