Skip to content

Commit 267b94e

Browse files
committed
More info on comprehensive example
1 parent ba2ccb9 commit 267b94e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

apps/website/src/content/docs/components/stratakit/NavigationRail.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ The **NavigationRail** component provides a persistent and convenient way to nav
1616

1717
Combine **NavigationRail** with other components to create a more complex navigation experience.
1818

19-
In the example below, the [**Menu**](/components/menu/) component is used to expose multiple actions for the "Account" item.
19+
In the example below:
20+
21+
- The `endIcon` prop on `NavigationRail.Anchor` is used to indicate that the "Integrations" link opens in a new tab.
22+
- The [**Badge**](/components/badge/) component is used to display a notification indicator on the "Notifications" item. When the rail is collapsed, a dot badge is shown on the icon. When expanded, the badge count is displayed inline next to the label using the `endIcon` prop.
23+
- The [**Menu**](/components/menu/) component is used to expose multiple actions for the "Account" item.
2024

2125
::example{src="structures/NavigationRail.comprehensive" min-height="450px" min-width="450px" vertical-stretch}

0 commit comments

Comments
 (0)