One identity. Clear rules.
A shared visual language, usable components and clear rules for a consistent experience across HPOS products.
Typography & numerals
Changa
Aa أبجد
0123456789
Foundations
Typography & numerals
Run your business clearly.
0123456789 · Aa
Color & roles
Spacing & corners
4 · 8 · 12 · 16 · 24 · 32 · 48
Base unit 4, rhythm 8, corners 8/12/16. Controls at least 44px; touch targets 48px.Official logo family
Use official assets without redrawing or stretching. Clear space is a quarter of mark height; minimum mark size 24px. Use reverse artwork on navy.
Changa for Arabic, English and numerals, including charts and editors. The logo remains outlined artwork.
One outline icon family, 20/24px, stroke 1.75–2. An icon or color cannot be the only label or status. Mirror directional arrows only; isolate identifiers.
Shared sizing and interface density
Web interfaces use compact geometry for desktop mouse input, comfortable geometry at intermediate sizes, and touch geometry for phones and cashiers. Fields can grow and text can scale; editorial headings and printed documents retain their functional sizing.
| Element | Compact · desktop | Comfortable | Touch · cashier |
|---|---|---|---|
| Minimum field and button height | 36px | 44px | 48px |
| Minimum small action height | 30px | 36px | 48px |
| Card padding | 12px | 14px | 14px |
| Minimum card header height | 40px | 44px | 48px |
| Field group spacing | 10px | 12px | 12px |
| Table cell vertical padding per side | 6px | 8px | 8px |
| Field text | 14px | 14px | 16px |
Operational text 14px, reading text 16px, operational page titles 24px, section titles 16px. Phone fields use at least 16px text and 44px controls; touch and cashier controls use 48px. Geometry defines minimums, not fixed heights.
Download sizing contractComponents
Fields & validation
Visible labels, associated help and actionable errors with values preserved. A placeholder never replaces a label.
Choices & files
Data & tables
A count is not money. Give each value a type and unit; use tabular numerals and direction isolation. The server calculates financial totals using decimal precision.
| Order ID | Customer | Status | ||
|---|---|---|---|---|
| 000042 | Al Noor store | 1,250.50 SAR | Paid | |
| 000043 | Horizon company | 480.00 SAR | Pending | |
| 000044 | Al Bayan books | 2,160.75 SAR | Paid |
Results: 3
Weekly sales
Chart fonts and colors belong to the identity, but labels and values are essential. Provide a readable data alternative; never rely on line color alone.
Chart data in text
- Sunday
- 120 SAR
- Monday
- 180 SAR
- Tuesday
- 140 SAR
- Wednesday
- 220 SAR
States & feedback
Explain what happened and the next action. Do not hide important errors in a toast or announce success before server confirmation.
No orders yet
Orders will appear here when added.
Loading data
Connection unavailable. Show sync state and pending item count. Do not guarantee payment or sync completion before verification.
Dialogs & menus
Describe the action in the title. Keep focus inside the dialog and return it to the trigger. Escape closes the example. Actual deletion requires server permission and confirmation.
Essential help stays visible. A tooltip is supplemental, available to keyboard and touch, and never replaces a button name.
Product patterns
Delegated access
A separate bar above the business header preserves user tools. Entry and exit are audited and permission checked on the server.
Business add-ons
Each switch needs a label, explanation and state. Explain dependencies before saving; lock required dependencies with a reason. Hiding a menu does not replace route and server authorization.
Preview switches only; subscriptions and permissions do not change.Settings: task-based groups, clear headings, short descriptions and save actions near the form. A sticky action bar must not obscure content.
Editor: Changa in the canvas, toolbar, menus and dialogs; complete translations, content direction and 44px controls. Inspect the library DOM rather than relying on page font inheritance.
POS: separate search, products, basket and payment. Keep totals visible, state currency and payment status, and confirm sensitive operations. Support keyboard and touch.
Sign-in and registration: one clear interface and short steps. Skipping optional details never bypasses credentials or required consent. Allow scrolling when text is enlarged.
Documents & print
Interface branding does not replace the business logo on its documents. State currency, tax, date and a string identifier. Do not depend on background colors in print.
Receipt preview
000042 · 2026-11-06
Paid
A4: 12mm margins, repeated table headers, page numbers and no split rows.
Email: safe fallback fonts, readable text content and descriptive links. Sender branding follows business settings.
Platforms & accessibility
Roles and colors are shared; interaction adapts to each platform. These are references, not proof that existing apps have migrated.
Responsive web
From 320px: wrap headings, scroll tables internally, use 16px inputs. Never fix the height of translated content.
Flutter, Android & iOS
An opt-in Dart contract is supplied. Map Arabic, Latin and numerals to Changa; test 200% text scaling and 48px touch targets.
Windows
Style both the app and native toolbar where possible. Test 100/150/200% DPI and keyboard use; a WebView does not cover the native toolbar.
Text contrast 4.5:1; control boundaries and focus 3:1. Visible focus, semantic headings, named fields and text/icon states. Test RTL, mixed direction and 200% zoom.
Use 120–240ms motion for feedback only. Respect reduced motion by removing unnecessary transitions; avoid autoplay and flashes.
Adoption & resources
Start with shared components and adopt one screen at a time. Avoid broad CSS overrides across different libraries. Document each adapter and test its states before approving a page.
- Guide, tokens & opt-in primitivesReference ready
- Platform admin & shared formsNot yet adopted
- Tables, analytics & editorsNot yet adopted
- Public pages & documentsNot yet adopted
- Flutter, Windows & device verificationNot yet adopted
Implementation resources
Start with an opt-in scope
Load tokens.css and components.css once, then add hpos-v5 to an independent scope. Do not nest the new scope in a legacy component without checking conflicts.
<section class="hpos-v5">
<x-design-system.button>
Save changes
</x-design-system.button>
</section>
Coverage registry · 62
| Element family | Available in this release |
|---|---|
| Logo & lockups | Documented rules |
| Color & states | Generated tokens |
| Typography & numerals | Generated tokens |
| Spacing & layout | Generated tokens |
| Icons & imagery | Documented rules |
| Buttons & action links | Opt-in Blade component |
| Fields & validation | Opt-in Blade component |
| Choices & switches | Interactive example |
| File upload | Interactive example |
| Date & time | Interactive example |
| Cards & sections | Opt-in Blade component |
| Status badges | Opt-in Blade component |
| Tabs | Interactive example |
| Steps & skipping | Interactive example |
| Breadcrumbs | Interactive example |
| Side navigation | Documented rules |
| Pagination | Interactive example |
| Search & commands | Interactive example |
| Tables & sorting | Interactive example |
| Bulk selection | Interactive example |
| Currencies, quantities & IDs | Tested formatter |
| Charts & metrics | Interactive example |
| Inline notices | Opt-in Blade component |
| Toasts | Interactive example |
| Empty states | Interactive example |
| Loading & progress | Interactive example |
| Offline continuity | Documented rules |
| Dialogs & confirmation | Interactive example |
| Drawers | Interactive example |
| Disclosure menus | Interactive example |
| Tooltips & help | Documented rules |
| Rich text editor | Documented rules |
| Platform admin & settings | Documented rules |
| Delegated business access | Interactive example |
| Add-ons & dependencies | Interactive example |
| Point of sale | Documented rules |
| Sign-in & onboarding | Documented rules |
| Thermal receipts | Interactive example |
| A4 documents | Documented rules |
| Email & communication | Documented rules |
| Responsive web | Reference |
| Flutter app | Inactive adapter |
| Windows app | Documented rules |
| Accessibility & direction | Documented rules |
| Motion & reduced motion | Generated tokens |
| Adoption & verification | Documented rules |
| Combobox & multiselect Visible label, loading/results/empty states, arrows/Enter/Escape and named remove actions. Keep popup menus outside clipping containers. | Documented rules |
| Calendar & date range State start/end and timezone when relevant, with a validated text-input alternative. Never require dragging to select a range. | Documented rules |
| Sliders & number steppers Show value, bounds and unit. Provide direct input and named controls, keyboard support and clear minimum/maximum states. | Documented rules |
| Avatars & media Fixed aspect ratio, initials fallback and neutral background. Meaningful alt text; decorative images do not repeat adjacent names. | Documented rules |
| Lists & item cards Stable name/description/status/action order. Avoid a whole-card link when the card contains nested buttons or form controls. | Documented rules |
| Trees & categories Expose hierarchy, expansion and selection, with a simpler list alternative. Test long names and text scaling; category cards must grow. | Documented rules |
| Audit log & timeline Name the actor, action and business-timezone timestamp. Exclude secrets and sensitive data; marker color cannot replace an action label. | Documented rules |
| Toolbars & action groups Group by task and priority. Move secondary actions to a disclosure on phones, retaining full accessible names and touch targets. | Documented rules |
| Segmented choices & filters Use radio semantics for values and tabs for content panels. Show filter count and a clear-all action; selected is distinct from disabled. | Documented rules |
| Keyboard shortcuts Document shortcuts by their actions. Do not intercept field typing or browser shortcuts; keep every task available through visible controls. | Documented rules |
| Drag, drop & reorder Offer move-up/down without dragging and announce the new position. Keep a file-picker alternative; validate uploads on the server. | Documented rules |
| Barcode, scanning & camera Explain scan context, allow camera permission refusal and provide manual entry. Preserve barcode zeroes; show unreadable/unknown-product states. | Documented rules |
| Addresses & maps Provide an accessible text address alongside maps. Request location only when needed; permission denial or missing location must not block unrelated work. | Documented rules |
| Permissions & access State role scope and change impact before saving. Explain disabled access without leaking data; authorize every action on the server. | Documented rules |
| Notification inbox Expose read state, time and priority in text with a contextual action. Important events need a persistent record beyond temporary toasts. | Documented rules |
| Paging & incremental loading Show range, total, loading and retry states. Preserve filters and focus when paging; provide a clear alternative to infinite scrolling. | Documented rules |