-
-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
626fd99
commit 361d2df
Showing
14 changed files
with
32,878 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,42 @@ | ||
--- | ||
components: ["SelectableTile"] | ||
components: ["SelectableTile", "SelectableTileGroup"] | ||
--- | ||
|
||
<script> | ||
import { SelectableTile } from "carbon-components-svelte"; | ||
import { SelectableTile, RadioTileGroup } from "carbon-components-svelte"; | ||
import Preview from "../../components/Preview.svelte"; | ||
</script> | ||
|
||
### Multi-selectable tiles | ||
|
||
<div role="group" aria-label="selectable tiles"> | ||
<SelectableTile selected> | ||
Multi-select Tile | ||
<SelectableTileGroup legend="Select the options you require" light> | ||
<SelectableTile title="Option 1" selected> | ||
Option 1 | ||
</SelectableTile> | ||
<SelectableTile selected> | ||
Multi-select Tile | ||
<SelectableTile title="Option 2" selected> | ||
Option 2 | ||
</SelectableTile> | ||
<SelectableTile> | ||
Multi-select Tile | ||
<SelectableTile title="Option 3£> | ||
Option 3 | ||
</SelectableTile> | ||
<SelectableTile light title="Option 4£> | ||
Option 4 (light variant) | ||
</SelectableTile> | ||
</div> | ||
|
||
### Light variant | ||
### Multi-selectable tiles with light variant | ||
|
||
<div role="group" aria-label="selectable tiles"> | ||
<SelectableTile light selected> | ||
Multi-select Tile | ||
<SelectableTileGroup light legend="Select the options you require" light> | ||
<SelectableTile title="Option 1" selected> | ||
Option 1 | ||
</SelectableTile> | ||
<SelectableTile title="Option 2" selected> | ||
Option 2 | ||
</SelectableTile> | ||
<SelectableTile light selected> | ||
Multi-select Tile | ||
<SelectableTile title="Option 3£> | ||
Option 3 | ||
</SelectableTile> | ||
<SelectableTile light> | ||
Multi-select Tile | ||
<SelectableTile title="Option 4£> | ||
Option 4 | ||
</SelectableTile> | ||
</div> | ||
</div> |
Oops, something went wrong.