Componentticket-stub0.53 KB gzipZero dependencies
Stamp Seal
Rotated rubber stamp badge with double dashed circular ring.
Preview
Live Preview
Installation
Tokens guide →Add to your project via CLI (zero dependencies, code you own):
npx bigbullui add stamp-sealOr install the full npm package:
npm install bigbulluiUsage
tsx3 lines
import { StampSeal } from "@/components/ui/stamp-seal"; <StampSeal text="ADMITTED" tone="accent" rotate={-8} />Source code
stamp-seal.tsx + 1 helperZero third-party dependencies (2 local files shown in tabs below).
tsxstamp-seal.tsx54 lines
import * as React from "react";import { cn } from "./lib/utils"; export interface StampSealProps extends React.HTMLAttributes<HTMLDivElement> { text?: string; subtext?: string; tone?: "accent" | "primary" | "destructive"; rotate?: number; className?: string;} export function StampSeal({ text = "ADMITTED", subtext = "OFFICIAL STUB", tone = "accent", rotate = -8, className, ...propsProps
Interactive Prop Playground
Tweak parsed AST props below to generate ready-to-paste JSX.
tsx3 lines
import { StampSeal } from "@/components/ui/stamp-seal"; <StampSeal />| Prop | Type | Description |
|---|---|---|
| text | string | Configures text. (Default: "ADMITTED") |
| subtext | string | Configures subtext. (Default: "OFFICIAL STUB") |
| tone | "accent" | "primary" | "destructive" | Semantic surface or emphasis tone. (Default: "accent") |
| rotate | number | Configures rotate. (Default: -8) |
| className | string | Optional Tailwind or custom CSS classes merged with component styles. |