Reference
IAMTHANA Design System
Tokens, scales, and primitives that compose the IAMTHANA interface — used as the single source of truth for color, type, spacing, and motion.
Semantic tokens
The quick brown fox jumps over the lazy dog
เรียนรู้ สร้างสรรค์ และทำงานได้อย่างมีประสิทธิภาพ
const welcome = () => "hi"
Spacing scale (px)
Radius
Elevation
Surfaces
Text input
Preferred for hex, tokens, IDs, cron expressions
Textarea
Select
Checkbox & Switch
Chip selector
<AppChip> · Used for: QR size/ECC, Regex flags, BCrypt rounds, UUID version, Lorem content type
Number input
Used for: Cron fields, Electricity watts/hours, Printer minutes, Bcrypt rounds
Grouped input (prefix / suffix)
<AppGroupedInput> · Used for: Regex pattern `/…/gm`, and any token input that needs inline delimiters
Coordinate input box
<AppCoordInput> · Used for: Nether portal coordinates, grid inputs, triple-value entry
Styled checkbox (brand fill)
<AppCheckbox> · Used for: Password charset list — prefer over UCheckbox when you need a denser mono-aligned list
Color picker
<AppColorPicker> · Used for: Color Palette base color, QR code foreground / background
File upload
<AppFileUpload> · Used for: QR code logo overlay, banner image upload
Field label anatomy
- • Label — `text-sm font-semibold`
- • Hint — `font-mono text-[11px] text-gray-400`
- • Baseline-aligned, `mb-2` gap to input
