/carbon-components-svelte

Svelte implementation of the Carbon Design System

Primary LanguageHTMLApache License 2.0Apache-2.0

carbon-components-svelte

NPM Build

Svelte implementation of the Carbon Design System

Storybook · CodeSandbox

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@10.9.0/css/carbon-components.min.css"
  />
</svelte:head>

<button>Primary</button>

Try it in the CodeSandbox.

Contributing

Refer to the Contributing guidelines.

Changelog

License

Apache 2.0