Skip to content

A collection of animations to subtly nudge users to your React components.

License

Notifications You must be signed in to change notification settings

Brandawg93/react-subtle-nudge

Repository files navigation

react-subtle-nudge

A collection of animations to subtly nudge users to your React components.

NPM version NPM downloads Storybook PayPal

Docs

Installation

npm

npm install --save react-subtle-nudge

pnpm

pnpm install --save react-subtle-nudge

yarn

yarn add react-subtle-nudge

Add the following CSS to your entry file

import 'react-subtle-nudge/dist/index.css'

Usage

Simply wrap your component in one of the animation components.

import { Bounce } from 'react-subtle-nudge'

const BtnBounce = () => {
  return (
    <Bounce>
      <button>Click Me!</button>
    </Bounce>
  )
}

About

A collection of animations to subtly nudge users to your React components.

Resources

License

Stars

Watchers

Forks

Packages

No packages published