Design System
Reference for RealFlow tokens, components, and implementation guidance.
Tokens
54
Components in use
14
Tokens
Colors, typography, spacing, radii, shadows, and motion used across the product.
Color palette
Brand
primary.600
#FF7A00
primary.500
#FFA940
primary.300
#FFD08A
Neutrals
neutral.900
#1E1E1E
neutral.600
#606060
neutral.300
#C9C9C9
neutral.100
#F6F6F6
neutral.0
#FFFFFF
Semantic
success
#00B578
danger
#E84545
warning
#FFA940
info
#606060
Typography
English / Global
Inter, SF Pro Display, system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif
Japanese
Noto Sans JP, Hiragino Kaku Gothic Pro, Meiryo, system-ui, sans-serif
Chinese
HarmonyOS Sans SC, Source Han Sans CN, Noto Sans SC, system-ui, sans-serif
Type scale
Spacing scale
Radii & shadows
sm
8px
md
12px
lg
16px
xl
24px
full
9999px
sm
0 1px 2px rgba(0,0,0,0.06)
md
0 4px 12px rgba(0,0,0,0.08)
lg
0 12px 24px rgba(0,0,0,0.12)
glow_primary
0 0 0 3px rgba(255,122,0,0.15)
Motion & breakpoints
Durations
Easing
Breakpoints
Components in use
Shadcn-svelte and Bits UI primitives standardized for the CRM experience.
Button
shadcn-sveltePrimary, secondary, ghost, outline, and destructive variants with sm/default/lg/icon sizes.
Dropdown
shadcn-svelteMenu trigger with grouped actions, built on shadcn-svelte dropdown primitives.
Command Menu
shadcn-sveltePalette preview
- Dropdown /
- Toast ↵
- Dialog ↵
Palette-style search/action menu powered by Bits UI dialog + list primitives.
Sheet
Bits UISheet
Side drawer for create/edit flows with overlay, header/footer, and focus trapping.
Side drawer for create/edit flows with overlay, header/footer, and focus trapping.
Card
shadcn-svelteCard
Layered surface with rounded corners and md shadow for dashboards and detail panels.
Tokens
Colors, typography, spacing, radii, shadows, and motion used across the product.
Layered surface with rounded corners and md shadow for dashboards and detail panels.
Input
shadcn-svelteForm fields with focus ring in brand color and support for error/disabled states.
Select
Bits UIBits UI-based select with trigger/content/items for filters and form controls.
Checkbox
Bits UIShadcn checkbox with bind:checked support and accessible labels.
Dialog
Bits UIBits UI dialog with overlay, content padding, and xl radius for modal flows.
Data Table
TanStack Table| Name | Status |
|---|---|
| Maple Residences | Active |
| Harbor Suites | Review |
TanStack table integration with sorting, filtering, pagination, and empty states.
Toast
svelte-sonnerSaved! Your changes are synced.
svelte-sonner notifications for lightweight feedback.
svelte-sonner notifications for lightweight feedback.
Badge
shadcn-svelteStatus badges for semantic states: default, success, warning, destructive, outline, secondary.
Native Date/Time
Native HTMLBrowser native input, simple but limited styling control.
Native date input for simple date-only selection.
Native time input for time-only selection.
Separate date and time inputs for combined datetime.
Browser native date and time inputs with limited styling control.
Calendar & Date Picker
shadcn-svelte| Su | Mo | Tu | We | Th | Fr | Sa |
|---|---|---|---|---|---|---|
30 | 1 | 2 | 3 | 4 | 5 | 6 |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 | 1 | 2 | 3 |
Styled calendar component with Bits UI and Tailwind.
Calendar inside a popover with formatted display.
Popover calendar combined with time input.
Styled calendar and date picker components built with Bits UI and Tailwind.