Design System

Design System Demo

A comprehensive showcase of our custom color palette and component library built with Next.js, TypeScript, and Tailwind CSS.

🚀 New: B2B Registration with Multi-Tenant Authentication

API Testing

Test API Endpoints
Test the fullstack functionality by calling our API routes

Color Palette

Background Colors
bg

hsl(220 100% 100%)

bg-light

hsl(220 100% 97%)

bg-dark

hsl(220 59% 91%)

Text Colors
Aa
text

hsl(226 85% 7%)

Aa
text-muted

hsl(220 26% 31%)

Brand Colors
primary

hsl(221 49% 33%)

secondary

hsl(44 100% 14%)

Semantic Colors
success

hsl(147 19% 36%)

warning

hsl(52 23% 34%)

danger

hsl(9 21% 41%)

info

hsl(217 22% 41%)

Border Colors
border

hsl(220 19% 53%)

border-muted

hsl(220 27% 65%)

Modern Typography

Font Stack
Our modern font combination

Inter

The primary sans-serif font, optimized for UI and high readability at all sizes. Perfect for headings, body text, and interface elements.

Primary • Sans-serif • UI optimized

JetBrains Mono

A modern monospace font designed for developers, with excellent character distinction and programming ligatures.

Monospace • Code • Ligatures

Type Scale
Harmonious sizing relationships
Display
Heading 1
Heading 2
Heading 3
Subheading
Body text with optimal readability
Caption text

The Future of Design

H1 • scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl

Modern Typography Systems

H2 • scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight

Optimized for Readability

H3 • scroll-m-20 text-2xl font-semibold tracking-tight

Enhanced User Experience

H4 • scroll-m-20 text-xl font-semibold tracking-tight

This is a lead paragraph that introduces the main content. It's slightly larger and uses muted colors to create visual hierarchy while maintaining excellent readability.

Lead • text-xl text-muted-foreground

Regular body text with optimized line height and spacing. Inter font provides excellent readability at all sizes, with carefully balanced character shapes and spacing that work well for both short and long-form content.

Body • leading-7 [&:not(:first-child)]:mt-6

Large emphasized text for important callouts and highlights.

Large • text-lg font-semibold

Small text for captions, labels, and secondary information.

Small • text-sm font-medium leading-none

Inline code like npm install @shadcn/ui is displayed with our modern monospace font.

Inline Code • relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono

// Modern code block with syntax highlighting
const modernTypography = {
  fontFamily: "Inter, sans-serif",
  fontSize: "16px",
  lineHeight: "1.5",
  letterSpacing: "-0.025em"
};

Code Block • pre + bg-muted p-4 font-mono

"Typography is the craft of endowing human language with a durable visual form, and thus with an independent existence." - Robert Bringhurst

Blockquote • mt-6 border-l-2 pl-6 italic

  • Modern font stack with Inter as primary sans-serif
  • JetBrains Mono for code and technical content
  • Optimized spacing and line heights for readability
  • Enhanced font features and ligatures

List • my-6 ml-6 list-disc [>li]:mt-2

Modern Typography Features

Enhanced Readability

Optimized font sizes, line heights, and letter spacing for better reading experience.

Font Features

Contextual alternates, ligatures, and stylistic sets for professional typography.

Performance

Optimized font loading with swap display and preloading strategies.

Accessibility

High contrast ratios and clear character distinction for better accessibility.

Buttons

Button Variants
Different button styles and states
Button Sizes
Different button sizes available

Form Elements

Input Components
Form inputs with proper styling and focus states

Cards & Layout

Default Card
A standard card with header and content

This is the card content area where you can place any information or components.

Success Card
Card with success accent border

This card uses the success color for its border styling.

Warning Card
Card with warning accent border

This card uses the danger color for its border styling.

Status Messages

Success

Your changes have been saved successfully.

Information

Here's some important information you should know.

Warning

Please review your settings before proceeding.

Error

Something went wrong. Please try again.

Design System Demo • Built with Next.js, TypeScript & Tailwind CSS