Propify delivers premium components for modern marketing sites
© Copyright 2025 Propify. All Rights Reserved.
Tailwind CSS is the styling foundation for all Propify components. Here's what you need to know to work effectively with our components.
Tailwind is a utility-first CSS framework that provides low-level utility classes to build custom designs directly in your markup.
Instead of writing CSS like this:
You write HTML/JSX/TSX like this:
<!-- html --><button class="px-4 py-2 bg-blue-500 text-white rounded"> Click me</button><!-- jsx/type --><button className="px-4 py-2 bg-blue-500 text-white rounded"> Click me</button>Our components use Tailwind utilities for:
p-4, mx-auto, mt-8text-xl, font-bold, tracking-tightbg-white, text-gray-900, border-blue-500flex, grid, items-centersm:px-6, lg:grid-cols-3Tailwind uses mobile-first breakpoints:
<div className="text-sm md:text-base lg:text-lg"> Responsive text size</div>Breakpoints:
sm: 640px and upmd: 768px and uplg: 1024px and upxl: 1280px and up2xl: 1536px and upPropify components support dark mode:
<div className="bg-white dark:bg-gray-900"> <h2 className="text-gray-900 dark:text-white"> Dark mode ready </h2></div><div className="container mx-auto px-4 sm:px-6 lg:px-8"> <div className="mx-auto max-w-7xl"> {/* Content */} </div></div><div className="flex flex-col items-center justify-center"> <div className="flex gap-4"> {/* Flex items */} </div></div><div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> {/* Grid items */}</div>You can customize component styles in several ways:
<Pricing05 className="my-custom-spacing" // Adds to the root element/><Pricing05 className="[&_.bg-accent]:bg-blue-50 [&_.text-primary]:text-blue-600" // Targets specific child elements/>Many components use CSS variables you can override:
:root { --primary: 220 90% 56%; --primary-foreground: 0 0% 100%;}w-[137px]Understanding Tailwind will help you customize Propify components effectively while maintaining consistency across your application.