AngularNot implemented yet · data display wave· package preview
SwiftUIComposition
Jetpack ComposeComposition
FlutterComposition
›Verification details
What automated tests prove about each implementation — separate from whether the package itself is a finished product. Derived from the test files; how the levels are earned.
The foundation for anything a person carries and presents — a boarding pass, a ticket, a parking permit, a voucher, a membership card — with fields, a tear line and a supplied scannable code.
Reduced motion: off · your browser setting
Boarding pass
Lisbon (LIS) to Amsterdam (AMS)
On time
Passenger
Sam Rivera
Flight
KX 1824
Boards
Gate
B12
Seat
14C
Group
2
K7Q2XP
The gate closes 20 minutes before departure.
A boarding pass, an event ticket and a parking permit are the same anatomy with different words, so they are
compositions of one component rather than components with "flight" in their props.
Reduced motion: off · your browser setting
Northern Lights Live
Harbour Arena · General admission
Doors
Entrance
C
0742 1189 2201
Parking permit
Riverside Garage, level 2
Active
Plate
KX 24 RTL
Bay
2-117
Valid until
Show this permit if asked. It is not transferable.
import { PassCard, PassCardHeader, PassCardTitle, PassCardDescription, PassCardFields, PassCardField, PassCardDivider, PassCardCode, PassCardFooter,} from "@kinetixui/ui";<PassCard> <PassCardHeader> <PassCardTitle>Parking permit</PassCardTitle> <PassCardDescription>North campus</PassCardDescription> </PassCardHeader> <PassCardFields> <PassCardField label="Bay" emphasis>C-14</PassCardField> <PassCardField label="Valid until"><time dateTime="2026-12-31">31 Dec 2026</time></PassCardField> </PassCardFields> <PassCardDivider /> <PassCardCode label="Permit QR code" value="PRK-2026-C14"> <img src={qrCodeFromYourServer} alt="" /> </PassCardCode> <PassCardFooter>Display on the dashboard.</PassCardFooter></PassCard>
PassCard does not generate codes. Pass the barcode or QR code your product or the issuer generated, as an <img>
or <svg>, with its own light background: a scanner needs dark modules on a light quiet zone, so the component
never inverts it for dark mode. Validity and status are fields and tags your product decides.
An <article> named by its title, so a list of passes reads as a list of named items. An explicit aria-label is
left alone.
Fields are a <dl>. Use <time dateTime> for dates and times. The grid falls to fewer columns at 200% text or on a
phone instead of truncating a gate or a plate number.
The tear line is a real <hr>.
The code is a <figure>: the visual is an image named by label, and the caption is the readable value for when
the code will not scan.
React API
The props of @kinetixui/ui, generated from its TypeScript. Props inherited from the underlying DOM element (className, id, event handlers) are accepted too and are not listed.
This table is React-specific. The SwiftUI, Jetpack Compose, Flutter and Angular implementations share the design contract — the same variants, sizes, states and tokens — but each exposes its own idiomatic interface. Their real usage is in the platform tabs on the example above, not here.
PassCardTitle
PassCardTitle props
Prop
Type
Notes
level
HeadingLevelDefault 3 — a pass is usually one item inside a page or a list.
Default 3 — a pass is usually one item inside a page or a list.
PassCardField
PassCardField props
Prop
Type
Notes
labelrequired
React.ReactNode
childrenrequired
React.ReactNodeUse `<time dateTime>` for dates and times so they are machine-readable.
Use `<time dateTime>` for dates and times so they are machine-readable.
emphasis
booleanFor the one or two values a person looks for first — a gate, a seat, a bay.
For the one or two values a person looks for first — a gate, a seat, a bay.
PassCardCode
PassCardCode props
Prop
Type
Notes
labelrequired
stringWhat the code is, for people who cannot see it — "Boarding pass QR code".
What the code is, for people who cannot see it — "Boarding pass QR code".
childrenrequired
React.ReactNodeThe barcode or QR code, generated elsewhere and passed in as an `<img>` or `<svg>`.
The barcode or QR code, generated elsewhere and passed in as an `<img>` or `<svg>`.
value
React.ReactNodeThe human-readable value printed under the code, for when it will not scan. A string or a `<ReferenceCode>`.
The human-readable value printed under the code, for when it will not scan. A string or a `<ReferenceCode>`.