<Intro>
Component<Introeyebrow="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',url: '/tutorials',variant: 'primary'},{title: 'View documentation',url: '/docs',variant: 'tertiary-neutral'}]}}/>
Light theme
Dark theme
Name | Description |
---|---|
appearance string | Display intro on light or dark backgrounds. |
textAlignment string | Controls the text alignment rendering. |
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. |
headingSize number | Controls the size at which the heading is rendered. |
description* string | Text following the heading element. |
actions object | Object contains nested props, see below: |
actions.layout string | Display buttons inline or stacked by default. |
actions.brand string | Render primary variant button with product color. |
actions.size string | Determines CTA button sizing. |
actions.ctas object | Array of CTAs. Minimum of one, max of two. Object contains nested props, see below: |
actions.ctas.title* string | The text that appears inside the button. |
actions.ctas.url string | Where the button links to when clicked. |
actions.ctas.onClick function | A function that will be called when the button is clicked. |
actions.ctas.variant string | Applies a styling to the button based on the desired hierarchy. |