Button

Sitecore Content SDK atom: button that triggers an action or navigates. Presentation is managed by the consumer via className; includes link configurations and keyboard/screen reader accessibility.

Get started

Installation

pnpm dlx shadcn@latest add https://content-kit.vercel.app/r/button.json

Usage

Properties

  • linkobjectRequiredControl Link

    Sitecore General Link field for the button label and optional destination.

    Shape

    • valueobjectRequired
  • classNamestringOptional

    Optional extra classes.