@crystal-creations/animated-checkmark
A checkmark animation wrapped in a Vue component based on a codepen by Simon Wuyts.
Usage
-
Install with
npm install @crystal-creations/animated-checkmark
-
Add the following to your Vue
main.ts
.import { AnimatedCheckmark } from "@crystal-creations/animated-checkmark"; // ... new Vue({ // ... render: (h) => h(App), }).$mount("#app"); Vue.component("AnimatedCheckmark", AnimatedCheckmark);
-
Add the component to your Vue component.
<template> <AnimatedCheckmark></AnimatedCheckmark> </template>