xBxBoox Design Lab

Native HTML/CSS/TypeScript · isolated UI prototype

Expense review

Material 3 behavior and geometry recreated without Angular or a component framework. No login, API, or bookkeeping data is connected.

Expense

Review money out

Waiting match OCR / AI
Transaction
Date
Category
Pay from
Spent CAD
$
Tax
Tax amount CAD
$
Expense before tax$89.01
Details
Bank memo Original bank description
Note
Tags
Attachments

xBoox component catalog

Reusable mobile component reference

These examples share the Expense form’s semantic colors, typography, shape, spacing, focus, disabled, error, and positive-state rules.

Field geometry contractThe acceptance rules for every xBoox mobile field
Container
64px high, 12px radius
Leading edge
Label and value both start 16px from the outline
Value alignment
Left aligned and vertically centred
Trailing icon
20px icon, centred, 16px from the outline
Outline
1px default, 2px focus, real fieldset/legend notch
Money
Currency prefix and amount separated by 4px
Selection
Phone selection opens a modal bottom sheet
Spacing
20px desktop and 24px phone between fields
ActionsPrimary and supporting decisions
Fields and validationOne geometry system for entry and selection
Default
Focused
Error
Positive
Disabled
Select
Selection controlsTouch targets remain at least 44px
Status and feedbackBookkeeping states never rely on color alone
Cards, navigation, and overlaysCommon xBoox application structures
This month$2,481.3018 expense transactions

Theme reference

Pro semantic color roles

PrimaryActions
Primary containerSelected
SecondarySupporting
TertiaryAccent
ErrorDestructive
PositiveCompleted
SurfaceCanvas