You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libs/design/checkbox/README.md
+20-25Lines changed: 20 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,8 @@ Users can select zero, one, or any number of checkboxes. They can be used standa
6
6
7
7
The following components are available for checkboxes:
8
8
9
-
-**<daff-checkbox>**: Individual checkbox
10
-
-**<daff-checkbox-set>**: Container for grouping related checkboxes
9
+
-**`<daff-checkbox>`**: Individual checkbox
10
+
-**`<daff-checkbox-set>`**: Container for grouping related checkboxes
11
11
12
12
## Usage
13
13
@@ -51,7 +51,9 @@ export class CustomComponentModule { }
51
51
52
52
> Deprecation notice: This method is deprecated. It's recommended to update all custom components to standalone.
53
53
54
-
## Basic checkbox
54
+
## Anatomy
55
+
56
+
### Checkbox
55
57
A basic checkbox allows users to make a selection. Place the label text as content inside of `<daff-checkbox>`.
56
58
57
59
```html
@@ -60,10 +62,10 @@ A basic checkbox allows users to make a selection. Place the label text as conte
60
62
</daff-checkbox>
61
63
```
62
64
63
-
## Checkbox Set
64
-
Use `<daff-checkbox-set>`to group related checkboxes together. This provides consistent styling and helps organize multiple checkbox options under a common label.
65
+
###Checkbox Set
66
+
Group related checkboxes together using `<daff-checkbox-set>`for better organization and accessibility. This provides consistent styling and helps organize multiple checkbox options under a common label.
65
67
66
-
###Checkbox set label
68
+
#### Label
67
69
Use `<daff-checkbox-set-label>` to provide a descriptive label for the checkbox set. This helps users understand what the group of checkboxes represents.
68
70
69
71
```html
@@ -80,10 +82,10 @@ Use the `orientation` property to stack checkboxes either `vertical` (default) o
0 commit comments