Components

Layout

Surface and structure components for organising content — cards, lists, and key-value detail views.

Card

Surface container for grouped content. Supports kicker, title, body, and footer slots. Lifts on hover via a CSS transition.

With slots
Refund
Home Office Deduction
You may qualify for up to PLN 3,600 annually based on your declared workspace.
Accent variant
Filing Status
Individual taxpayer · 2025

List

Grouped list of rows with optional leading, body, and trailing slots. Renders as a card-like container with dividers between rows.

Rows with leading, trailing & badge
PIT-11_2025_Acme.pdf
248 KB · Mar 12, 2026
Verified
ZUS_RCA_Q1_2026.pdf
184 KB · Jan 5, 2026
Pending

Detail

A key-value display component for presenting structured data in a styled card. Use x-pajak::detail as the outer shell and x-pajak::detail-row for each row.

Detail properties

PropTypeDefaultDescription
variantDetailVariantDefaultDefault | Compact | Grid2 | Flush
titlestring|nullnullHeader title; omit to suppress the header entirely
action-labelstring|nullnullHeader action link label (e.g. Edit)
action-hrefstring|nullnullURL for the action link

Detail row properties

PropTypeDefaultDescription
keystringRequired. Label shown in the left column
monoboolfalseRenders the value in monospace font
mutedboolfalseRenders the value in muted/italic style
copyableboolfalseAdds hover highlight; pair with x-pajak::copy-button in the slot
Default
Name Jan Kowalski
Status Active
Tax ID PL1234567890
With header and action
Taxpayer profile Edit
Full name Jan Kowalski
Tax office US Warszawa-Bemowo
Filing year 2025
Row variants (mono, muted, copyable)
Name Jan Kowalski
PESEL 90010112345
Notes No notes added
Reference PIT-2025-00184736
Compact
Employer
Company Acme Sp. z o.o.
NIP 123-456-78-90
City Warsaw
Grid-2
Personal details Edit
First name Jan
Last name Kowalski
Birth date 01 Jan 1990
Citizenship Polish
Phone +48 600 123 456
Flush (embedded in card)
Filing status
Year 2025
Form PIT-37
Submitted Not yet submitted