A block of text that is inset.
|id||string||-||'id' attribute to place on the base HTML element|
|classBlock||string||-||Block name override in BEM style classes applied to all elements|
|classModifiers||other||-||BEM style modifiers to apply to the base HTML element|
|className||string||-||Extra classes to apply to the base HTML element|
When to use this component
Use the inset text component to differentiate a block of text from the content that surrounds it, for example:
- additional information about the page
When not to use this component
Some users do not notice inset text if it’s used on complex pages or near to other visually prominent elements. For this reason, avoid using inset text as a way of highlighting very important information that users need to see.
If you need to draw attention to very important content, like legal information, use the warning text component instead.
How it works
Use inset text very sparingly - it’s less effective if it’s overused.
A standard Inset text.