Daiwiik Harihar

Color Pairing Card

Cards 47

About

An interactive SVG-notched bento color palette card with inverted corner cutouts, one-click hex copying, live color dominance swapping, and dual light/dark mode support.

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

Code

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

Usage.tsx

// This is a file with a demo for your component
// That's what users will see in the preview
// Create new files in this directory to add more demos

import ColorPairingCard from "@/components/ui/color-pairing-card";

// ONLY DEFAULT EXPORT WILL BE TREATED AS A DEMO
export default function DemoOne() {
  return (
    <main className="h-dvh w-full overflow-hidden bg-[#ECECEC] dark:bg-[#05070E] transition-colors duration-500 flex items-center justify-center p-4">
      <ColorPairingCard />
    </main>
  );
}

Dependencies

More by Daiwiik Harihar

View all
  • Perspective Tunnel Hero

    Perspective Tunnel Hero

    2.4K
  • Spatial Product Showcase

    Spatial Product Showcase

    2.4K
  • Constellation Grid

    Constellation Grid

    1.2K
  • Focus Rail

    Focus Rail

    1.1K
  • Elastic Gallery

    Elastic Gallery

    1.1K
  • Rolling List

    Rolling List

    955
  • Hero Shutter Text

    Hero Shutter Text

    953
  • Text Block Animation

    Text Block Animation

    924

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Statistics Card 7

    Statistics Card 7

    327
  • Statistics Card 2

    Statistics Card 2

    305
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    625
  • Card Studio

    Card Studio

    5
  • The Item one

    The Item one

    4
  • Weather Card

    Weather Card

    65
  • Card

    Card

    9

Explore more

Part of Folio — browse the full library on 21st.dev.