Componentticket-stub0.66 KB gzipZero dependencies
Luggage Tag
Baggage claim tag with handle loop and destination code.
Preview
Live Preview
Installation
Tokens guide →Add to your project via CLI (zero dependencies, code you own):
npx bigbullui add luggage-tagOr install the full npm package:
npm install bigbulluiUsage
tsx3 lines
import { LuggageTag } from "@/components/ui/luggage-tag"; <LuggageTag tagNumber="BB-920-142" destination="IST" passengerName="ADA BULL" />Source code
luggage-tag.tsx + 1 helperZero third-party dependencies (2 local files shown in tabs below).
tsxluggage-tag.tsx78 lines
import * as React from "react";import { cn } from "./lib/utils"; export interface LuggageTagProps extends React.HTMLAttributes<HTMLDivElement> { tagNumber: string; passengerName: string; destination: string; flight?: string; weight?: string; className?: string;} export function LuggageTag({ tagNumber = "BB-920-142", passengerName = "ADA BULL", destination = "IST", flight = "BB-402", weight = "23 KG",Props
Interactive Prop Playground
Tweak parsed AST props below to generate ready-to-paste JSX.
tsx3 lines
import { LuggageTag } from "@/components/ui/luggage-tag"; <LuggageTag />| Prop | Type | Description |
|---|---|---|
| tagNumber | string | Configures tag number. (Default: "BB-920-142") |
| passengerName | string | Configures passenger name. (Default: "ADA BULL") |
| destination | string | Configures destination. (Default: "IST") |
| flight | string | Configures flight. (Default: "BB-402") |
| weight | string | Configures weight. (Default: "23 KG") |
| className | string | Optional Tailwind or custom CSS classes merged with component styles. |