Chapter 1
What PixiFormUI is (and when to use it)
PixiFormUI draws every control (text fields, checkboxes, dropdowns, buttons) on a <canvas>, the way a Flutter
web app does. Field values live in JavaScript memory you control, never in the page DOM.
Reach for it when:
- You handle sensitive input (credentials, payment or health data, recovery codes) and want to shrink what browser extensions, DOM scrapers, session-replay tools and injected scripts can read.
- You need pixel-identical, brand-specific UI across browsers and devices.
- You want forms that work everywhere a
<canvas>does, including many forms on one page, without WebGL.
Prefer native HTML forms when SEO, browser autofill/password managers, or full screen-reader document navigation matter more than the protections above (see §18 and §16).
What's in the box
| Area | Contents |
|---|---|
| Controls | TextInput, TextArea, PasswordInput, OtpInput, DatePicker (calendar + optional time), PhoneInput (country code), Checkbox, Switch, RadioGroup, Select, Slider, Button, each with an optional ⓘ info tooltip |
| Form | Validation, autovalidate modes, bot heuristics, rate limiting, double-submit lock, idle wipe of secrets |
| Layout and widgets | Column, Row, ScrollView, Label, StrengthMeter, Toast, PrivacyScreen |
| Security | SecureBuffer, Secret, sanitiser, formatters, secureSubmit, PFE1 encryption |
| Shared rules | One declarative rule file enforced by both browser and server |
| Server | Zero-dependency Node server: sessions, CSRF, CSP, rate limits, PFE1 decryption, scrypt hashing |
| Decryptors | Node, Python, Go, C#, Ruby, PHP, Java |