Components

Browse all component examples

← Back to documentation

Dark Mode Optimized Components

Optimized Color Contrast

Light Mode

High contrast text on light backgrounds

PrimarySecondarySuccess

Dark Mode

Adjusted colors for dark backgrounds

PrimarySecondarySuccess

Glassmorphism in Dark Mode

Glass Effect

Beautiful transparency with backdrop blur

Blur Variant

Stronger blur for overlay effects

Dark Mode Form Styling

Button Contrast

Data Display in Dark Mode

Progress Indicators

Primary Progress
Gradient Progress
Striped Progress75%
Animated Progress90%

Dark Mode Table

FeatureLight ModeDark Mode
BackgroundWhiteGray-900
Text ColorGray-900Gray-100
BordersGray-200Gray-700

Dark Mode Alert Styles

All alerts feature Alpine.js-powered dismiss functionality when the dismissible prop is set.

Dark Mode Navigation

Dark mode provides a comfortable viewing experience in low-light environments while reducing eye strain.

Implementation uses Tailwind's dark mode classes with proper color contrast ratios.

Always test color contrast, avoid pure black backgrounds, and ensure consistent theming.