Chakra UI is a component system for building products with speed. Accessible React components for building high-quality web apps and design systems. Works with Next.js RSC.
Install the @chakra-ui/react package and its peer dependency:
# with npm
npm i @chakra-ui/react @emotion/react
# with yarn
yarn add @chakra-ui/react @emotion/react
# with pnpm
pnpm add @chakra-ui/react @emotion/react
# with bun
bun add @chakra-ui/react @emotion/react
ChakraProvider component:import { ChakraProvider, defaultSystem } from "@chakra-ui/react"
export const App = ({ children }) => (
<ChakraProvider value={defaultSystem}>{children}</ChakraProvider>
)
import { Button } from "@chakra-ui/react"
const Demo = () => <Button>I just consumed some ⚡️Chakra!</Button>
For framework-specific setup (Next.js, Vite, etc.), see the installation guide.
Feel like contributing? That's awesome! Read the contribution guide to get started.
MIT © Segun Adebayo