Skip to content

Commit 157a781

Browse files
Elliott Marquezcopybara-github
authored andcommitted
docs(checkbox): use m.io hero image and add spacing components
PiperOrigin-RevId: 532896113
1 parent 6b04f6b commit 157a781

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

docs/components/checkbox.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: Checkbox
33
dirname: checkbox
44
-----><!-- catalog-only-end -->
55

6+
<catalog-component-header>
7+
<catalog-component-header-title slot="title">
8+
69
# Checkbox
710

811
<!--*
@@ -30,7 +33,15 @@ to select one or more items from a set. Checkboxes can turn an option on or off.
3033
There's one type of checkbox in Material. Use this selection control when the
3134
user needs to select one or more options from a list.
3235

33-
![A list of burger additions represented with checkboxes](images/checkbox/hero.png "Checkboxes in a list of items.")
36+
</catalog-component-header-title>
37+
38+
<img
39+
class="hero"
40+
src="images/checkbox/hero.png"
41+
alt="A list of burger additions represented with checkboxes"
42+
title="Checkboxes in a list of items.">
43+
44+
</catalog-component-header>
3445

3546
* [Design article](https://m3.material.io/components/checkbox) <!-- {.external} -->
3647
* API Documentation (*coming soon*)
@@ -41,7 +52,7 @@ user needs to select one or more options from a list.
4152

4253
<!--
4354
44-
## Live Demo
55+
## Interactive Demo
4556
4657
{% playgroundexample dirname=dirname %}
4758
30.5 KB
Loading

0 commit comments

Comments
 (0)