rsnext/examples/with-carbon-components
2020-05-27 17:51:11 -04:00
..
pages Refactor class components to functional @ examples (#13398) 2020-05-27 05:14:26 +00:00
styles Upgrade with-carbon-components to built-in SCSS (#10321) 2020-01-30 13:26:26 +01:00
.gitignore added example with IBM Carbon Components, with demonstrated customizability (#4932) 2018-09-04 17:16:54 +02:00
package.json Upgrade with-carbon-components to built-in SCSS (#10321) 2020-01-30 13:26:26 +01:00
README.md Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00

Example app with carbon-components-react

This example features how you use IBM's carbon-components-react (Carbon Design System) with Next.js.

Create your own theme with Carbon Design System's theming tools and put it all together as demonstrated in static/myCustomTheme.scss

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

Using create-next-app

Execute create-next-app with npm or Yarn to bootstrap the example:

npm init next-app --example with-carbon-components with-carbon-components-app
# or
yarn create next-app --example with-carbon-components with-carbon-components-app

Download manually

Download the example:

curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-carbon-components
cd with-carbon-components

Install it and run:

npm install
npm run dev
# or
yarn
yarn dev

Deploy it to the cloud with Vercel (Documentation).