Design System inspired by Twilio
Communications API. Red brand, developer docs, code-forward layout.
npx getdesign@latest add twilioRun this command from your project root, then ask your AI assistant to use DESIGN.md for UI work.
Communications API. Red brand, developer docs, code-forward layout.
DESIGN SYSTEM INSPIRATION OF TWILIO
Communications API. Red brand, developer docs, code-forward layout.
Color Palette
Communications API. Red brand, developer docs, code-forward layout.
Typography
A type system inspired by Twilio.
Cards
Card patterns inspired by Twilio.
Components
Other component primitives mapped from the Twilio spec.
Design System Inspired by Twilio
1. Visual Theme & Atmosphere
Communications API. Red brand, developer docs, code-forward layout.
Key Characteristics:
- Red (#F22F46) as primary brand color
- Developer documentation as core product
- Code-first layout with live examples
- API reference as primary navigation
- Communications workflow visualizations
2. Color Palette & Roles
Primary
- Twilio Red (
#F22F46): Brand color - Dark (
#121C2D): Brand color - Navy (
#233659): Brand color - White (
#FFFFFF): Brand color - Light BG (
#F4F4F6): Brand color - Gray (
#606B85): Brand color - Blue (
#0D122B): Brand color - Code BG (
#1B2538): Brand color
3. Typography Rules
Font Family
- Display & UI:
Whitney,Fira Mono
Hierarchy
| Role | Size | Weight | Line Height |
|---|---|---|---|
| Display | 64px | 700 | 1.1 |
| H1 | 48px | 700 | 1.2 |
| H2 | 32px | 600 | 1.3 |
| Body | 16px | 400 | 1.6 |
| Small | 14px | 400 | 1.5 |
| Code | 14px | 400 | 1.6 |
4. Component Stylings
Buttons, cards, and inputs follow the brand's visual language with consistent use of the primary color palette and border-radius conventions.
5. Layout Principles
- Base unit: 4-8px
- Max container: 1100-1200px
- Consistent section spacing: 80-120px vertical
6. Depth & Elevation
Depth communicated through background color shifts, subtle shadows, or border treatments.
7. Do's and Don'ts
Do
- Follow the established color palette strictly
- Maintain typographic hierarchy
- Use brand-consistent border-radius
Don't
- Introduce off-brand colors
- Use inconsistent spacing
- Override the established visual language
8. Responsive Behavior
| Breakpoint | Width |
|---|---|
| Mobile | <640px |
| Tablet | 640-1024px |
| Desktop | >1024px |
9. Agent Prompt Guide
Quick Color Reference
- Twilio Red:
#F22F46 - Dark:
#121C2D - Navy:
#233659 - White:
#FFFFFF - Light BG:
#F4F4F6 - Gray:
#606B85
Typography
- Font:
Whitney,Fira Mono