react-pill-menu
v0.0.4
Published
A pill effect nav menus react component
Downloads
5
Readme
React-Pill-Menu
A pill effect nav menus react component
how to use it
yarn install react-pill-menu
```tsx
import { PillMenu, PillMenuItem } from 'react-pill-menu'
// style
import 'react-pill-menu/dist/style.css'
export function MyNavMenu() {
return (
<PillMenu>
<PillMenuItem>
<a href="/products">Products</a>
</PillMenuItem>
<PillMenuItem>
<a href="/solutions">Solutions</a>
</PillMenuItem>
<PillMenuItem>
<a href="/resources">Resources</a>
</PillMenuItem>
<PillMenuItem>
<a href="/docs">Docs</a>
</PillMenuItem>
</PillMenu>
)
}