A call to action is a styled link that entices users to make a selection.

Image of variants including Primary (red background and white text), Secondary (black border and black text), Brick (light gray border and blue text), and Default (blue text and blue icon)

Sample element



View a live version of this element to see how it can be customized.

<a href="#">Call to Action</a>

<link rel="stylesheet" href="../rh-cta-lightdom.css">
<script type="module">
import '@rhds/elements/rh-cta/rh-cta.js';

View the demo

When to use

  • When you need users to navigate to a different page or domain
  • When you need to arrange links in different arrangements like in a row or grid
  • When you need to hide or reveal content
© 2021-2024 Red Hat, Inc. Deploys by Netlify