500+ UI Elements

Build faster with
modular blocks.

Copy and paste fully responsive, accessible components. Designed to fit seamlessly into any project.

All Components

Browse our entire library of ready-to-use components. Copy the code, paste into your project, and customize to fit your needs.

User Role Distribution Chart

A data visualization component featuring a bar Tailwind CSS Chart to display the distribution of user roles. Built with Chart.js, this component is fully responsive component.

LTR

RTL

    <div class="container mx-auto px-4 py-8" x-data="{
    darkMode: false,
    users: [
        { id: 1, name: 'Jane Cooper', email: 'jane.cooper@example.com', role: 'Admin', status: 'Active', avatar: 'https://images.unsplash.com/photo-1570295999919-56ceb5ecca61?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=4&w=256&h=256&q=60' },
        { id: 3, name: 'Esther Howard', email: 'esther.howard@example.com', role: 'User', status: 'Inactive', avatar: 'https://images.unsplash.com/photo-1520813792240-56fc4a3765a7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=4&w=256&h=256&q=60' },
        { id: 4, name: 'Jenny Wilson', email: 'jenny.wilson@example.com', role: 'User', status: 'Pending', avatar: 'https://images.unsplash.com/photo-1498551172505-8ee7ad69f235?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=4&w=256&h=256&q=60' },
        { id: 5, name: 'Robert Fox', email: 'robert.fox@example.com', role: 'Editor', status: 'Active', avatar: 'https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=4&w=256&h=256&q=60' }
    ],
    getRoleCounts() {
        return {
            Admin: this.users.filter(user => user.role === 'Admin').length,
            User: this.users.filter(user => user.role === 'User').length,
            Editor: this.users.filter(user => user.role === 'Editor').length
        };
    },
    init() {
        this.darkMode = localStorage.getItem('darkMode') === 'true';
        const ctx = document.getElementById('roleChart').getContext('2d');
        new Chart(ctx, this.getChartConfig());
    },
    toggleDarkMode() {
        this.darkMode = !this.darkMode;
        localStorage.setItem('darkMode', this.darkMode);
    },
    getChartConfig() {
        const counts = this.getRoleCounts();
        return {
            type: 'bar',
            data: {
                labels: ['Admin', 'User', 'Editor'],
                datasets: [{
                    label: 'User Roles',
                    data: [counts.Admin, counts.User, counts.Editor],
                    backgroundColor: ['#6b7280', '#3b82f6', '#8b5cf6'],
                    borderColor: ['#4b5563', '#2563eb', '#7c3aed'],
                    borderWidth: 1
                }]
            },
            options: {
                scales: {
                    y: {
                        beginAtZero: true,
                        ticks: {
                            stepSize: 1,
                            color: this.darkMode ? '#d1d5db' : '#374151'
                        },
                        grid: {
                            color: this.darkMode ? '#374151' : '#e5e7eb'
                        }
                    },
                    x: {
                        ticks: {
                            color: this.darkMode ? '#d1d5db' : '#374151'
                        },
                        grid: {
                            display: false
                        }
                    }
                },
                plugins: {
                    legend: {
                        labels: {
                            color: this.darkMode ? '#d1d5db' : '#374151'
                        }
                    }
                }
            }
        };
    }
}">
        <!-- Header -->
        <div class="flex flex-col sm:flex-row justify-between items-start sm:items-center mb-6 gap-4">
            <div>
                <h1 class="text-2xl font-bold text-gray-900 dark:text-white">User Role Distribution</h1>
                <p class="text-gray-600 dark:text-gray-400">Chart showing the distribution of user roles</p>
            </div>
            
        </div>
        <!-- Chart Container -->
        <div class="bg-white dark:bg-gray-800 rounded-lg shadow p-6 transition-colors duration-300">
            <canvas id="roleChart" class="w-full h-96"></canvas>
        </div>
    </div>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>

Wishlist Component

An interactive Tailwind CSS Wishlist component that displays a list of saved products. Users can view items with their image, name, and price, and have options to move an item to the cart or remove it from the wishlist component.

LTR

RTL

<div class="max-w-4xl mx-auto mb-16">        
        <div x-data="{
            items: [
                { id: 1, name: 'Classic White Sneakers', price: 89.99, image: 'https://images.unsplash.com/photo-1549298916-b41d501d3772?w=300&h=300&fit=crop' },
                { id: 2, name: 'Leather Backpack', price: 129.99, image: 'https://images.unsplash.com/photo-1553062407-98eeb64c6a62?w=300&h=300&fit=crop' },
                { id: 3, name: 'Wireless Headphones', price: 199.99, image: 'https://images.unsplash.com/photo-1505740420928-5e560c06d30e?w=300&h=300&fit=crop' }
            ],
            removeItem(id) {
                this.items = this.items.filter(item => item.id !== id);
            }
        }" class="bg-white rounded-lg shadow-sm p-6">
            
            <div class="flex justify-between items-center mb-6">
                <h3 class="text-xl font-semibold">My Wishlist</h3>
                <span class="text-sm text-gray-500" x-text="items.length + ' items'"></span>
            </div>

            <div class="space-y-4">
                <template x-for="item in items" :key="item.id">
                    <div class="flex gap-4 p-4 border border-gray-200 rounded-lg">
                        <img :src="item.image" :alt="item.name" class="w-20 h-20 object-cover rounded">
                        <div class="flex-1">
                            <h4 class="font-medium" x-text="item.name"></h4>
                            <p class="text-lg font-semibold text-gray-900 mt-1">$<span x-text="item.price.toFixed(2)"></span></p>
                        </div>
                        <div class="flex flex-col gap-2">
                            <button class="px-4 py-2 bg-blue-600 text-white text-sm rounded hover:bg-blue-700">
                                Add to Cart
                            </button>
                            <button @click="removeItem(item.id)" class="px-4 py-2 border border-gray-300 text-gray-700 text-sm rounded hover:bg-gray-50">
                                Remove
                            </button>
                        </div>
                    </div>
                </template>
            </div>

            <div x-show="items.length === 0" class="text-center py-12">
                <p class="text-gray-500">Your wishlist is empty</p>
            </div>

        </div>
    </div>

3D Flip Card Authentication

A playful Tailwind CSS Authentication and space-efficient login/register component that uses CSS 3D transforms to flip the card and reveal the alternate form on the back component.

LTR

RTL

function calculateAdvancedMetrics(data) {
    const metrics = { performance: [], efficiency: {}, trends: new Map() };
    data.forEach((item, index) => {
        const weightedScore = item.value * Math.pow(0.95, index);
        metrics.performance.push({ score: weightedScore, timestamp: item.timestamp });
    });
    return { ...metrics, accuracy: calculateAccuracy(predictions) };
}

class DataAnalyzer {
    constructor(config) { this.config = config; this.cache = new LRUCache(1000); }
    async analyze(dataset) {
        const chunks = this.chunkData(dataset);
        return this.aggregateResults(await Promise.all(chunks.map(c => this.process(c))));
    }
}

Premium Code Access

Unlock source code, frameworks, and exclusive developer resources with premium.

Upgrade to Premium

3D Interactive Tilt 404 Card

A mesmerizing Tailwind CSS 404 Error Page 404 error component featuring a mouse-sensitive 3D tilt effect, dynamic spotlight lighting, and depth perception component.

LTR

RTL

function calculateAdvancedMetrics(data) {
    const metrics = { performance: [], efficiency: {}, trends: new Map() };
    data.forEach((item, index) => {
        const weightedScore = item.value * Math.pow(0.95, index);
        metrics.performance.push({ score: weightedScore, timestamp: item.timestamp });
    });
    return { ...metrics, accuracy: calculateAccuracy(predictions) };
}

class DataAnalyzer {
    constructor(config) { this.config = config; this.cache = new LRUCache(1000); }
    async analyze(dataset) {
        const chunks = this.chunkData(dataset);
        return this.aggregateResults(await Promise.all(chunks.map(c => this.process(c))));
    }
}

Premium Code Access

Unlock source code, frameworks, and exclusive developer resources with premium.

Upgrade to Premium

3D Stack Settings Dashboard

A settings Tailwind CSS Profile Setup interface styled as a floating 3D card stack with navigation tabs for Profile, Billing, and Preferences, featuring a glassmorphic design and smooth transitions component.

LTR

RTL

function calculateAdvancedMetrics(data) {
    const metrics = { performance: [], efficiency: {}, trends: new Map() };
    data.forEach((item, index) => {
        const weightedScore = item.value * Math.pow(0.95, index);
        metrics.performance.push({ score: weightedScore, timestamp: item.timestamp });
    });
    return { ...metrics, accuracy: calculateAccuracy(predictions) };
}

class DataAnalyzer {
    constructor(config) { this.config = config; this.cache = new LRUCache(1000); }
    async analyze(dataset) {
        const chunks = this.chunkData(dataset);
        return this.aggregateResults(await Promise.all(chunks.map(c => this.process(c))));
    }
}

Premium Code Access

Unlock source code, frameworks, and exclusive developer resources with premium.

Upgrade to Premium

3D Tilt Experiments Grid

A futuristic, Tailwind CSS Portfolio interactive grid of cards with a 3D tilt effect on hover, showcasing experimental projects with perspective depth and smooth transitions component.

LTR

RTL

function calculateAdvancedMetrics(data) {
    const metrics = { performance: [], efficiency: {}, trends: new Map() };
    data.forEach((item, index) => {
        const weightedScore = item.value * Math.pow(0.95, index);
        metrics.performance.push({ score: weightedScore, timestamp: item.timestamp });
    });
    return { ...metrics, accuracy: calculateAccuracy(predictions) };
}

class DataAnalyzer {
    constructor(config) { this.config = config; this.cache = new LRUCache(1000); }
    async analyze(dataset) {
        const chunks = this.chunkData(dataset);
        return this.aggregateResults(await Promise.all(chunks.map(c => this.process(c))));
    }
}

Premium Code Access

Unlock source code, frameworks, and exclusive developer resources with premium.

Upgrade to Premium

Accordion Pricing List

A vertical list of Tailwind CSS Pricing tiers where selecting a plan expands it to reveal key features, maintaining a clean and focused layout with toggleable billing cycles component.

LTR

RTL

function calculateAdvancedMetrics(data) {
    const metrics = { performance: [], efficiency: {}, trends: new Map() };
    data.forEach((item, index) => {
        const weightedScore = item.value * Math.pow(0.95, index);
        metrics.performance.push({ score: weightedScore, timestamp: item.timestamp });
    });
    return { ...metrics, accuracy: calculateAccuracy(predictions) };
}

class DataAnalyzer {
    constructor(config) { this.config = config; this.cache = new LRUCache(1000); }
    async analyze(dataset) {
        const chunks = this.chunkData(dataset);
        return this.aggregateResults(await Promise.all(chunks.map(c => this.process(c))));
    }
}

Premium Code Access

Unlock source code, frameworks, and exclusive developer resources with premium.

Upgrade to Premium

Action Banner Alert

A minimal, Tailwind CSS Alert bottom-aligned toast notification featuring actionable buttons like "Undo" or "Retry," status indicators, and direction-aware slide animations component.

LTR

RTL

function calculateAdvancedMetrics(data) {
    const metrics = { performance: [], efficiency: {}, trends: new Map() };
    data.forEach((item, index) => {
        const weightedScore = item.value * Math.pow(0.95, index);
        metrics.performance.push({ score: weightedScore, timestamp: item.timestamp });
    });
    return { ...metrics, accuracy: calculateAccuracy(predictions) };
}

class DataAnalyzer {
    constructor(config) { this.config = config; this.cache = new LRUCache(1000); }
    async analyze(dataset) {
        const chunks = this.chunkData(dataset);
        return this.aggregateResults(await Promise.all(chunks.map(c => this.process(c))));
    }
}

Premium Code Access

Unlock source code, frameworks, and exclusive developer resources with premium.

Upgrade to Premium

Advanced E-commerce Product Card

An advanced, interactive e-commerce Tailwind CSS Product Card featuring hover animations, a quick view modal, and color variant selection. It's designed to provide a rich user experience with detailed product information accessible directly from the card component.

LTR

RTL

function calculateAdvancedMetrics(data) {
    const metrics = { performance: [], efficiency: {}, trends: new Map() };
    data.forEach((item, index) => {
        const weightedScore = item.value * Math.pow(0.95, index);
        metrics.performance.push({ score: weightedScore, timestamp: item.timestamp });
    });
    return { ...metrics, accuracy: calculateAccuracy(predictions) };
}

class DataAnalyzer {
    constructor(config) { this.config = config; this.cache = new LRUCache(1000); }
    async analyze(dataset) {
        const chunks = this.chunkData(dataset);
        return this.aggregateResults(await Promise.all(chunks.map(c => this.process(c))));
    }
}

Premium Code Access

Unlock source code, frameworks, and exclusive developer resources with premium.

Upgrade to Premium

Advanced E-commerce Product Card with Carousel and Quick View Modal

A feature-rich e-commerce Tailwind CSS Product Card designed for a premium user experience. It includes an image carousel with arrows and dot indicators, a wishlist button, sale and status badges, and interactive color and size selectors with stock availability. A "Quick View" button launches a detailed modal with an expanded image gallery and comprehensive product information component.

LTR

RTL

function calculateAdvancedMetrics(data) {
    const metrics = { performance: [], efficiency: {}, trends: new Map() };
    data.forEach((item, index) => {
        const weightedScore = item.value * Math.pow(0.95, index);
        metrics.performance.push({ score: weightedScore, timestamp: item.timestamp });
    });
    return { ...metrics, accuracy: calculateAccuracy(predictions) };
}

class DataAnalyzer {
    constructor(config) { this.config = config; this.cache = new LRUCache(1000); }
    async analyze(dataset) {
        const chunks = this.chunkData(dataset);
        return this.aggregateResults(await Promise.all(chunks.map(c => this.process(c))));
    }
}

Premium Code Access

Unlock source code, frameworks, and exclusive developer resources with premium.

Upgrade to Premium

Page 5 of 21

Prev 1 ••• 4 5 6 ••• 21 Next