mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
* chore(deps-dev): upgrade carbon-components to v10.46.0 * feat(tag): support outline type * feat(multi-select): add hideLabel prop * chore: delete unused publish-examples.js * chore(deps-dev): remove gh-pages * chore: remove publish-examples script * chore(deps-dev): upgrade carbon-components to v10.46.0 * feat(tag): support outline type * feat(multi-select): add hideLabel prop * chore: delete unused publish-examples.js * chore(deps-dev): remove gh-pages * chore: remove publish-examples script * chore: rebuild component index
38 lines
713 B
Svelte
38 lines
713 B
Svelte
<script lang="ts">
|
|
import { Tag } from "../types";
|
|
import Add16 from "carbon-icons-svelte/lib/Add16";
|
|
</script>
|
|
|
|
<Tag class="my-class" style="margin: 1rem;">IBM Cloud</Tag>
|
|
|
|
<Tag type="red">red</Tag>
|
|
|
|
<Tag type="magenta">magenta</Tag>
|
|
|
|
<Tag type="purple">purple</Tag>
|
|
|
|
<Tag type="blue">blue</Tag>
|
|
|
|
<Tag type="cyan">cyan</Tag>
|
|
|
|
<Tag type="teal">teal</Tag>
|
|
|
|
<Tag type="green">green</Tag>
|
|
|
|
<Tag type="gray">gray</Tag>
|
|
|
|
<Tag type="cool-gray">cool-gray</Tag>
|
|
|
|
<Tag type="warm-gray">warm-gray</Tag>
|
|
|
|
<Tag type="high-contrast">high-contrast</Tag>
|
|
|
|
<Tag type="outline">outline</Tag>
|
|
|
|
<Tag filter on:click on:close>Filterable</Tag>
|
|
|
|
<Tag icon="{Add16}">Custom icon</Tag>
|
|
|
|
<Tag interactive>Text</Tag>
|
|
|
|
<Tag skeleton />
|