Components

Email

Composable Blade sub-components for building styled transactional emails. CSS-only — no JavaScript required.

Email Wrap

Root wrapper — a 600 px centred column. Place all other email components inside it.

Email Wrap

Email content goes here.

Email Header

Top bar with a blue background. Accepts a $logo named slot and an optional tag prop for a small chip label on the right.

Email Header — with tag
Confirmation
Email Header — no tag

Email Hero

Coloured hero band below the header. Background colour is set via the color prop (any CSS colour value). Supports named slots for the eyebrow label, title, and a default slot for the subtitle.

Email Hero — default
Getting started
Welcome to ACME.
Your account is ready. Here's what to do next.
Email Hero — custom colors
Submitted successfully
Your return is on its way.
Keep this confirmation for your records.
26 days remaining
Don't miss the deadline.
Your draft is saved — just a few minutes to complete.

Email Body

White content area. All body content — salutation, paragraphs, infocards, alerts, CTAs — goes inside this component. Salutation and paragraph text are written directly as HTML rather than via a dedicated component, giving full control over font sizes, weights, and spacing.

Email Body

Hi Jan,

Thank you for creating your account. We're here every step of the way.

Email Infocard

A rounded key–value detail card, typically used to summarise submission details, draft status, or document metadata. Each row is an x-pajak::email-infocard-row.

Email Infocard
Submission details
Confirmation number REF-2025-08412
Return type PIT-37
Tax year 2025
Net result Refund: 1 240,00 PLN

Email Alert

A contextual alert strip. The type prop drives the icon and colour scheme. Use the $title slot for the bold heading and the default slot for the message body.

Email Alert
Secure access
Your document is protected by your account login.
Refund processing time
Your refund is typically processed within 45 days of submission.
Late filing penalty
Submitting after the deadline may result in a significant penalty.
Action required
Your submission was rejected. Please correct the highlighted fields and resubmit.

Email CTA

A centred call-to-action link button. Use the secondary prop for an outline variant. Multiple CTAs can be placed side-by-side by wrapping them in a flex container.

Email CTA — primary
Email CTA — custom color, secondary & side-by-side

Email Steps

A vertical numbered step list. Each x-pajak::email-step renders a numbered (or done-check) bubble alongside a title and optional description.

Email Steps
Profile completed
Your personal details are saved.
2
Import your PIT-11
Upload your employer's statement.
3
Review and submit
Most returns take under 10 minutes.

Email Divider

A thin horizontal rule for separating content sections. No props or slots.

Email Divider

Content above the divider.


Content below the divider.

Email Note

A small muted footnote paragraph — typically placed after a divider for legal, support, or reference copy. Plain links (<a> tags) inside the slot are styled automatically.

Email Note

Save or print this email as your proof of submission. The confirmation number above is your official reference.

Questions? Contact us at [email protected].

Full template

A complete welcome email composed from all sub-components — header, hero, body, infocard, steps, alert, CTA, divider, note, and footer.

Full template
Welcome
Getting started
Welcome — your account is ready.
Here's what to do next to get up and running.

Hi Jan,

Thank you for creating your account. We're here every step of the way.

Account details
Account number ACC-2025-00142
Plan Professional
Billing cycle Monthly
Status Active
1
Complete your profile
Add your details so we can pre-fill your information.
2
Import your documents
Upload or connect your account for automatic import.
3
Review and submit
We'll check everything before you confirm.
Secure access
Your account is protected. Never share your login credentials with anyone.

Questions? Our support team is available Monday–Friday, 9:00–18:00.