Componentticket-stub0.5 KB gzipZero dependencies
BackstagePass
Laminated ALL ACCESS pass with lanyard hole, rotated stripe strip, shine sweep on hover and fake barcode.
Preview
Live Preview
Installation
Tokens guide →Add to your project via CLI (zero dependencies, code you own):
npx bigbullui add backstage-passOr install the full npm package:
npm install bigbulluiUsage
tsx3 lines
import { BackstagePass } from "@/components/ui/backstage-pass"; <BackstagePass holderName="VIP MEMBER" zone="PIT" />Source code
backstage-pass.tsx + 1 helperZero third-party dependencies (2 local files shown in tabs below).
tsxbackstage-pass.tsx44 lines
"use client"; import * as React from "react";import { cn } from "./lib/utils"; export interface BackstagePassProps extends React.HTMLAttributes<HTMLElement> { holderName?: string; className?: string;} export function BackstagePass({ holderName, className, ...props }: BackstagePassProps) { return ( <div className={cn( "relative size-56 rounded-lg border border-border bg-card p-6 motion-reduce:transition-none", "group", className )} {...props}Props
Interactive Prop Playground
Tweak parsed AST props below to generate ready-to-paste JSX.
tsx3 lines
import { BackstagePass } from "@/components/ui/backstage-pass"; <BackstagePass />| Prop | Type | Description |
|---|---|---|
| holderName | string | Configures holder name. |
| className | string | Optional Tailwind or custom CSS classes merged with component styles. |