Componentnavigation0.83 KB gzipZero dependencies

CtaSection

Double-frame call-to-action band with stamp-seal corner badge and stamping action button.

Preview

Live Preview
Open ↗

Installation

Tokens guide →

Add to your project via CLI (zero dependencies, code you own):

npx bigbullui add cta-section

Or install the full npm package:

npm install bigbullui

Usage

tsx3 lines
import { CtaSection } from "@/components/ui/cta-section"; <CtaSection title="Print the night" action={{ label: "Get tickets", href: "/tickets" }} />

Source code

cta-section.tsx + 1 helper

Zero third-party dependencies (2 local files shown in tabs below).

tsxcta-section.tsx73 lines
import * as React from "react";import { cn } from "./lib/utils"; export interface CtaButton {  label: string;  href: string;} export interface CtaSectionProps extends React.HTMLAttributes<HTMLElement> {  title: string;  highlight?: string;  copy?: string;  action?: CtaButton;  sealText?: string;} export function CtaSection({  title,

Props

Interactive Prop Playground

Tweak parsed AST props below to generate ready-to-paste JSX.

tsx3 lines
import { CtaSection } from "@/components/ui/cta-section"; <CtaSection />
PropTypeDescription
titlestringPrimary heading or title text.
highlightstringConfigures highlight.
copystringConfigures copy.
actionCtaButtonConfigures action.
sealTextstringConfigures seal text. (Default: "Admit One")