<div class="card card-centered">

    <div class="card-header">
        <div class="card-header__text">
        </div>
    </div>
    <div class="card__body">
        <div class="avatar-wrapper avatar-wrapper-large">
            <div class="avatar__image-wrapper"><img class="avatar" src="https://images.unsplash.com/photo-1438761681033-6461ffad8d80?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=5d43ec18ec2cf6ff854513b9e8395c1e&auto=format&fit=crop&w=192&h=192&q=80" alt="avatar" width="96" height="96" /></div>
        </div>
        <h3 class="card-header__title l-mb-xsmall">Say "Happy Birthday"</h3>
        <p>It’s Rosamond Mueller’s birthday today. Don’t forget to say happy birthday!</p>
    </div>
    <div class="card__footer">
        <button class="btn btn-secondary btn-small " type="button">
					<span class="btn__inner">
							<span class="btn__text">Send a birthday message</span>
						
					</span>	
			</button>
    </div>
</div>
<div class="card{{#if centered}} card-centered{{/if}}">
	{{#if preHeader}}
		{{{preHeader}}}
	{{/if}}
	{{> @card-header}}
	<div class="card__body">{{{children}}}</div>
	{{#if footerActions}}
	<div class="card__footer">
		{{#each footerActions}}
			{{> @button}}
		{{/each}}
	</div>
	{{/if}}
</div>
{
  "title": null,
  "children": "<div class=\"avatar-wrapper avatar-wrapper-large\"><div class=\"avatar__image-wrapper\"><img class=\"avatar\" src=\"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=5d43ec18ec2cf6ff854513b9e8395c1e&auto=format&fit=crop&w=192&h=192&q=80\" alt=\"avatar\" width=\"96\" height=\"96\" /></div></div><h3 class=\"card-header__title l-mb-xsmall\">Say \"Happy Birthday\"</h3><p>It’s Rosamond Mueller’s birthday today. Don’t forget to say happy birthday!</p>",
  "footerActions": [
    {
      "text": "Send a birthday message",
      "className": "btn-secondary btn-small"
    }
  ],
  "centered": true
}

Card

Cards bundle together content, and related links and actions.

Guidelines:

  • Every card should solve a problem for the user
  • Cards should communicate their own level of priority
  • Card states must be persistent
  • Cards should be concise and relevant to the user
  • Important actions should be represented as buttons in the card footer
  • Less important actions may be included in the header; a single Simple Button may be used, or a Context Menu if there are many actions