Data
Snippet
This component is used to display code.
Elements
The component is composed of one snippet
element with a string inside.
Code snippet
Properties
Add classes to the wrapper class to change the style of the component.
Default
Add a default tag to the snippet. This is used for instance in the documentation of the library.
class="snippet snippet--default"
Default
Dense
Make the snippet component smaller.
class="snippet snippet--dense"
Dense
Dense