Skip to content

Files

This branch is 4 commits ahead of, 4610 commits behind carbon-design-system/carbon:main.

react

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 9, 2021
Jun 16, 2021
May 18, 2021
Mar 9, 2021
Apr 3, 2021
Dec 9, 2020
Jun 16, 2021
May 7, 2019
May 18, 2021
Jun 26, 2020
Mar 9, 2021
Jan 20, 2020
May 18, 2021
May 9, 2019
Jun 16, 2021
May 4, 2021
May 18, 2021

carbon-components-react

A collection of Carbon Components built with React.

If you're new to React.js or Carbon, check out our guide to help get you up and running.

Getting started

To install carbon-components-react in your project, you will need to run the following command using npm:

npm install -S carbon-components carbon-components-react carbon-icons

If you prefer Yarn, use the following command instead:

yarn add carbon-components carbon-components-react carbon-icons

If you want to try out carbon-components-react, you can also use CodeSandbox.

Edit carbon-components-react

Usage

import { Button } from 'carbon-components-react';

function MyComponent() {
  return <Button>Example usage</Button>;
}

For more information about each component, check out our Storybook. For guides on getting started, head on over to our Website or check out our Tutorial

📚 Documentation

📚 Examples

If you're looking for more examples on how to use carbon-components-react, we have some examples that you can check out:

🙌 Contributing

We're always looking for contributors to help us fix bugs, build new features, or help us improve the project documentation. If you're interested, definitely check out our Contributing Guide! 👀

📝 License

Licensed under the Apache 2.0 License.