Overview

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)
Figma library
Ready
Responsive
Ready
RH Elements
Ready
webRH
Ready

Sample element

Primary

Demo

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

<rh-cta>
<a href="#">Call to Action</a>
</rh-cta>


<script type="module">
import '@rhds/elements/rh-cta/rh-cta.js';
</script>

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
Property Status Meaning
Figma library Ready Component is available in the Figma library
Responsive Ready Component responds to changing viewport sizes in Figma and the browser
RH Elements Ready Component is available as a web component
webRH Ready Component is available as a web component
© 2021-2024 Red Hat, Inc. Deploys by Netlify