Package Information
- Last Updated
- Minimum Typst Version
- 0.11.0
- Authors
- dogezen
- Categories
- components
- Disciplines
- computer-scienceengineeringbusinesscommunication
1. Get the package
Download the package using the TPIX CLI:
tpix get @preview/badgery:0.1.12. Import in your Typst file
Add this to your .typ file:
#import "@preview/badgery:0.1.1": *Badgery
This package defines some colourful badges and boxes around text that represent user interface actions such as a click or following a menu.
For examples have a look at the example main.typ, main.pdf.

Badges
#badge-gray("Gray badge"),
#badge-red("Red badge"),
#badge-yellow("Yellow badge"),
#badge-green("Green badge"),
#badge-blue("Blue badge"),
#badge-purple("Purple badge")
User interface actions
This is a user interface action (ie. a click):
#ui-action("Click X")
This is an action to follow a user interface menu (2 steps):
#menu(("File", "New File..."))
This is a menu action with multiple steps:
#menu(("Menu", "Sub-menu", "Sub-sub menu", "Action"))