@chakra-ui/react
Responsive and accessible React UI components built with React and Emotion
About
Responsive and accessible React UI components built with React and Emotion
Live mirror of the GitHub README. Updated whenever the repo's default branch changes.
Build Accessible React Apps with Speed ⚡️
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
Documentation
It's the https://chakra-ui.com website for the latest version of Chakra UI.
- Latest: https://chakra-ui.com
- v2: https://v2.chakra-ui.com
- v1: https://v1.chakra-ui.com
- v0: https://v0.chakra-ui.com
Installation
To use Chakra UI components, all you need to do is install the
@chakra-ui/react package and its peer dependencies:
# with Yarn
$ yarn add @chakra-ui/react @emotion/react
# with npm
$ npm i @chakra-ui/react @emotion/react
# with pnpm
$ pnpm add @chakra-ui/react @emotion/react
# with Bun
$ bun add @chakra-ui/react @emotion/react
Usage
Read the docs here: https://www.chakra-ui.com/docs/get-started/installation
Contributing
Read the contribution guide here: https://www.chakra-ui.com/docs/get-started/contributing
Support Chakra UI
Organizations
Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]
Individuals
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]
Testimonials
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 ▲
Awards and Mentions
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) |
License
MIT © Segun Adebayo
Quick facts
npm install @chakra-ui/reactThis package powers Chakra UI
The @chakra-ui/react package is the canonical implementation of Chakra UI. Sourcemap Explorer uses this exact npm package as the framework-level fingerprint when it flags Chakra UI on a page — both via the bundled node_modules/@chakra-ui/react/ source paths and via the embedded package.json inside the JavaScript sourcemap.
Common pairings
Packages this one expects to find in the same project. Each is also a Sourcemap Explorer detection target.
How Sourcemap Explorer detects @chakra-ui/react
We catch @chakra-ui/react from two complementary signals: bundled source paths and the embedded package.json. Modern bundlers (webpack, Vite, esbuild, Rollup, Turbopack) preserve the original node_modules/@chakra-ui/react/ paths inside the JavaScript sourcemap's sources[] array — that's the canonical signal. When the matching package.json is also captured in sourcesContent[], we read the exact version field — patch number included. No regex guessing, no version inference.
- 1
Confirm the site exposes sourcemaps
In DevTools Network, check the response headers of any application script for `SourceMap` or `X-SourceMap`. Failing that, fetch the script's last 4 KB and look for a `//# sourceMappingURL=` comment.
- 2
Find the package in the bundle
Open DevTools → Network → reload. Click any application script and look at its sourcemap. Inside, search `sources[]` for entries matching `node_modules/@chakra-ui/react/` — every match confirms the package is bundled. The matching `sourcesContent[i]` for `node_modules/@chakra-ui/react/package.json` gives you the exact installed version.
- 3
Read the version directly from package.json
Run `jq -r '. as $m | $m.sources | to_entries[] | select(.value | endswith("node_modules/@chakra-ui/react/package.json")) | $m.sourcesContent[.key] | fromjson | .version' bundle.js.map`. Sourcemap Explorer automates the same query in the popup.
Recent versions
FAQ
What is @chakra-ui/react used for?
Responsive and accessible React UI components built with React and Emotion
How can I tell if a website is using @chakra-ui/react?
Open the page in Chrome with the Sourcemap Explorer extension installed and read the Stack tab. We catch `@chakra-ui/react` from two complementary signals: `node_modules/@chakra-ui/react/` paths inside the JavaScript sourcemap, and the embedded `package.json` we read for exact-version detection. Without the extension you can do the same lookup manually in DevTools — the steps are listed in the "How Sourcemap Explorer detects" section above.
What is the latest version of @chakra-ui/react?
3.35.0, as published on the npm registry. The "Recent versions" table on this page lists the most recent 8 releases with their release dates. Sourcemap Explorer reports the version actually bundled into a site, which can lag the latest release by months on real-world deployments.
What is the relationship between @chakra-ui/react and Chakra UI?
@chakra-ui/react is the canonical npm package for Chakra UI. Sourcemap Explorer treats finding `@chakra-ui/react` in a bundle as the framework-level signal that Chakra UI is on the page, and the page you're reading is the canonical Sourcemap Explorer entry for the package itself.
Where can I read more?
Project homepage: https://chakra-ui.com/. Source code: https://github.com/chakra-ui/chakra-ui. Published on npm: https://www.npmjs.com/package/@chakra-ui/react. Licensed as MIT.
Keep reading on Sourcemap Explorer
Practical guides
Detection deep dives
Alternative tools
Detected by Sourcemap Explorer
When a bundle ships sourcemaps, we read the embedded package.json for @chakra-ui/react and report the precise version. Without sourcemaps, an import / require in the page's scripts is enough to flag it.


