Keywords
License
- MIT
- Yesattribution
- Permissivelinking
- Permissivedistribution
- Permissivemodification
- Nopatent grant
- Yesprivate use
- Permissivesublicensing
- Notrademark grant
Downloads
Readme
Build Accessible React Apps with Speed β‘οΈ
Chakra UI is a comprehensive library of accessible, reusable, and composable React components that streamlines the development of modern web applications and websites. The library offers a diverse range of components that can be easily combined to build complex user interfaces while adhering to accessibility best practices.
Table of contents
- π Documentation
- π Features
- π¦ Installation
- π» Usage
- π CodeSandbox Templates
- π
create-react-app
Templates - π Contributing
- π Support
- π Testimonials
- π Awards and Mentions
- β¨ Contributors
- βοΈ License
Documentation
Itβs the https://chakra-ui.com website for the latest version of Chakra UI. For older versions head over here
- v1: https://v1.chakra-ui.com
- v0: https://v0.chakra-ui.com
Features
- Ease of Styling: Chakra UI contains a set of layout components like
Box
andStack
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 follow the WAI-ARIA guidelines specifications
and have the right
aria-*
attributes. - Dark Mode π: Most components in Chakra UI are dark mode compatible.
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@^11 @emotion/styled@^11 framer-motion@^6
# with npm
$ npm i @chakra-ui/react @emotion/react@^11 @emotion/styled@^11 framer-motion@^6
# with pnpm
$ pnpm add @chakra-ui/react @emotion/react@^11 @emotion/styled@^11 framer-motion@^6
# with Bun
$ bun add @chakra-ui/react @emotion/react@^11 @emotion/styled@^11 framer-motion@^6
Usage
To start using the components, please follow these steps:
- Wrap your application with the
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.
- Now you can start using components like so!:
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
CodeSandbox Templates
- JavaScript Starter: https://codesandbox.io/s/chakra-ui-javascript-lzzg9
- TypeScript Starter: https://codesandbox.io/s/chakra-ui-typescript-pomi8
- NextJS TypeScript Starter: https://codesandbox.io/s/chakra-ui-next-js-typescript-kxvyr
create-react-app
Templates
Check out our guide for
information on how to use our official create-react-app
templates.
Contributing
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.
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 Pursuing
Technology Radar (2020β2021)
The Most Impactful Contribution to the community
Open Source Awards (2020)
Contributors
Thanks goes to these wonderful people
Segun Adebayo
π» π§ π π‘ π¨
Tioluwani Kolawole
π π‘ π§
Devansh Jethmalani
π»
Adrian Aleixandre
π» π
Lee
π
KristΓ³f PoduszlΓ³
π» π€ π π
Justin Hall
π»
Mark Chandler
π» β οΈ π π§
Folasade Agbaje
π» π€
Christian Nwamba
π
Jonathan Bakebwa
π π€
Alex Luong
π» π
Jesco WΓΌster
π»
Dusty Doris
π»
Alex Lobera
π»
Tommaso De Rossi
π»
Odi
π»
Hendrik Niemann
π»
Matt Rothenberg
π» π‘
Luis Felipe Zaguini
π»
Jean
π»
Temitope Ajiboye
π
Jonathan Kim
π»
Chris Thompson
π»
WALTER KIMARO
π»
Jack Leslie
π»
Ken-Lauren Daganio
π»
Ramon
π»
jess
π π
Ayelegun Kayode Michael
π»
Tal Williams
π»
Trevor Blades
π» π π
Gord Lea
π»
Aggelos Arvanitakis
π»
Douglas Gabriel
π»
Martin NordstrΓΆm
π»
Danny Tatom
π»
Simon Collins
π»
Santi Albo
π» π
PILO7980
π»
Ishimoto Koji
π»
Jeff Wen
π»
Pablo Saez
π»
Nejc Ravnik
π»
Julien Viala
π»
Sebastian Trebunak
π» π
Adam Plante
π»
LΓΊcio Rubens
π»
Jason Miazga
π» π
Gonzalo Pozzo
π»
Christian
π» π
Christian Hagendorn
π»
Andrey Krasnov
π»
Dony Sukardi
π»
Meng
π»
Gabriele Belluardo
π»
Francois Best
π»
Tianci He
π»
Steven
π»
Baptiste Adrien
π»
Rob Bevan
π»
Tomasz
π»
εΎζ·
π»
David Wippel
π»
Naveen
π»
Vincent
π»
Osamah Aldoaiss
π»
Fred K. Schott
π»
Jared Palmer
π»
Austin Walela
π»
Tony Narlock
π» π
Thomas Maximini
π»
David Baumgold
π»
ralphilius
π»
Rahul Rangnekar
π»
Pierre Nel
π»
Pierre Grimaud
π»
Whisp R&D
π»
Makenna Smutz
π» π π€
Nelson Reitz
π»
Mohamed Nainar
π
Mustafa Turhan
π
Kim RΓΈen
π
Justin Mak
π»
Jeremy Davis
π»
Jeremy Lu
π π»
Ivan Dalmet
π π» π
Dillon Curry
π»
idfunctor
π»
denkigai
π»
Aaron Adams
π»
Abdulazeez Adeshina
π»
Sandro
π»
Premkumar Shanmugam
π»
Tobias Meixner
π»
Jeremie Leblanc
π»
Kelvin Oghenerhoro
π»
David J. Felix
π»
Brody McKee
π
Per Svensson
π»
Patrick Cason
π
Ivo IliΔ
π»
Avaneesh Tripathi
π»
balibebas
π
Navin Moorthy
π» π
Tim Kindberg
π
iodar
π
MAO YUFENG
π
Peng Jie
π» π
James Gee
π» β οΈ π‘
Anton
π
Damnjan Lukovic
π
Stanila Andrei
π»
Ekunola Ezekiel
π»
Ben Mitchinson
π
Jess Telford
π»
Simo Aleksandrov
π
HΓ©ricles Emanuel
π»
CodinCat
π
Sam Dawson
π€
hy2k
π»
Pierre Ortega
π»
Kerem Sevencan
π
harveyhalwin
π
Mansour benyoucef
π
Andrew Garrison
π
Carlos Rodrigues
π
Dwight Watson
π
ChasinHues
π
Nahuel Greco
π π
Pablo Rocha
π
Dustin Larimer
π» π¨
Juliano Farias
π
Joe Bell
π π»
Henning Pohlmeyer
π»
Sivert Schou Olsen
π
Andrei Lazarescu
π
JosΓ© Teixeira
π
Adriano Resende
π
Victor Bastos
π
Vincent
π
Candice
π¨ π π
Dave Bauman
π
TimKolberger
π π π»
Stephane Mensah
π
iskanderbroere
π
Dominik Sumer
π»
Pavel 'Strajk' Dolecek
π
Keshav Bohra
π
okezieuc
π
Clayton Faria
π
Andrew Ellis
π» π π
Joel Gallant
π
Jaya Krishna Namburu
π»
Ifeoma Imoh
π
Jason Adkison
π
Gauthier Rodaro
π
Tom Dohnal
π»
Sam Margalit
π
Marcus Wood
π»
Spencer Duball
π
Jacob Arriola
π
Kenley Jean
π
Dennis Morello
π
Umar Gora
π
Zyclotrop-j
π»
Hong Suk Woo
π
Junho Yeo
π
Thomas Siller
β οΈ π»
Samuel Kauffmann
π
Jozef MikulΓ‘Ε‘
π»
JoΓ£o Victor
π»
yuichiro miyamae
π
Gifa Eriyanto
π
Yuzi
β οΈ π»
songheewon
π
Prasanna Venkatesh T S
π
anthowm
π
Osama Ahmaro
π
Danan Wijaya
π
electather
π
Shubham Kaushal
π
Petter Sæther Moen
π
Herman Nygaard
π
jnmsl
π
Mohamed Sayed
π»
Sam Poder
π
Dominic Lee
π π»
Feras Aloudah
π€
JP Ungaretti
π
Endika Intxaurtieta
π
Matt Wells
π»
Anant Jain
π
Tom Chen
π π
Ernie Miranda
π
bjoluc
π
Sujit Pradhan
π π»
Abhishek Kashyap
π
Kristian DjakoviΔ
π»
Antoniel MagalhΓ£es
π»
Griko Nibras
π€ π»
imalbert
π
mcha
π» β οΈ
Hasib Hassan
π
Jamie Rolfs
π€ π π»
Surabhi Gupta
π
Ningaro
π
Monae
π»
Wade McDaniel
π
Gordon Goldbach
π»
Bhish
π»
Amilkar Munoz
π
Samar Mohan
π»
JoΓ£o Paulo Rodrigues
π
Avery Freeman
π
Daniel Schulz
π π» π π€
Michael Kilbane
π»
ngxCoder
π»
Kristofer Giltvedt Selbekk
π
Johann Ehlers
π π»
Lukas Bach
π»
Lazar Nikolov
π
iwata
π π»
Lee seung chan
π»
pomSense
π»
be-student
π
Tatsuya Itakura
π» π§
Yuku Kotani
π» π§
Vadim Demedes
π»
(emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Testing supported by
License
MIT Β© Segun Adebayo