Skip to content

Info Intent

The .info class provides a visual style for links and buttons that indicate an informational action. Use it to highlight actions that provide additional information or context.

Apply .info to <a> elements or elements with [role="link"] to indicate an informational action.

live preview
editable html
<a href="#" class="info">Regular Link</a>

<hr>

<a href="#" aria-current="page" class="info">Active link</a>
<hr>
<button class="info" role="link">
  &lt;button&gt; as link
</button>

<hr>

<button role="link" aria-current="page" class="info">Active button</button>

<hr>

<div class="info" role="link">
  &lt;div&gt; as link
</div>

<hr>

<div role="link" aria-current="page" class="info">Active div</div>

Buttons

Apply .info to <button> elements or elements with [role="button"] for an info action button.

live preview
editable html
<div class="auto-grid">
  <button class="info">
    Button
  </button>
  
  <div class="info" role="button">
    &lt;div&gt; as button
  </div>
  
  <details>
    <summary class="info" role="button" aria-haspopup="menu">
      Dropdown as a button
    </summary>
    <ul role="menu">
      <li><a role="menuitem" href="#">Solid</a></li>
      <li><a role="menuitem" href="#">Liquid</a></li>
      <li><a role="menuitem" href="#">Gas</a></li>
      <li><a role="menuitem" href="#">Plasma</a></li>
    </ul>
  </details>
</div>

Cards

Apply .info to an element with .card for an info action card.

live preview
See code

Modifiers

.info can be modified with .subtle to create cards with a more muted appearance, often used for less prominent actions.

live preview
See code

.info can be modified with .ghost to create ghost buttons and cards, which have a transparent background and a border, making them less visually prominent while still maintaining the info effect.

live preview
See code