Code Monkey home page Code Monkey logo

chakra-ui's Introduction

Chakra logo

Build Accessible React Apps with Speed ⚡️


Bundle Size Language grade: JavaScript MIT License NPM Downloads Github Stars Discord


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? 📝

For older versions, head over here => https://chakra-ui.com

Latest version (pre-release) => https://next.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. Thank you to all our supporters! 🙏 [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [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 ▲

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
function App({ children }) {
  return (
    <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"

function Example() {
  return <Button>I just consumed some ⚡️Chakra!</Button>
}

CodeSandbox Templates

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.

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

💻 🎨

(emoji key):

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

Testing supported by

BrowserStack

License

MIT © Segun Adebayo

chakra-ui's People

Contributors

alexlobera avatar alexluong avatar allcontributors[bot] avatar amadk avatar cereallarceny avatar dependabot-preview[bot] avatar douglasgabr avatar dustinlarimer avatar estheragbaje avatar geemanjs avatar iodar avatar jmiazga avatar kripod avatar lee-reinhardt avatar ljosberinn avatar monuelo avatar navin-moorthy avatar neighborhood999 avatar ralphilius avatar remorses avatar santialbo avatar segunadebayo avatar singingwolfboy avatar timkolberger avatar tioluwani94 avatar tony avatar trevorblades avatar with-heart avatar zaguiini avatar zuice avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.