Skip to content
PixiKit

Command CTA

A developer call to action: heading and buttons beside a terminal-style box with package-manager tabs, a command that types itself and re-types only what differs, and a copy button.

pixikit.com/docs/blocks/cta/command-cta

Customize

Typing
Side

Props

12
NameTypeDefaultDescription
eyebrowstring"Get started"Small label above the heading. Leave empty for none.
headingstring"Start building in one command"The heading of the section. Leave empty for none.
textstring"Install the package, import it and ship. It works with the tools you already use."The line under the heading. Leave empty for none.
commandsCommandCtaCommand[]DEFAULT_COMMANDSOne tab per command.
primaryCommandCtaLink | nullDEFAULT_PRIMARYThe main button. Null for none.
secondaryCommandCtaLink | nullDEFAULT_SECONDARYThe quiet button beside it. Null for none.
copyLabelstring"Copy"Label of the copy button.
copiedLabelstring"Copied"Label of the copy button for a moment after copying.
typingbooleantrueType the command in the first time the block enters view.
notesstring[]DEFAULT_NOTESShort points shown as a row of checks under the command.
side"left" | "right""right"Which side of the text the command sits on, in a wide container.
classNamestringNone

More calls to action blocks in Pro

View all

Related