/react-gooey-nav

The React Gooey Navigation Menu™

Primary LanguageTypeScript

React Gooey Navigation Menu

based on Lucas Bebber's Gooey Menu

I've updated the implementation to use TypeScript and modern-ish React

Installation

npm install --save react-gooey-nav

Usage

import { Menu, Item } from "react-gooey-nav";

var nav = (
  <Menu orientation="bottom">
    <Item title="Cool!">😎</Item>
    <Item
      title="Kitty"
      componentProps={{ onClick: () => console.log("Meow!") }}
    >
      😸
    </Item>
  </Menu>
);

Development

Run the example with:

npm start

Help me make this thing better!

:octocat:

Thanks Lucas!