# daisyui-components > Component reference for DaisyUI + Tailwind CSS implementation with The Puppy Day theme configuration. - Author: Jonathan Lee - Repository: jonlee90/thepuppyday - Version: 20251228140736 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/jonlee90/thepuppyday - Web: https://mule.run/skillshub/@@jonlee90/thepuppyday~daisyui-components:20251228140736 --- # DaisyUI Components Reference Component reference for DaisyUI + Tailwind CSS implementation with The Puppy Day theme configuration. --- ## Theme Configuration ```javascript // tailwind.config.js module.exports = { daisyui: { themes: [ { puppyday: { // Primary - Charcoal "primary": "#434E54", "primary-focus": "#363F44", "primary-content": "#FFFFFF", // Secondary - Lighter Cream "secondary": "#EAE0D5", "secondary-focus": "#DCD2C7", "secondary-content": "#434E54", // Accent "accent": "#5A6670", "accent-focus": "#434E54", "accent-content": "#FFFFFF", // Neutral "neutral": "#F5F5F5", "neutral-focus": "#E5E5E5", "neutral-content": "#434E54", // Base - Warm cream background "base-100": "#F8EEE5", "base-200": "#EAE0D5", "base-300": "#DCD2C7", "base-content": "#434E54", // Semantic colors "info": "#74B9FF", "success": "#6BCB77", "warning": "#FFB347", "error": "#EF4444", } } ] } } ``` --- ## Buttons ### Base Classes ```html ``` ### The Puppy Day Button Patterns ```tsx // Primary CTA // Secondary action // Loading state // Icon button ``` --- ## Cards ### Base Structure ```html
...

Title

Description text

``` ### Variants ```html
...
...
...
``` ### The Puppy Day Card Pattern ```tsx
{/* Header with icon */}

{title}

{/* Content */}

{description}

{/* Actions */}
``` --- ## Forms ### Input ```html ``` ### Select ```html ``` ### Textarea ```html ``` ### Checkbox & Radio ```html ``` ### Form Control Pattern ```tsx
{error && ( )}
``` --- ## Modal ### Base Structure ```html ``` ### React Modal Pattern ```tsx 'use client'; interface ModalProps { isOpen: boolean; onClose: () => void; title: string; children: React.ReactNode; } export function Modal({ isOpen, onClose, title, children }: ModalProps) { return (
{/* Header */}

{title}

{/* Content */} {children}
{/* Backdrop */}
); } ``` --- ## Drawer ```html
``` --- ## Navigation ### Navbar ```html ``` ### Menu ```html ``` ### Tabs ```html
Tab 1 Tab 2 Tab 3
``` ### Breadcrumbs ```html ``` --- ## Feedback ### Alert ```html
Default alert
Info alert
Success alert
Warning alert
Error alert
``` ### Badge ```html default primary secondary outline ``` ### Loading ```html ``` ### Progress ```html ``` ### Toast ```html
Message sent successfully.
``` --- ## Layout Utilities ### Divider ```html
OR
``` ### Stack ```html
...
...
...
``` --- ## Tailwind Utility Guidelines ### Layout ```css /* Flexbox */ flex, flex-col, flex-row, gap-4, items-center, justify-between /* Grid */ grid, grid-cols-3, gap-6 /* Spacing */ p-4, px-6, py-8, m-4, mx-auto, space-y-4 ``` ### Typography ```css /* Size */ text-sm, text-base, text-lg, text-xl, text-2xl, text-3xl /* Weight */ font-normal, font-medium, font-semibold, font-bold /* Color (The Puppy Day) */ text-[#434E54] /* Primary */ text-[#6B7280] /* Secondary */ text-[#9CA3AF] /* Muted */ ``` ### Effects ```css /* Shadows (soft, blurred) */ shadow-sm, shadow-md, shadow-lg /* Transitions */ transition-all duration-200 ease-in-out /* Hover */ hover:shadow-lg, hover:bg-[#363F44], hover:-translate-y-0.5 ``` ### Responsive Breakpoints ```css /* Mobile first */ Default (no prefix) /* < 640px */ md: /* >= 640px */ lg: /* >= 1024px */ xl: /* >= 1280px */ 2xl: /* >= 1536px */ ``` --- ## Micro-Interactions ### Hover Transitions ```tsx // Card hover - elevation + lift className="transition-all duration-200 hover:shadow-lg hover:-translate-y-0.5" // Button hover - color shift className="transition-colors duration-200 hover:bg-[#363F44]" // Link hover - opacity className="transition-opacity duration-200 hover:opacity-80" ``` ### Loading States ```tsx // Spinner in button // Skeleton loader
``` ### Button Press Feedback ```tsx className="btn active:scale-[0.98] transition-transform duration-100" ``` --- ## Icon Containers ```tsx // Decorative icon container
// Circular icon button ``` --- ## Responsive Grid Patterns ```tsx // Service cards grid
{services.map(service => )}
// Two column layout
Left content
Right content
// Sidebar + content
Content
```