Hi there @LRoInT, have a look at kind
Figure Function – Typst Documentation
#figure(
circle(radius: 10pt),
caption: [A curious atom.],
kind: "atom",
supplement: [Atom],
)
Edit: Duplicate of How to rename a specific figure kind's supplement?