TicketBot Design System
A comprehensive component library and design system for the TicketBot Discord bot dashboard. Built with Next.js 16, Tailwind CSS 4, and TypeScript 5.
Color Palette
All color combinations meet WCAG AA standards with ≥4.5:1 contrast ratio
Primary Brand Colors
TicketBot Blue/Purple - Main brand colors for CTAs and highlights
Primary Blue
#3B82F6
Primary CTAs, main actions (WCAG AAA compliant: 7.8:1 contrast)
bg-blue-600Primary Purple
#9333EA
Secondary CTAs, premium features
bg-purple-600Primary Dark Blue
#1E40AF
Hover states for buttons, dark accents
bg-blue-800Background Colors
Dark theme - Professional, reduces eye strain
Background
#030712
Page background
bg-gray-950Background Secondary
#111827
Cards, panels, sections
bg-gray-900Surface
#1F2937
Interactive elements
bg-gray-800Surface Hover
#374151
Hover states
bg-gray-700Semantic Colors
Status indicators and feedback colors
Success
#10B981
Success states, online status
bg-emerald-500Warning
#F59E0B
Warnings, important notices
bg-amber-500Error
#EF4444
Errors, failed states
bg-red-500Info
#06B6D4
Information, helpful tips
bg-cyan-500Text Colors
Hierarchy for readability on dark backgrounds
Text Primary
#F9FAFB
Main headings
text-gray-50Text Secondary
#E5E7EB
Body text
text-gray-200Text Muted
#9CA3AF
Secondary text, labels
text-gray-400Text Disabled
#6B7280
Disabled text, placeholders
text-gray-500✓ WCAG AA Compliance - All Contrast Ratios
Button Colors (White Text):
Background Colors (Text on Dark):
// Using colors in Tailwind - WCAG AA Compliant
<button className="bg-blue-600 hover:bg-blue-700 text-white">
Create Ticket
</button>
<div className="bg-gray-900 text-gray-200">
Content
</div>Typography System
System font stack • Optimized for readability and accessibility
Display Typography
Hero Gradient Heading
DISCORD TICKET SYSTEM
Large Headline with Blue Glow
Manage Your Support Tickets
Large Headline with Purple Glow
Elite Support Experience
Blue to Purple Gradient
Build Your Support Hub
3-Color Brand Gradient
Fast • Reliable • Professional
Heading Hierarchy
H1 - Page Title (36px → 60px)
Dashboard Overview
H2 - Section Title (30px → 48px)
Ticket Management
H3 - Subsection Title (24px → 36px)
Support Features
H4 - Card Title (20px → 24px)
Open Tickets
H5 - Component Title (18px → 20px)
Ticket Details
H6 - Label/Eyebrow (14px, uppercase)
High Priority
Premium
Body Typography
Large Body (18px)
Experience seamless support ticket management with real-time updates and powerful automation features.
Body (16px)
All tickets include role-based permissions and 24/7 Discord integration. Manage everything from one dashboard.
Small (14px)
Free for small servers • Upgrade anytime • No setup fees
Extra Small (12px)
*Discord bot integration required. Terms and conditions apply. Limited to one server per free plan.
Special Text Styles
Pricing Display
Feature Highlights
✓ Unlimited Tickets
✓ Premium Support Included
Stats & Numbers
1,247
Active Tickets
99.9%
Uptime
Technical Specs & Code
ticket-12345/ticket createBadge Variants
// Heading Hierarchy
<h1 className="text-4xl sm:text-5xl md:text-6xl font-bold text-white">
Page Title
</h1>
<h2 className="text-3xl sm:text-4xl font-semibold text-gray-200">
Section Title
</h2>
// Gradient Text
<h1 className="bg-gradient-to-r from-blue-500 to-purple-500 bg-clip-text text-transparent">
Gradient Headline
</h1>Form Elements
Input fields, selects, and form controls with consistent styling
Text Inputs
Inputs with Icons
Select Dropdowns
Textarea
Checkboxes
Radio Buttons
Validation States
✓ Looks good!
✗ This field is required
⚠ Consider using a stronger password
// Text Input
<Input
type="text"
placeholder="Enter ticket title..."
/>
// Input with Icon
<div className="relative">
<Search className="absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400" />
<Input
type="text"
placeholder="Search tickets..."
className="pl-10"
/>
</div>
// Select Dropdown
<select className="w-full px-4 py-2 bg-gray-800 border border-gray-700 rounded-lg text-white">
<option>Select priority...</option>
<option>Low</option>
<option>Medium</option>
<option>High</option>
</select>Design System Guidelines
Color Usage
- Blue (#3B82F6) for primary actions and CTAs
- Purple (#9333EA) for premium features and highlights
- All combinations tested for WCAG AA compliance
- Semantic colors for status indicators
Typography
- System font stack for optimal performance
- Responsive font sizes with mobile-first approach
- Clear hierarchy with 6 heading levels
- Gradient text for hero sections and emphasis
Components
- Consistent spacing and padding across all components
- Hover and focus states for accessibility
- Loading and disabled states built-in
- Icon support with Lucide React library
Accessibility
- Keyboard navigation support
- Screen reader friendly labels
- Color contrast ratios meet WCAG standards
- Focus indicators on all interactive elements
Version: 1.0.0 •Stack: Next.js 16, React 19, Tailwind CSS 4, TypeScript 5 •Icons: Lucide React