1.2.0 • Published 3 years ago

@iwatakeshi/chakra-next v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

chakra-next

A set of components to integrate with Chakra UI and Next.js

Usage

Installation

npm add @iwatakeshi/chakra-next

Components

Note: All components will automatically wrap Chakra UI's components with Next's Link when href is a relative url.

Link

import { Link } from "@iwatakeshi/chakra-next";

<Link href="/about" />;
// => <NextLink href="/about" passHref><Link /></NextLink>

Button

import { Button } from "@iwatakeshi/chakra-next";

<Button href="/about" />;
// => <NextLink href="/about" passHref><Button as="a" /></NextLink>

IconButton

import { IconButton } from "@iwatakeshi/chakra-next";

<IconButton href="/about" />;
// => <NextLink href="/about" passHref><IconButton as="a" /></NextLink>

Image

import { Image } from "@iwatakeshi/chakra-next";

<Image src="..." />;
1.2.0

3 years ago

1.1.0

4 years ago

1.0.0

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago