Components
10 components available
'use client';
import React, { useState } from 'react';
interface Notification {
id: number;
avatar: string;
message: string;
time: string;
unread: boolean;
}
const notifications: Notification[] = [
{ id: 1, avatar: 'https://via.placeholder.com/40', message: 'New message from John Doe', time: '10 minutes ago', unread: true },
{ id: NotificationCard
NotificationCard
Cards
react
'use client';
import React from 'react';
interface SocialLink {
icon: string;
url: string;
}
interface Profile {
avatar: string;
name: string;
bio: string;
socialLinks: SocialLink[];
}
const demoProfile: Profile = {
avatar: 'https://via.placeholder.com/50',
name: 'John Doe',
bio: 'Software Engineer with a passion for innovatioProfileCard
ProfileCard
Cards
react
'use client';
import React, { useState, useEffect } from 'react';
interface StatsCardProps {
label: string;
value: number;
trend: 'up' | 'down';
percentageChange: number;
sparklineData: number[];
}
const StatsCard: React.FC<StatsCardProps> = ({ label, value, trend, percentageChange, sparklineData }) => {
const [animateValue, setAnimaStatsCard
StatsCard
Cards
react
'use client';
import React from 'react';
interface Testimonial {
avatar: string;
quote: string;
rating: number;
name: string;
role: string;
}
const testimonials: Testimonial[] = [
{
avatar: 'https://via.placeholder.com/50',
quote: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
rating: 5,
name: 'John Doe',TestimonialCard
TestimonialCard
Cards
react
'use client';
import React from 'react';
interface Feature {
name: string;
}
interface PricingCardProps {
title: string;
price: string;
features: Feature[];
featured?: boolean;
}
const PricingCard: React.FC<PricingCardProps> = ({ title, price, features, featured = false }) => {
return (
<div
className={`transition durationPricingCard
PricingCard
Cards
react
PRO
NoisyCard
Cards
react
PRO
GlowCard
Cards
react
PRO
RevealCard
Cards
react
PRO
TiltCard
Cards
react
PRO
HolographicCard
Cards
react