Namespace Pollution Mechanism

    carbon-components-react
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/carbon-components-react package

    7.49.1 • Public • Published

    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.

    Install

    npm i carbon-components-react

    DownloadsWeekly Downloads

    45,003

    Version

    7.49.1

    License

    Apache-2.0

    Unpacked Size

    7.85 MB

    Total Files

    1143

    Last publish

    Collaborators

    • joshblack
    • tay1orjones
    • tjegan
    • carbon-bot
    • sstrubberg
    • adavila
    • jnm2377
    • dakahn