A centered call to action that closes the page: heading and supporting text over a primary and a secondary action, inside a bordered box. The actions stack full width on mobile and sit in a row from the small breakpoint.
Dependencies
Interaction Type
A labelled section landmark: the heading names it for screen readers. Tab moves through the actions in reading order, each with the accent focus ring and a 44px target. Hover or focus the primary action and its arrow slides forward; reduced motion keeps it still.
Props
Options you can pass to customize this component.
titleHeading. Defaults to "Start building with Nexvyn UI".
descriptionSupporting text under the heading.
classNameMerged onto the section with cn().
primaryLabelPrimary action text. Defaults to "Browse components". Empty hides it.
primaryHrefWhere the primary action points.
primaryIconIcon after the primary label, slides forward on hover. Pass null to hide it.
secondaryLabelSecondary action text. Defaults to "Set up MCP". Empty hides it.
secondaryHrefWhere the secondary action points.
Installation
How to use
<CtaCentered
title="Ship the next screen today."
description="Accessible, typed components you own."
primaryLabel="Get started"
primaryHref="/components"
secondaryLabel="Read the docs"
secondaryHref="/docs"
/>Source Code
Click the code icon in the top-right corner to view the source code.
License & Usage
// No code loaded.Accessible, typed components you copy into your project and own. Install one, shape it with your tokens, ship it today.