Skip to content

Overbryd/carbon-components-svelte

 
 

Repository files navigation

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.

License

Apache 2.0

About

Svelte implementation of the Carbon Design System

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 77.4%
  • JavaScript 22.6%