mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
Svelte implementation of the Carbon Design System
https://svelte.carbondesignsystem.com
carboncarbon-design-systemcomponent-librarydesign-systemsveltesvelte-componentstypescripttypescript-definitionsui-componentsui-library
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.18.0 to 3.18.1. - [Release notes](https://github.com/sveltejs/svelte/releases) - [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md) - [Commits](https://github.com/sveltejs/svelte/compare/v3.18.0...v3.18.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> |
||
---|---|---|
.github | ||
.storybook | ||
docs | ||
palimpsest | ||
src | ||
.eslintrc.json | ||
.gitignore | ||
.prettierignore | ||
.travis.yml | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
package.json | ||
README.md | ||
rollup.config.js | ||
yarn.lock |
carbon-components-svelte
Svelte implementation of the Carbon Design System
NOTE: Currently, this project is under active development. See the issue tracker for the anticipated v1.0.0 release.
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.