Giter VIP home page Giter VIP logo

ibm-cloud-cognitive's Introduction

Carbon for Cloud & Cognitive

All Contributors

Licensed under the Apache License, Version 2.0 Build status Netlify status GitHub Lerna version PRs welcome

Carbon for Cloud & Cognitive

๐Ÿš€ Getting started

If you're just getting started and looking for React components, take a look at our Storybook.

If you're trying to find something specific, here's a full list of packages that we support!

Package name Description
@carbon/ibm-cloud-cognitive Common UI components

If you want to try out Carbon for Cloud & Cognitive, you can use CodeSandbox.

Edit CodeSandbox

๐Ÿ“ฆ Installing IBM Cloud Cognitive

To use IBM Cloud Cognitive components, all you need to do is install the @carbon/ibm-cloud-cognitive package.

$ yarn add @carbon/ibm-cloud-cognitive

# or

$ npm install @carbon/ibm-cloud-cognitive

Then you can import the component styles in your index.js.

import '@carbon/ibm-cloud-cognitive/css/index.min.css';

Usage

To start using the components

import { AboutModal } from '@carbon/ibm-cloud-cognitive';

const App = () => {
  return <AboutModal />;
};

Enabling canary components

Components that have not yet completed the release review process are considered to be canary and require the consumer to enable via a feature flag in a config.js file.

For example, create a config.js in your src directory:

import { pkg } from '@carbon/ibm-cloud-cognitive';

// Enable 'canary' (not yet reviewed/released) components
// that we want to make use of
pkg.component.AboutModal = true;
pkg.component.SidePanel = true;

// Live dangerously: enable all components!
pkg.setAllComponents(true);

// Enable all pre-release feature flags that we want to use
pkg.flags.noneJustYet = true;

// Live dangerously: enable all pre-release features!
pkg.setAllFeatures(true);

Note: the above settings must happen before a component first renders.

Building and running Locally

To get started run the following commands and storybook will be built and then served on port 3000 on your local machine.

yarn install
yarn storybook

To build all the packages, run the following command.

yarn build

Browser Support

This library supports the latest versions of:

  • Apple Safari
  • Google Chrome
  • Microsoft Edge
  • Mozilla Firefox

๐Ÿ™Œ Contributing

This project is made possible by several community members who have invested their own time to give back to the Carbon community.

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 and Carbon's Developer Handbook! ๐Ÿ‘€

Contributors โœจ

Thanks goes to these wonderful people (emoji key):


Simon Finney

๐Ÿ’ป

Lee Chase

๐Ÿ’ป

Simon Moore

๐Ÿ’ป

Josh Black

๐Ÿ’ป

David Menendez

๐Ÿ’ป

vladbalanescu

๐Ÿ’ป

Matthew Gallo

๐Ÿ’ป

Matt Chapman

๐Ÿ’ป

Dominik Brugger

๐Ÿ’ป

Polina Olemskaia

๐Ÿ’ป

Syd Rosa

๐Ÿ’ป

Dave Clark

๐Ÿ’ป

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

๐Ÿ“ License

Licensed under the Apache-2.0 License.

This site is powered by Netlify

ibm-cloud-cognitive's People

Contributors

alexandermelox avatar allcontributors[bot] avatar asfordmatt avatar chrisbygrave avatar conradschmidt avatar davidmenendez avatar dbrugger avatar dcwarwick avatar dependabot[bot] avatar georgegriff avatar github-actions[bot] avatar joshblack avatar lee-chase avatar matthewgallo avatar moores2 avatar nertzy avatar polinaouk avatar qbi11y avatar richardpilot avatar s100 avatar simonfinney avatar vladbalanescu avatar

Watchers

 avatar  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.