1.2.1 • Published 12 months ago
signature-animation v1.2.1
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-animationor using yarn:
yarn add signature-animationUsage
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
| Prop | Type | Default | Description |
|---|---|---|---|
| children | string | "" | The text to animate as handwriting. |
| className | string | "" | Custom class for styling. (upcoming) |
| duration | number | 1 | Duration of the animation in seconds. |
| delay | number | 0 | Delay between letters of the animation in seconds. |
git clone https://github.com/Ayo-Osota/signature-animation.git
cd signature-animation
npm install
npm run buildLicense
This project is licensed under the MIT License.
Acknowledgement
This code was inspired by a project on CodePen.
1.2.1
12 months ago
1.2.0
1 year ago
1.1.5
1 year ago
1.1.4
1 year ago
1.1.3
1 year ago
1.0.14
1 year ago
1.0.13
1 year ago
1.0.12
1 year ago
1.0.11
1 year ago
1.0.10
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago