1.2.1 • Published 9 months ago

signature-animation v1.2.1

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

Signature Animation

A React component for animating handwriting. It leverages SVG paths to create smooth stroke animations, making it ideal for signature effects, handwritten-style logos, and creative UI designs.

Features

  • Animate handwritten signatures or letters using SVG.
  • Lightweight and easy to integrate into any React project.

Installation

npm install signature-animation

or using yarn:

yarn add signature-animation

Usage

import React from "react";
import SignatureAnimation from "signature-animation";

function App() {
  return (
    <div>
      <h1>Signature Animation Demo</h1>
      <SignatureAnimation duration={1} delay={0.3}>
        Make AY the sun shine
      </SignatureAnimation>
    </div>
  );
}

export default App;

Props

PropTypeDefaultDescription
childrenstring""The text to animate as handwriting.
classNamestring""Custom class for styling. (upcoming)
durationnumber1Duration of the animation in seconds.
delaynumber0Delay between letters of the animation in seconds.
git clone  https://github.com/Ayo-Osota/signature-animation.git
cd signature-animation
npm install
npm run build

License

This project is licensed under the MIT License.

Acknowledgement

This code was inspired by a project on CodePen.

1.2.1

9 months ago

1.2.0

10 months ago

1.1.5

10 months ago

1.1.4

10 months ago

1.1.3

10 months ago

1.0.14

10 months ago

1.0.13

10 months ago

1.0.12

10 months ago

1.0.11

10 months ago

1.0.10

10 months ago

1.0.9

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago