2.0.0 • Published 3 years ago

animated-heading v2.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Animated Heading

Install

npm i animated-heading

Example

live demo

import React from 'react';
import ReactDOM from 'react-dom';
import AnimatedHeading from 'animated-heading';

const App = () => {
 
  return (
      <div>
        <AnimatedHeading 
          fontSize={{ lg: 82, md: 66, sm: 50, xs: 36 }} 
          width={{ lg: 500, md: 400, sm: 300, xs: 220 }} 
          type="wave"
        >Hello World!</AnimatedHeading>
      <div/>
  );
};

ReactDOM.render(<App />, document.getElementById('root'));

Props

propsvalue
colorstring here need to give color name or codedefault value various color
fontSizeobjecthere need to specify font-size in different screendefault value { lg:82, md:66, sm:50, xs:36 }
widthobjecthere need to specify total width of heading in different screendefault value { lg:500, md:400, sm:300, xs:220 }
typestringdefault value 'wave'5 types of animation are available:'wave' , 'spring' , 'flip', 'rotate', 'swing'

If you like this package give your valuable feedback for improving this package. This is initial version so feel free to give feature request here dvlpralamin@gmail.com

© All Right Reserved by Alamin

1.2.0

3 years ago

1.1.4

3 years ago

1.2.2

3 years ago

1.1.3

3 years ago

1.2.1

3 years ago

1.1.2

3 years ago

2.0.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago