Componentticket-stub0.66 KB gzipZero dependencies

Luggage Tag

Baggage claim tag with handle loop and destination code.

Preview

Live Preview
Open ↗

Installation

Tokens guide →

Add to your project via CLI (zero dependencies, code you own):

npx bigbullui add luggage-tag

Or install the full npm package:

npm install bigbullui

Usage

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 helper

Zero 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 />
PropTypeDescription
tagNumberstringConfigures tag number. (Default: "BB-920-142")
passengerNamestringConfigures passenger name. (Default: "ADA BULL")
destinationstringConfigures destination. (Default: "IST")
flightstringConfigures flight. (Default: "BB-402")
weightstringConfigures weight. (Default: "23 KG")
classNamestringOptional Tailwind or custom CSS classes merged with component styles.