
package.README.md Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of react Show documentation
Show all versions of react Show documentation
Responsive and accessible React UI components built with React and Emotion
The newest version!
# Welcome to Chakra UI ⚡️
[](#contributors-)
- Works out of the box. Chakra UI contains a set of polished React components
that work out of the box.
- Flexible & composable. Chakra UI components are built on top of a React UI
Primitive for endless composability.
- Accessible. Chakra UI components follows the WAI-ARIA guidelines
specifications.
- Dark Mode 😍: All components are dark mode compatible.
## Looking for the documentation?
https://chakra-ui.com
## Installing Chakra UI
⚡️Chakra UI is made up of multiple components and tools which you can import
one by one. All you need to do is install the `@chakra-ui/react` package:
```sh
$ yarn add @chakra-ui/react
# or
$ npm install --save @chakra-ui/react
```
# Getting set up
To start using the components, please follow these steps:
1. Wrap your application in a `ThemeProvider` provided by **@chakra-ui/react**
```jsx
import { ColorModeProvider, ThemeProvider } from "@chakra-ui/react"
const App = ({ children }) => (
{children}
)
```
`ColorModeProvider` is a context that provides light mode and dark mode values
to the components. It also comes with a function to toggle between light/dark
mode.
2. Now you can start using components like so!:
```jsx
import { Button } from "@chakra-ui/react"
const App = () =>
```
# Contributing
Feel like contributing? That's awesome! We have a
[contributing guide](../../CONTRIBUTING.md) to help guide you.
The components to be built come from the
[Aria Practices Design Patterns and Widgets](https://www.w3.org/TR/wai-aria-practices-1.1).
## Contributors ✨
Thanks goes to these wonderful people
([emoji key](https://allcontributors.org/docs/en/emoji-key)):

Segun Adebayo
💻 🚧 📖 💡 🎨

Tioluwani Kolawole
📖 💡 🚧
This project follows the
[all-contributors](https://github.com/all-contributors/all-contributors)
specification. Contributions of any kind welcome!
© 2015 - 2025 Weber Informatics LLC | Privacy Policy