SmartBI Design System

Corporate Style Guide & Component Library — v1.0

The complete reference for SmartBI's design tokens, visual language, and reusable component patterns. Built for business-user-facing BI — prioritising clarity over complexity, and AI-first interaction over manual configuration.

Tailwind CSS v3
animation GSAP 3.12
font_download Outfit + Inter
widgets Material Symbols
infoOverview

Design Philosophy

The principles that drive every decision in this system.

auto_awesome

AI-First Interaction

Natural language replaces complex UI. Business users ask questions — the system responds with visual answers.

visibility

Clarity Over Complexity

No raw SQL. No join syntax. Technical concepts are hidden; BI Brain translates intent into data visualisations.

compress

High-Density Precision

Compact type scales, tight spacing, and crisp borders that pack maximum information into a premium, uncluttered layout.

paletteColor Tokens

Color System

All colors are registered as Tailwind theme tokens. Use them via class names like text-primary or bg-success-container.

Brand & Semantic

#7C3BED

Primary

primary

#F3E8FF

Primary Container

primary-container

#10B981

Success

success

#EF4444

Error / Danger

error

#FFFFFF

Surface

surface

#FAFBFC

Background

bg-[#fafbfc]

#0F172A

Text Primary

on-surface

Gradient

Aura Glow

Page top blur effect

CSS Custom Properties

Variable Value Usage
--primary#7c3bedButtons, active states, focus rings
--primary-hover#6d28d9Button hover darkening
--primary-container#f3e8ffActive nav, chip backgrounds
--success#10b981Positive trends, live badges
--danger#ef4444Error states, negative trends
--outline#e2e8f0Card borders, dividers
--text-primary#0f172aBody copy, headings
--text-secondary#64748bLabels, metadata, descriptions
format_sizeTypography

Type Scale

Two font families: Outfit for display/headings, Inter for body copy. Both sourced from Google Fonts via global.css.

Display / H1

Outfit · 24px · 800

BI Brain

Headline / H2

Outfit · 18px · 700

Key Metrics

Section Title / H3

Outfit · 14px · 600

Quarterly Revenue Trajectory

Card Label

Inter · 9.5px · 700 · ALL CAPS

Revenue

Body Large

Inter · 13px · 400

Type your request: I'll search, answer, or build it for you.

Body Medium

Inter · 11px · 400

AI-curated business insights for your role and workspace.

Caption / Meta

Inter · 9px–9.5px · 400

BI Brain can make mistakes. Verify important financial details.

Metric Value

Outfit · 18px · 700

$124,523

space_barSpacing & Radius

Spacing & Border Radius

All spacing follows Tailwind's 4px base unit. Border radii are consistent across component hierarchy levels.

Border Radius

rounded-md 6px

Search bar, small filter chips

rounded-lg 8px

Nav items, buttons, icon containers

rounded-xl 12px

Cards, metric panels, popover menus

rounded-2xl 16px

Login card, modal dialogs

rounded-full 9999px

Status dots, avatar circles, pill badges

Key Spacing Values

Component padding (cards) p-4 · 16px
Nav item padding py-1.5 px-3
Grid gap (metrics) gap-4 · 16px
Section spacing mt-6 · 24px
Page horizontal padding px-8 · 32px
Sidebar width w-56 · 224px
Top bar height h-13 · 52px
layersElevation

Elevation & Depth

Three elevation tiers, plus glassmorphism for floating surfaces like the top bar.

Level 0

border only

Page background cards

Level 1

shadow-sm

Standard metric & content cards

Level 2

shadow-md

Popovers, dropdowns, modals

Glassmorphism

.glass-panel

Sticky top bar, floating headers

smart_buttonButtons & Chips

Interactive Controls

All interactive controls use active:scale-[0.98] for tactile press feedback.

Primary Buttons

Secondary / Ghost Buttons

Chips, Pills & Status Badges

Active Chip trending_up +12.5% trending_down -0.4% Connected Auth Timeout Static Source Admin Only

Filter Chips (Active)

Source: Social
Region: Europe
dashboardCards & Metrics

Card Components

The core visual unit of the dashboard. All cards use bg-white · rounded-xl · border border-outline · shadow-sm.

payments
trending_up +12.5%

Revenue

$124,523

info

On track to beat Q2 target by 8%

history

15 mins ago

Last Sync Completed

database

production_db

PostgreSQL Database

Connected
Syncs every 1 hour · 42 tables indexed
text_fieldsForms & Inputs

Form Controls

All inputs use focus-within:ring-2 focus-within:ring-primary/20 focus-within:border-primary for consistent focus styling.

dns
lock
search
auto_awesomeAI Input

BI Brain Input Component

The signature component. An animated gradient border wraps a white card. Used on Dashboard (collapsed) and Insights (full-page).

Full AI Brain Input

Suggestion / Inspiration Cards

query_stats
"How did we do last month?"
online_prediction
"Predict next quarter's revenue"
bar_chartCharts

Chart Patterns

CSS + GSAP animated charts. No chart library dependency. Bars animate on scroll via ScrollTrigger.

Bar Chart Pattern

Used for Quarterly Revenue Trajectory on Dashboard.

Peak
Q1 Q2 Q3 Q4 Q1P Q2P

Progress & Usage Bars

AI Queries Used 25 / 100
Active Query Cost $14.20 / $50.00
Sync Health Healthy
notificationsToasts & Badges

Feedback & Notifications

Toast notifications appear top-right, fade in/out with GSAP. Status badges appear inline on sync history rows.

Toast Notifications

check_circle Widget pinned to Financials.
sync Sync triggered successfully.
error Connection test failed.

Sync History Status Badges

Today, 05:40 AM Success
June 7, 01:10 PM Auth Timeout
June 6, 04:12 PM Skipped

© 2026 SmartBI Technologies. Design System v1.0