1.1.0 • Published 4 years ago

awesome-text-effects v1.1.0

Weekly downloads
5
License
MIT
Repository
-
Last release
4 years ago

Awesome-Text-Effects (React)

awesome-text-effects is a compilation of performant, extendable, highly customisable, production ready React Component of different text effects annd text hover effect for react developers to use.

Installation

npm i awesome-text-effects

Usage

Awesome-text-effects comes with two primary components. First one is for Text Effect and second one is for Text Hover effect.

import { TextHover, TextEffect } from 'awesome-text-effects'
<TextHover text={[
              "This is a new text",
              "This is a second element"
            ]}
            type="1"
            name="PopOut" />

awesome-text-effects props

AttributeTypeDescription
textlist::stringA list of string that is going to be displayed. Each element in the list represents one line that is going to be displayed on the screen.
namestringThe string name of the effect you want to use. For more information regarding effect, please look below at the git hub repo
typeintegerThis option is used for only certain effects. Default value is 1
hrefstringThis option is for hover effect. Default value is null.