For a button that resembles a link
<dl>
<dt>States</dt>
<dd>
<dl>
<dt><code><button></code></dt>
<dd>
<button class="c-button c-button--as-link
">
default
</button>
<button class="c-button c-button--as-link
" disabled>
disabled-attr
</button>
<button class="c-button c-button--as-link c-button--is-busy
" disabled>
--is-busy
</dd>
</dl>
<dd>
<dt>Icons</dt>
<dd>
<dl>
<dt><code><button></code></dt>
<dd>
<button class="c-button c-button--as-link
">
<i class="icon icon-push-right" aria-description="validate input">…</i>
__icon--before
</button>
<button class="c-button c-button--as-link
">
__icon--after
<i class="icon icon-new-browser" aria-description="exit page">X</i>
</dd>
</dl>
<dd>
</dl>
/* This CSS is ONLY for the pattern library. It is NOT part of the pattern. */
.c-button > i {
font-style: normal;
}
{
"shouldSkipPattern": true,
"bootstrap4Styles": [
{
"isInternal": true,
"layer": "foundation",
"path": "/assets/core-styles.bootstrap4.css"
}
],
"globalStyles": [
{
"isInternal": true,
"layer": "base",
"path": "/assets/core-styles.demo.css"
},
{
"isInternal": true,
"layer": "base",
"path": "/assets/core-styles.base.css"
}
],
"cmsStyles": [
{
"isInternal": true,
"layer": "base",
"path": "/assets/core-styles.cms.css"
}
],
"docsStyles": [
{
"isInternal": true,
"layer": "base",
"path": "/assets/core-styles.docs.css"
}
],
"portalStyles": [
{
"isInternal": true,
"layer": "base",
"path": "/assets/core-styles.portal.css"
}
],
"subdir": "components",
"supports": {
"states": true,
"icons": true,
"width": false,
"size": false,
"size-small": true,
"link-tag": false
},
"supportStyles": [
"../../assets/components/cortal-icon.css"
]
}