Ravi Katiyar

Color Palette Card

Cards 74

About

A compact, modern card displaying a curated set of harmonious color swatches, perfect for design inspiration and theme selection. Each palette is paired with a save count, making it easy to gauge popularity and engagement—ideal for UI libraries, creative platforms, or style guides.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Color Palette Card to your project and fits it to your theme.

Code

How Color Palette Card is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { ColorPaletteCard } from '@/components/ui/color-palette-card'; // Adjust this import path to match your project structure

/**
 * A demo component to showcase the ColorPaletteCard.
 */
export default function ColorPaletteCardDemo() {
  // Sample data for the color palette
  const palette = {
    colors: ['264653', '2A9D8F', 'E9C46A', 'F4A261', 'E76F51'],
    saves: 53421,
  };

  return (
    <div className="flex min-h-[350px] w-full items-center justify-center bg-background p-4">
      <ColorPaletteCard
        colors={palette.colors}
        statsText={`${palette.saves.toLocaleString()} saves`}
      />
    </div>
  );
}

More by Ravi Katiyar

View all
  • Animated Shader Hero

    Animated Shader Hero

    3.8K
  • Hero

    Hero

    3.4K
  • Circular Gallery

    Circular Gallery

    3K
  • Minimalist Hero

    Minimalist Hero

    2.8K
  • Glass Calendar

    Glass Calendar

    2K
  • Floating Icons Hero Section

    Floating Icons Hero Section

    2K
  • Feature Carousel

    Feature Carousel

    1.8K
  • AI Image Generator Hero

    AI Image Generator Hero

    1.5K

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Photo Deck

    Photo Deck

    47
  • Folded Card

    Folded Card

    45
  • Statistics Card 10

    Statistics Card 10

    304
  • Statistics Card 2

    Statistics Card 2

    309
  • Statistics Card 7

    Statistics Card 7

    336
  • CTA Section

    CTA Section

    6
  • Liquid Glass Card

    Liquid Glass Card

    198