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: docs/kit/dock-system.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -527,6 +527,8 @@ DevTools for Rolldown joins this group out of the box.
527
527
528
528
From the dock settings panel, users hide or reorder members within a group independently, and hide the whole group from its row. When a group's members span several sub-categories, each sub-category reorders on its own and shows its own header.
529
529
530
+
Pinning an entry moves it into a dedicated **Pinned** category that leads the dock bar ahead of every other category. A top-level entry (or a whole group button) pins to the bar-level Pinned bucket; a grouped member pins to a Pinned sub-category that leads its own group, staying inside the group rather than surfacing on the bar. A pinned entry shows even when its home category is hidden, and unpinning returns it to that category in its previous position.
531
+
530
532
## Common options
531
533
532
534
Every dock type accepts these base fields:
@@ -537,7 +539,7 @@ Every dock type accepts these base fields:
537
539
|`title`|`string`| Label shown in the dock. |
538
540
|`icon`|`string \| { light, dark }`| Iconify name, URL, data URI, or light/dark pair. |
539
541
|`category`|`'app' \| 'framework' \| 'web' \| 'advanced' \| 'default'`| Outer dock-bar bucket, or the in-group sub-category when `groupId` resolves to a group — see [Categories inside a group](#categories-inside-a-group). Defaults to `'default'`. |
|`defaultOrder`|`number`|Orders entries within a category; lower numbers appear first. Default `0`. |
541
543
|`when`|`string`| Visibility expression — see [When Clauses](/kit/when-clauses). |
542
544
|`badge`|`string`| Short text badge (e.g. unread count). |
543
545
|`groupId`|`string`| Collapse this entry under a group's button; the group's `category` becomes this entry's outer bucket — see [Docked groups](#docked-groups). |
0 commit comments