Back to Slint

Navigation Item

ui-libraries/material/docs/src/content/collections/structs/NavigationItem.md

1.16.1417 B
Original Source

NavigationItem

This structure represents a NavigationItem with an icon, text, badge, and empty badge.

  • icon (image): The icon to display in the item.
  • selected-icon (image): The icon to display in the item when selected.
  • text (string): The text to display in the item.
  • show-badge (bool): Whether the badge is empty.
  • badge (string): The badge to display in the item.