mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
36 lines
No EOL
678 B
Text
36 lines
No EOL
678 B
Text
---
|
|
components: ["TileGroup", "RadioTile"]
|
|
---
|
|
|
|
<script>
|
|
import { TileGroup, RadioTile } from "carbon-components-svelte";
|
|
import Preview from "../../components/Preview.svelte";
|
|
</script>
|
|
|
|
### Default
|
|
|
|
<TileGroup legend="Service pricing tiers">
|
|
<RadioTile value="0" checked>
|
|
Lite plan
|
|
</RadioTile>
|
|
<RadioTile value="1">
|
|
Standard plan
|
|
</RadioTile>
|
|
<RadioTile value="2">
|
|
Plus plan
|
|
</RadioTile>
|
|
</TileGroup>
|
|
|
|
### Light variant
|
|
|
|
<TileGroup legend="Service pricing tiers">
|
|
<RadioTile value="0" checked>
|
|
Lite plan
|
|
</RadioTile>
|
|
<RadioTile value="1">
|
|
Standard plan
|
|
</RadioTile>
|
|
<RadioTile value="2">
|
|
Plus plan
|
|
</RadioTile>
|
|
</TileGroup> |