Package Exports
- @chakra-ui/core
- @chakra-ui/core/dist/Accordion
- @chakra-ui/core/dist/Alert
- @chakra-ui/core/dist/Avatar
- @chakra-ui/core/dist/AvatarGroup
- @chakra-ui/core/dist/Badge
- @chakra-ui/core/dist/Box
- @chakra-ui/core/dist/Breadcrumb
- @chakra-ui/core/dist/Button
- @chakra-ui/core/dist/CSSReset
- @chakra-ui/core/dist/Checkbox
- @chakra-ui/core/dist/CheckboxGroup
- @chakra-ui/core/dist/CloseButton
- @chakra-ui/core/dist/Code
- @chakra-ui/core/dist/Collapse
- @chakra-ui/core/dist/ControlBox
- @chakra-ui/core/dist/Divider
- @chakra-ui/core/dist/Editable
- @chakra-ui/core/dist/Flex
- @chakra-ui/core/dist/FormControl
- @chakra-ui/core/dist/FormErrorMessage
- @chakra-ui/core/dist/FormHelperText
- @chakra-ui/core/dist/FormLabel
- @chakra-ui/core/dist/Grid
- @chakra-ui/core/dist/Heading
- @chakra-ui/core/dist/Icon
- @chakra-ui/core/dist/Image
- @chakra-ui/core/dist/Input
- @chakra-ui/core/dist/InputGroup
- @chakra-ui/core/dist/Link
- @chakra-ui/core/dist/List
- @chakra-ui/core/dist/Menu
- @chakra-ui/core/dist/Modal
- @chakra-ui/core/dist/NumberInput
- @chakra-ui/core/dist/Progress
- @chakra-ui/core/dist/PseudoBox
- @chakra-ui/core/dist/Radio
- @chakra-ui/core/dist/RadioButtonGroup
- @chakra-ui/core/dist/RadioGroup
- @chakra-ui/core/dist/Select
- @chakra-ui/core/dist/Slider
- @chakra-ui/core/dist/Stack
- @chakra-ui/core/dist/Switch
- @chakra-ui/core/dist/Tabs
- @chakra-ui/core/dist/Tag
- @chakra-ui/core/dist/Text
- @chakra-ui/core/dist/Textarea
- @chakra-ui/core/dist/ThemeProvider
- @chakra-ui/core/dist/Toast
- @chakra-ui/core/dist/Tooltip
- @chakra-ui/core/dist/theme
- @chakra-ui/core/dist/useClipboard
- @chakra-ui/core/dist/useDisclosure
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@chakra-ui/core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Welcome to Chakra UI ⚡️
Works out of the box. Chakra UI contains a set of polished React components that work out of the box.
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.
Dark Mode 😍: All components are dark mode compatible.
Installing Chakra UI
⚡️Chakra UI is made up of multiple components and tools which you can import
one by one. All you need to do is install the chakra-ui package:
$ yarn add chakra-ui
# or
$ npm install --save chakra-uiGetting set up
To start using the components, please follow these steps:
- Wrap your application in a
ThemeProviderprovded by chakra-ui
import { ThemeProvider, ColorModeProvider } from "fannypack";
const App = () => (
<ThemeProvider>
<ColorModeProvider>{/* Your app */}</ColorModeProvider>
</ThemeProvider>
);ColorModeProvider is a context that provides light mode and dark mode values
to the components. It also comes with a function to toggle between light/dark
mode.
- Now you can start using components like so!:
import { Button } from "chakra-ui";
const App = () => <Button>I just consumed some ⚡️Chakra!</Button>;Contributing
Feel like contributing? That's awesome! We have a contributing guide to help guide you.