@chakra-ui/react

Responsive and accessible React UI components built with React and Emotion

@chakra-ui/react downloads @chakra-ui/react version @chakra-ui/react license

@chakra-ui/reactSimilar Packages:

Npm Package Weekly Downloads Trend

3 Years
🌟 Show real-time usage chart on @chakra-ui/react's README.md, just copy the code below.
## Usage Trend
[![Usage Trend of @chakra-ui/react](https://npm-compare.com/img/npm-trend/THREE_YEARS/@chakra-ui/react.png)](https://npm-compare.com/@chakra-ui/react#timeRange=THREE_YEARS)

Cumulative GitHub Star Trend

🌟 Show GitHub stars trend chart on @chakra-ui/react's README.md, just copy the code below.
## GitHub Stars Trend
[![GitHub Stars Trend of @chakra-ui/react](https://npm-compare.com/img/github-trend/@chakra-ui/react.png)](https://npm-compare.com/@chakra-ui/react)

Stat Detail

Package
Downloads
Stars
Size
Issues
Publish
License
@chakra-ui/react1,791,44940,4822.66 MB1019 days agoMIT

README for @chakra-ui/react

@chakra-ui/react

npm version npm downloads types license

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.

  • Works out of the box. A set of polished React components with sensible defaults.
  • Flexible & composable. Components are built on top of headless UI primitives (Ark UI) for endless composability.
  • Accessible. Components follow the WAI-ARIA guidelines and are tested against common accessibility issues.
  • Themeable. Customize every part of the components with design tokens, recipes, and semantic tokens. Dark mode included.

Documentation

https://chakra-ui.com

Installation

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

Getting started

  1. Wrap your application with the ChakraProvider component:
import { ChakraProvider, defaultSystem } from "@chakra-ui/react"

export const App = ({ children }) => (
  <ChakraProvider value={defaultSystem}>{children}</ChakraProvider>
)
  1. Start using components:
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.

Contributing

Feel like contributing? That's awesome! Read the contribution guide to get started.

License

MIT © Segun Adebayo