Chakra UI provides a set of accessible, reusable, and composable React components that make it super easy to create websites and apps.
It's the https://chakra-ui.com website for the latest version of Chakra UI. For older versions head over here
Box
and
Stack
that make it easy to style your components by passing props.
Learn morearia-*
attributes.By donating \$5 or more you can support the ongoing development of this project. We'll appreciate some support. Thank you to all our supporters! ๐ [Contribute]
Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]
People throw React component libraries and design systems at me regularly. This might be the best one I've seen. The APIs are simple but composable and the accessibility on the couple components I looked is complete.
Great work @thesegunadebayo, really inspiring work. โ Ryan Florence
Awesome new open-source component library from @thesegunadebayo. Really impressive stuff! โ Colm Tuite
This is incredible work. Amazing job Segun! โ Lee Robinson
Chakra UI is glorious! I love the consistent use of focus styling and the subtle animation โ Guillermo โฒ
We've been extremely humbled to receive awards and mentions from the community for all the innovation and reach Chakra UI brings to the JavaScript ecosystem.
![]() |
Solution Worth PursuingTechnology Radar (2020โ2021) |
![]() |
The Most Impactful Contribution to the communityOpen Source Awards (2020) |
To use Chakra UI components, all you need to do is install the
@chakra-ui/react
package and its peer dependencies:
$ yarn add @chakra-ui/react @emotion/react@^11 @emotion/styled@^11 framer-motion@^6
# or
$ npm i @chakra-ui/react @emotion/react@^11 @emotion/styled@^11 framer-motion@^6
To start using the components, please follow these steps:
ChakraProvider
provided by
@chakra-ui/react.import { ChakraProvider } from "@chakra-ui/react"
// Do this at the root of your application
function App({ children }) {
return <ChakraProvider>{children}</ChakraProvider>
}
Optionally, you can wrap your application with the ColorModeProvider
so you
can toggle between light and dark mode within your app.
import { Button } from "@chakra-ui/react"
function Example() {
return <Button>I just consumed some โก๏ธChakra!</Button>
}
More guides on how to get started are available here
create-react-app
TemplatesCheck out our guide for
information on how to use our official create-react-app
templates.
Feel like contributing? That's awesome! We have a contributing guide to help guide you.
Our docsite lives in a separate repo. If you're interested in contributing to the documentation, check out the docsite contribution guide.
Thanks goes to these wonderful people
(emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
MIT ยฉ Segun Adebayo
Version | Tag | Published |
---|---|---|
2.4.9 | latest | 15d ago |
0.0.0-dev-20230130105613 | dev | 2d ago |
1.8.9 | v1-latest | 4mos ago |
0.0.0-next-dev-202241614737 | next-dev | 8mos ago |