Componentnavigation0.46 KB gzipZero dependencies
Section Heading
Theater and arena section divider banner with dashed rules and zone badges.
Preview
Live Preview
Installation
Tokens guide →Add to your project via CLI (zero dependencies, code you own):
npx bigbullui add section-headingOr install the full npm package:
npm install bigbulluiUsage
tsx3 lines
import { SectionHeading } from "@/components/ui/section-heading"; <SectionHeading title="ORCHESTRA TIER" subtitle="DOORS OPEN 19:30" badge="GATE 03" />Source code
section-heading.tsx + 1 helperZero third-party dependencies (2 local files shown in tabs below).
tsxsection-heading.tsx54 lines
"use client"; import * as React from "react";import { cn } from "./lib/utils"; export interface SectionHeadingProps extends React.HTMLAttributes<HTMLDivElement> { title: string; subtitle?: string; badge?: string; action?: React.ReactNode; className?: string;} export function SectionHeading({ title, subtitle, badge, action,Props
Interactive Prop Playground
Tweak parsed AST props below to generate ready-to-paste JSX.
tsx3 lines
import { SectionHeading } from "@/components/ui/section-heading"; <SectionHeading />| Prop | Type | Description |
|---|---|---|
| title | string | Primary heading or title text. |
| subtitle | string | Supporting secondary heading text. |
| badge | string | Configures badge. |
| action | React.ReactNode | Configures action. |
| className | string | Optional Tailwind or custom CSS classes merged with component styles. |