Componentticket-stub0.34 KB gzipZero dependencies
Wristband
Festival wristband with patterned repeating stripes, snap closure, serial and a subtle breathing animation.
Preview
Live Preview
Installation
Tokens guide →Add to your project via CLI (zero dependencies, code you own):
npx bigbullui add wristbandOr install the full npm package:
npm install bigbulluiUsage
tsx3 lines
import { Wristband } from "@/components/ui/wristband"; <Wristband text="BIGBULL 2026" variant="vip" serial="WB-0421" />Source code
wristband.tsx + 1 helperZero third-party dependencies (2 local files shown in tabs below).
tsxwristband.tsx31 lines
"use client"; import * as React from "react";import { cn } from "./lib/utils"; export interface WristbandProps extends React.HTMLAttributes<HTMLElement> { text: string; variant?: "general" | "vip" | "media";} export function Wristband({ text, variant = "general", ...props }: WristbandProps) { const variantClasses = { general: "bg-secondary text-secondary-foreground", vip: "bg-accent text-accent-foreground", media: "bg-destructive text-white", }; return (Props
Interactive Prop Playground
Tweak parsed AST props below to generate ready-to-paste JSX.
tsx3 lines
import { Wristband } from "@/components/ui/wristband"; <Wristband />| Prop | Type | Description |
|---|---|---|
| text | string | Configures text. |
| variant | "general" | "vip" | "media" | Visual style variant. (Default: "general") |