How do I make text appear on the topLeading toolbar without it showing the glass button effect?

Asked on 06/11/2025

1 search

To make text appear on the topLeading toolbar without it showing the glass button effect, you can set the isBordered property of the NSToolbarItem to false. This will remove the glass material from the toolbar item, preventing it from looking like a button. This approach is particularly useful for non-interactive items like custom titles and status indicators, which should avoid the glass material to prevent them from appearing as buttons.

For more details, you can refer to the session Build an AppKit app with the new design (02:41).