Skip to content
⚡️Simple, Modular & Accessible UI Components for your React Applications
JavaScript
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create FUNDING.yml Oct 11, 2019
.storybook chore: still trying to fix storybook Oct 9, 2019
examples chore(release): publish Oct 21, 2019
logo chore(readme): add logo folder to root Sep 25, 2019
packages chore(release): publish Oct 21, 2019
scripts build: move scripts and babel config to root Sep 27, 2019
.all-contributorsrc docs: update .all-contributorsrc Oct 9, 2019
.eslintrc Complete prettier format script Sep 23, 2019
.gitignore fix(stack): update stack component based on PR Oct 21, 2019
.nowignore docs(build): configure now.json in root Oct 14, 2019
.prettierignore Move linting and prettier scripts to root Sep 23, 2019
.prettierrc Complete prettier format script Sep 23, 2019
BACKERS.md chore: add BACKERS.md Oct 11, 2019
CODE_OF_CONDUCT.md chore: merge conflict Oct 16, 2019
CONTRIBUTING.md chore: merge conflict Oct 16, 2019
LICENSE Create LICENSE Sep 9, 2019
README.md docs: update README.md Oct 9, 2019
ROADMAP.md Complete prettier format script Sep 23, 2019
babel.config.js build: move scripts and babel config to root Sep 27, 2019
lerna.json chore: revert lerna.json Oct 21, 2019
next-env.d.ts docs(build): configure now.json in root Oct 14, 2019
now.json chore: update now.json Oct 14, 2019
package.json feat(gatsby-plugin-chakra-ui): create gatsby plugin for chakra ui Oct 21, 2019
tsconfig.json docs(build): configure now.json in root Oct 14, 2019
yarn.lock chore: resolve conflict from rebase operation Oct 21, 2019

README.md


Reakit symbol

Build Accessible React Apps with Speed ⚡️


All Contributors Bundle Size MIT License NPM Downloads Spectrum Spectrum Spectrum


Chakra UI provides a set of accessible, reusable and composable React components that make it super easy to create websites and apps.

Looking for the documentation?

Here over here => https://chakra-ui.com

Features

  • Ease of Styling: Chakra UI contains a set of layout components like Box and Stack that make it easy to style your components by passing props. Learn more
  • 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 and have the right aria-* attributes.
  • Dark Mode 😍: Most components in Chakra UI are dark mode compatible.

Support Chakra UI 💖

By donating $5 or more you can support the ongoing development of this project. We'll appreciate some support! 🙏

  • To support Segun Adebayo's work

  • To support the Chakra UI core team members and maintainers

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 ▲

Installing Chakra UI

To use Chakra UI components, all you need to do is install the @chakra-ui/core package and its peer dependencies:

$ yarn add @chakra-ui/core @emotion/core @emotion/styled emotion-theming

# or

$ npm install @chakra-ui/core @emotion/core @emotion/styled emotion-theming

Usage

To start using the components, please follow these steps:

  1. Wrap your application with the ThemeProvider provided by @chakra-ui/core. We recommend that you also add the CSSReset component to remove all browser styling.
import { ThemeProvider, CSSReset } from "@chakra-ui/core".

// Do this at the root of your application
const App = ({ children }) => (
  <ThemeProvider>
    <CSSReset />
    {children}
  </ThemeProvider>
);

Optionally, you can wrap your application with the ColorModeProvider so you can toggle beween light and dark mode within your app.

  1. Now you can start using components like so!:
import { Button } from "@chakra-ui/core";

<Button>I just consumed some ⚡️Chakra!</Button>;

CodeSandbox

Contributing

Feel like contributing? That's awesome! We have a contributing guide to help guide you.

Contributors

Thanks goes to these wonderful people (emoji key):

Segun Adebayo
Segun Adebayo

💻 🚧 📖 💡 🎨
Tioluwani Kolawole
Tioluwani Kolawole

📖 💡 🚧
Devansh Jethmalani
Devansh Jethmalani

💻
Adrian Aleixandre
Adrian Aleixandre

💻 📖
Lee
Lee

📖
Justin Hall
Justin Hall

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

You can’t perform that action at this time.