@todar/react-wobble-words

1.0.5 • Public • Published

React Wobble Words

npm (scoped) GitHub license GitHub issues GitHub stars Twitter

A cool a simple way to wobble each word on mouseEnter event. See a live demo on my website: roberttodar.com

Demo

Edit todar-react-wobble-words

Installation

npm i @todar/react-wobble-words

Javascript Instantiation

import React from "react";
import WobbleWords from "@todar/react-wobble-words";

const App = () => {
  return (
    <div className="App">
      <WobbleWords>Each word should wobble on mouseEnter</WobbleWords>
    </div>
  );
};

Props

Prop Name Type Default Description
children String Text to be displayed within the root element.
wordSpacing String .4em Adjusts margin since elements are inline-block

Readme

Keywords

Package Sidebar

Install

npm i @todar/react-wobble-words

Weekly Downloads

2

Version

1.0.5

License

MIT

Unpacked Size

327 kB

Total Files

6

Last publish

Collaborators

  • todar