ayanicons

ayanicons

67 animated icons in five styles. Any colour, and motion you can switch off.

Coming to npm soon. Until then, the icons work straight from this page: open one for its SVG.

Icons

Colour
Motion

67 iconsPoint at one to see it move. Click it for the code.Tap one for its code.

In your framework

One package. A component for React and Astro, one tag for everything else, and Lottie files for apps.

npm i ayanicons

import { AyanIcon } from 'ayanicons/react';

<button>
  <AyanIcon name="send" variant="duotone" /> Send
</button>
<AyanIcon name="bell" trigger="loop" color="#ff8a00" size={32} label="Notifications" />

Options

Attributes on the tag, props on the React and Astro components, where stroke-width is strokeWidth.

OptionValuesWhat it does
name67 names, typedWhich icon.
variantoutline, solid, duotone, color, glassThe style. Duotone, colour and glass start from each icon's own colour.
triggerhover, view, click, loop, noneWhen it moves. Hover also plays on keyboard focus, from the nearest link or button. none draws a still icon with no CSS.
colorany CSS colourOutline and solid follow the text colour by default.
secondaryany CSS colourThe fill in duotone; the lighter piece in colour.
stroke-widthnumber, default 3.4Line weight of the outline style, on a 48 grid.
sizenumber or CSS lengthDefaults to 1em, so it sizes with the text.
labeltextAccessible name. Leave it out when the text beside the icon says the same.

Motion stops for anyone who has asked their system for reduced motion. In code, renderSVG(name, options) returns the SVG as a string, and renderLottie from ayanicons/lottie returns the animation as JSON.

coin

Download animated SVG