<Intro> Component

Share
Code Editor
<Intro
eyebrow="Volutpat enim fusce tempor"
heading="Sit et bibendum adipiscing non mi tempor neque"
description="Cras ullamcorper duis nunc velit commodo etiam. Auctor tincidunt pellentesque ullamcorper nisi integer. Mattis quisque porta vel euismod velit id. Arcu bibendum neque adipiscing et cras facilisi."
actions={{
ctas: [
{
title: 'View tutorials',
href: '/tutorials',
},
{
title: 'View documentation',
href: '/docs',
type: 'standalone-link'
}
]
}}
/>

Examples

Light theme

Volutpat enim fusce tempor

Sit et bibendum adipiscing non mi tempor neque

Cras ullamcorper duis nunc velit commodo etiam. Auctor tincidunt pellentesque ullamcorper nisi integer. Mattis quisque porta vel euismod velit id. Arcu bibendum neque adipiscing et cras facilisi.

Dark theme

Volutpat enim fusce tempor

Sit et bibendum adipiscing non mi tempor neque

Cras ullamcorper duis nunc velit commodo etiam. Auctor tincidunt pellentesque ullamcorper nisi integer. Mattis quisque porta vel euismod velit id. Arcu bibendum neque adipiscing et cras facilisi.

Props

NameDescription
appearance
string
Display intro on light or dark backgrounds.
Options: "light", "dark"
textAlignment
string
Controls the text alignment rendering.
Options: "left", "center"
eyebrow
string
Optional text displayed above the heading.
heading*
string
Text displayed within the heading element.
headingElement
string
Controls which element the heading renders as.
Options: "h1", "h2", "h3", "h4"
headingSize
number
Controls the size at which the heading is rendered.
Options: 1, 2, 3
description*
string|React.ReactNode
Text following the heading element.
actions
object
Object contains nested props, see below:
actions.layout
string
Display buttons inline or stacked by default.
Options: "inline", "stacked"
actions.theme
string
Render primary variant button with product color.
Options: "hashicorp", "nomad", "consul", "terraform", "vault", "packer", "vagrant", "waypoint", "boundary"
actions.size
string
Determines CTA button sizing.
Options: "small", "medium"
actions.ctas
object
Array of CTAs. Minimum of one, max of two. See props for the Actions CTAs here