Component > Code Title

The code snippet should have an optional title - this is to help orient the user, particularly users arriving at a page (or internal page anchor) from a link or search engine results page.


A string of text in Vanilla-standard typeface and weight.


Use the title to help the code snippet make sense in any context, even for users who may have just landed at our site(s) on this particular element.


The title has one state which is visible.


The title is a string of text which truncates with an ellipsis if too long.