Package x icon
The package-x icon, in the family Shopping and money: delivery failed, cancelled order, parcel. It shakes from side to side. One colour, two colours or its own tints, at any size, in HTML, JavaScript, React and Vue.
How it moves
| Motion | shake: it shakes from side to side. |
|---|---|
| Duration | 0.6 s for one play. |
animate="load" | Draws in, then plays once when it appears (0.6 s after the drawing), and stops. |
animate="hover" | Plays once each time the pointer comes over it, or over a parent with the class nv-icon-trigger. |
animate="click" | Plays once on each click, or when you call play(). |
animate="loop" | Repeats without end: one turn every 1 s, the motion in the first 60 % and a rest after it. |
animate="none" | Still. The default. |
| Less motion | Readers who ask their system for less motion see the finished icon, still, whatever the trigger. |
Colours
Mono
One colour, the colour of the text (currentColor). Set color to change it.
Duo, two colours
The strokes take color, the marks and the areas take accent (--nv-icon-accent, the areas at 28 %, or --nv-icon-fill).
Colour, its own tints
Four tints: --nv-icon-c1 outline #c2255c, --nv-icon-c2 accent #2a9d8f, --nv-icon-c3 areas #fcc2d7, --nv-icon-c4 detail #fab005. Change one with colors or in CSS.
Code
<script src="https://cdn.jsdelivr.net/npm/@nervure/icons@0.2/cdn/nervure-icons.min.js"></script>
<nv-icon name="package-x" size="96" variant="color" animate="loop"></nv-icon>npm install @nervure/icons · Icons guide · Every icon · Compared with other sets