Svelte implementation of the Carbon Design System https://svelte.carbondesignsystem.com
Find a file
2020-09-04 17:46:02 -07:00
.github feat: initial commit 2019-12-15 11:20:52 -08:00
.storybook chore: update dependencies, remove jest 2020-07-19 06:53:10 -07:00
docs chore(prettier): use svelteStrictMode 2020-09-04 16:35:49 -07:00
examples/rollup-typescript chore(prettier): use svelteStrictMode 2020-09-04 16:35:49 -07:00
scripts/rollup build: add script to generate component index 2020-08-13 17:24:00 -07:00
src chore(button): remove documentation of non-existent small prop 2020-09-04 17:35:41 -07:00
types chore(changelog): 0.9.8 notes 2020-08-23 13:33:03 -07:00
.gitignore change default name prop value for undefined 2020-07-10 11:07:50 -04:00
.prettierrc chore(prettier): use svelteStrictMode 2020-09-04 16:35:49 -07:00
.travis.yml ci(travis): require node_js >=12 2020-09-04 17:46:02 -07:00
CHANGELOG.md chore(changelog): 0.9.8 notes 2020-08-23 13:33:03 -07:00
COMPONENT_INDEX.md chore(changelog): 0.9.8 notes 2020-08-23 13:33:03 -07:00
CONTRIBUTING.md ci(travis): require node_js >=12 2020-09-04 17:46:02 -07:00
LICENSE Initial commit 2019-12-15 13:16:40 -05:00
package.json chore(deps-dev): bump rollup, rollup plugins 2020-09-04 16:43:31 -07:00
README.md docs: update readme with info on ts support/component index 2020-08-14 19:16:18 -07:00
rollup.config.js refactor(types): integrate generate docs in rollup.config.js 2020-08-11 08:38:07 -07:00
tsconfig.json build: use svelte compiler to generate typescript definitions 2020-08-10 18:27:26 -07:00
yarn.lock chore(deps-dev): bump rollup, rollup plugins 2020-09-04 16:43:31 -07:00

carbon-components-svelte

NPM Build

Svelte implementation of the Carbon Design System

Getting Started

carbon-components-svelte can be installed as a development dependency.

yarn add -D carbon-components-svelte

Usage

<script>
  import { Button } from "carbon-components-svelte";
</script>

<svelte:head>
  <link
    rel="stylesheet"
    href="https://unpkg.com/carbon-components/css/carbon-components.min.css"
  />
</svelte:head>

<Button>Primary</Button>

TypeScript support

This library ships with TypeScript definitions (types/index.d.ts).

Components

Refer to COMPONENT_INDEX.md for component documentation.

Contributing

Refer to the Contributing guidelines.

Changelog

License

Apache 2.0