<Actions> Component<Actionsctas={[{title: 'View tutorials',href: '/tutorials',},{title: 'View documentation',href: '/docs',}]}/>
Light theme
Dark theme
| Name | Description |
|---|---|
appearancestring | Display actions on light or dark background. |
layoutstring | Display buttons inline or stacked by default. |
alignmentstring | Align items when stacked. |
themestring | Render primary variant button CTA with product color. |
sizestring | Determines CTA button sizing. |
ctasobject | Array of CTAs. Minimum of one, max of two. A CTA can either be rendered as a Button or a StandaloneLink via the cta.type prop.Object contains nested props, see below: |
ctas.title*string | The text that appears inside the button. |
ctas.href*string | Where the button links to when clicked. |
ctas.typestring | Render either a Button component or StandaloneLink component for the CTA. Defaults to Button. |
ctas.onClickfunction | A function that will be called when the button is clicked. |