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

text/primary
#0f172a
text/muted
#64748b
bg/base
#ffffff
bg/elev
#f8fafc
border/subtle
#e2e8f0
accent/info
#3d74b6
accent/warn
#db6a1f
accent/success
#059669
Inter400–800

The quick brown fox jumps over the lazy dog

Noto Sans Thai400–700

เรียนรู้ สร้างสรรค์ และทำงานได้อย่างมีประสิทธิภาพ

JetBrains Mono400–600

const welcome = () => "hi"

Display
Hero headline
H1
Page title
H2
Section title
H3
Card title
Body-lg
Intro / lede
Body
Article body
Body-sm
Secondary copy / descriptions
Caption
Labels and eyebrows
Mono
Code / tokens / keyboard

Spacing scale (px)

2
4
6
8
12
16
20
24
32
40
48
64

Radius

sm · 4px
md · 6px
lg · 8px
xl · 12px
2xl · 16px
full · 999px

Elevation

sm
md
lg
xl
brand

Surfaces

surface/card
Default card, subtle 1px border, no elevation.
surface/elevated
Lifted — used on hover and for modals.
surface/page
The app background — soft blue + orange gradients, noise overlay.
search
arrow-right
rocket
sun
moon
rss
wrench
pencil
tag
clipboard
calendar
eye
code
palette
key
braces
qr
globe
menu
sparkles
github
motion/fast150ms
ease-out · hover states, toggles
motion/base250ms
ease-out · modals, nav, cards
motion/slow400ms
ease-out · page transitions, heroes

Text input

0 chars
required

Preferred for hex, tokens, IDs, cron expressions

Textarea

0 chars
font-mono

Select

Checkbox & Switch

Chip selector

M

<AppChip> · Used for: QR size/ECC, Regex flags, BCrypt rounds, UUID version, Lorem content type

Number input

0-59
watts
step 0.1

Used for: Cron fields, Electricity watts/hours, Printer minutes, Bcrypt rounds

Grouped input (prefix / suffix)

/gm
//gm

<AppGroupedInput> · Used for: Regex pattern `/…/gm`, and any token input that needs inline delimiters

Coordinate input box

xyz
X
Y
Z

<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

#3B82F6

<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

128 chars
  • • Label — `text-sm font-semibold`
  • • Hint — `font-mono text-[11px] text-gray-400`
  • • Baseline-aligned, `mb-2` gap to input

Copyright © 2026 | IAMTHANA.com