Skip to content

Commit 5c721a7

Browse files
author
Sara Dahan
committed
docs(label-group): update changeset to follow changelog format
1 parent bc5f6c9 commit 5c721a7

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.changeset/yummy-eagles-itch.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,18 @@
22
"@patternfly/elements": minor
33
---
44

5-
Introduce `<pf-label-group>` element with:
6-
- Removable labels and option to remove entire group
7-
- Overflow handling for labels and title
8-
- Horizontal and vertical layout support
5+
✨ Introduced `<pf-label-group>`.
96

7+
A label group displays multiple labels together, helping users visualize related categories, filters, or items.
8+
Each label can be removed individually, and the entire group can also be cleared at once.
9+
The element automatically handles overflow for long lists of labels and supports both horizontal and vertical layouts.
10+
11+
Use this when you need to show multiple tags, filters, or categorized items that users can remove or adjust dynamically.
12+
Avoid using it for single, standalone labels — consider using `<pf-label>` instead.
13+
14+
```html
15+
<pf-label-group label="Filters">
16+
<pf-label removable>Security</pf-label>
17+
<pf-label removable>Performance</pf-label>
18+
<pf-label removable>Networking</pf-label>
19+
</pf-label-group>

0 commit comments

Comments
 (0)