@rubus/svelte-spectrum-icons-ui

0.1.96 • Public • Published

Install

npm install  @rubus/svelte-spectrum-icons-ui # or yarn

Usage

Add Icon before the iconography name.

<script>
  import { IconInfoMedium} from "@rubus/svelte-spectrum-icons-ui";
</script>

<IconInfoMedium class="spectrum-Icon" ariaLabel="info-medium"/>

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"
ariaLabel String Icon name Element aria-label
width/height String / number Automatically obtain the width and height of the path element in the Svg Svg element width and height attributes

What is svelte-spectrum-icons-ui?

Adobe Spectrum Design System ui icons SVG as Svelte components

Package Sidebar

Install

npm i @rubus/svelte-spectrum-icons-ui

Weekly Downloads

16

Version

0.1.96

License

Apache-2.0

Unpacked Size

535 kB

Total Files

42

Last publish

Collaborators

  • runningzs