2.1.0 • Published 3 years ago
next-chakra-ui v2.1.0
next-chakra-ui
Chakra UI React components for Next.js (currently only link components)
Motivation
In order for Chakra UI links to work in Next.js projects, they need to be wrapped in the next/link component.
This package exports Chakra UI Link components that works as next/links (so I don't ever copy-paste link components between projects again).
If you have ideas for other helpful (non-opinionated) components, feel free to contribute them!
Installation
npm install next-chakra-uiComponents
Link: A Chakra UILinkcomponent wrapped in anext/linkLinkButton: A Chakra UIButtoncomponent wrapped in anext/link. It renders an HTML anchor element without composing Chakra UI'sLink, so the button styling remains untouched.LinkIconButton: A Chakra UIIconButtoncomponent wrapped in anext/link. It renders an HTML anchor element without composing Chakra UI'sLink, so the button styling remains untouched.