Skip to main content Red Hat Design System logo Contribute on Github

Call to action

Overview Style Guidelines Code Accessibility

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)

Status

What do these mean?
Figma library:
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 href="#">Call to Action</rh-cta>

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

Full screen 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
RH Elements Ready Component is available in the RH Elements repo
WebRH Ready Component is available in the WebRH repo
© 2021-2024 Red Hat, Inc. Deploys by Netlify