mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
22 lines
778 B
Svelte
22 lines
778 B
Svelte
<script lang="ts">
|
|
import { Truncate, truncate } from "carbon-components-svelte";
|
|
</script>
|
|
|
|
<Truncate>
|
|
Carbon Components Svelte is a Svelte component library that implements the
|
|
Carbon Design System, an open source design system by IBM.
|
|
</Truncate>
|
|
|
|
<Truncate clamp="front">
|
|
Carbon Components Svelte is a Svelte component library that implements the
|
|
Carbon Design System, an open source design system by IBM.
|
|
</Truncate>
|
|
|
|
<h4 use:truncate>
|
|
Carbon Components Svelte is a Svelte component library that implements the
|
|
Carbon Design System, an open source design system by IBM.
|
|
</h4>
|
|
<h4 use:truncate={{ clamp: "front" }}>
|
|
Carbon Components Svelte is a Svelte component library that implements the
|
|
Carbon Design System, an open source design system by IBM.
|
|
</h4>
|