Basic Card
Featured
This is a basic card with the .daisy-card class.
It has subtle shadows and a hover effect.
A beautiful DaisyUI-inspired theme for PicoCSS v2. All the simplicity of PicoCSS with the aesthetic beauty of DaisyUI.
<div class="daisy-stats">
<div class="daisy-stat">
<div class="daisy-stat-value">12,847</div>
<div class="daisy-stat-title">Total Users</div>
</div>
<!-- More stats... -->
</div>
<div class="daisy-alert alert-info">
<span>ℹ</span>
<div>Information message</div>
</div>
<div class="daisy-alert alert-success">
<span>✓</span>
<div>Success message</div>
</div>
<div class="daisy-chat">
<div class="chat-message chat-start">
<div class="chat-bubble">
Left aligned message
</div>
</div>
<div class="chat-message chat-end">
<div class="chat-bubble">
Right aligned message
</div>
</div>
</div>
This is a basic card with the .daisy-card class.
It has subtle shadows and a hover effect.
Cards can contain images, forms, or any other content. The styling remains consistent across all cards.
<article class="daisy-card">
<header>
<h3>Card Title</h3>
<span class="badge badge-primary">Badge</span>
</header>
<p>Card content goes here</p>
<footer>
<button>Action</button>
</footer>
</article>
<!-- Solid Badges -->
<span class="badge">Default</span>
<span class="badge badge-primary">Primary</span>
<span class="badge badge-secondary">Secondary</span>
<!-- Outline Badges -->
<span class="badge badge-outline">Default</span>
<span class="badge badge-primary badge-outline">Primary</span>
<!-- Example form field -->
<label for="email">
Email Address
<input type="email" id="email" placeholder="john@example.com">
</label>
<!-- Checkbox with switch role -->
<label for="newsletter">
<input type="checkbox" id="newsletter" role="switch">
Subscribe to newsletter
</label>
Monthly traffic and engagement metrics
Chart.js / ApexCharts / Other Library
Your chart visualization would render here<div class="daisy-chart-wrapper">
<div class="daisy-chart-header">
<h3 class="daisy-chart-title">Chart Title</h3>
<div class="daisy-chart-toolbar">
<button class="chart-toolbar-btn active">1M</button>
</div>
</div>
<!-- Your chart goes here -->
<canvas id="myChart"></canvas>
<div class="daisy-chart-legend">
<div class="legend-item">
<span class="legend-color primary"></span>
<span>Dataset 1</span>
</div>
</div>
</div>
Loading chart data...
Start collecting data to see your chart here.
The theme automatically supports system preference dark mode. You can also toggle it manually:
<!-- Set initial theme -->
<html data-theme="dark">
<!-- Or light theme -->
<html data-theme="light">
// Toggle theme function
function toggleTheme() {
const html = document.documentElement;
const currentTheme = html.getAttribute('data-theme');
const newTheme = currentTheme === 'dark' ? 'light' : 'dark';
html.setAttribute('data-theme', newTheme);
// Update button text
const button = document.querySelector('.theme-toggle');
button.textContent = `Switch to ${currentTheme === 'dark' ? 'Dark' : 'Light'}`;
}