Styling & UI
Understanding the design system and styling approach of the Founderflow Boilerplate. Learn about Tailwind CSS, component styling, and customization options.
Design System
Tailwind CSS 4
Utility-first CSS framework for rapid development
Radix UI
Accessible component primitives and foundations
Custom Components
Brand-specific components built on top of Radix UI
Dark Mode
Theme switching support with automatic detection
Responsive
Mobile-first approach with breakpoint system
Animation
Framer Motion integration for smooth transitions
Styling Architecture
Global Styles
CSS variables, base styles, and utility classes
Component Styles
Individual component styling and variants
Page Styles
Page-specific layouts and styling
Theme Configuration
Color Palette
The boilerplate uses a carefully designed color palette:
Primary Colors
Primary Dark
Main brand color
Primary
Secondary brand color
Primary Light
Hover states
Supporting Colors
Neutral
Text and backgrounds
Success
Success states
Error
Error states
Typography System
Consistent typography using the Ubuntu font family:
Heading 1 - 4xl
Main page titles and hero headings
Heading 2 - 2xl
Section headings and subsections
Heading 3 - lg
Component headings and card titles
Body Text - base
Regular paragraph text and content
Component Styling
Variant System
Components support multiple visual variants for different use cases.
Size System
Consistent sizing across all components with predefined size variants.
State Styles
Hover, focus, disabled, and active states for all interactive elements.
Animation
Framer Motion integration for smooth transitions and micro-interactions.
Customization Examples
Creating a Custom Button Variant
Adding Custom CSS Variables
Responsive Design
Breakpoints
- • sm: 640px (small devices)
- • md: 768px (tablets)
- • lg: 1024px (laptops)
- • xl: 1280px (desktops)
- • 2xl: 1536px (large screens)
Mobile-First Approach
Design starts with mobile and progressively enhances for larger screens.
Example Usage
Flexible Layouts
Use flexbox and grid for responsive layouts that adapt to different screen sizes.
Next Steps
Now that you understand the styling system, explore these related areas: