title | intro | healthcare | ||
---|---|---|---|---|
Inset (HC.gov) |
The Inset component is meant to draw attention to important content, or to associate a block of content with another element. |
|
import loremIpsumGenerator from '../../src/helpers/loremIpsumGenerator'; import { Alert } from '@cmsgov/design-system';
<ThemeContent neverThemes={['healthcare']}>
{ 'This component is only used for HealthCare. Please use the theme switcher to view the component with HealthCare styles.' }
{loremIpsumGenerator('m')}
{loremIpsumGenerator('l')}
{loremIpsumGenerator('m')}
- Use in a progressive disclosure accordion (ie. for help text)
- Use on its own as a way to distinguish a block of text from its surrounding content.