Daiwiik Harihar

Color Pairing Card

Cards 52

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.6K
  • Spatial Product Showcase

    Spatial Product Showcase

    2.4K
  • Constellation Grid

    Constellation Grid

    1.2K
  • Elastic Gallery

    Elastic Gallery

    1.1K
  • Focus Rail

    Focus Rail

    1.1K
  • Hero Shutter Text

    Hero Shutter Text

    963
  • Rolling List

    Rolling List

    963
  • Text Block Animation

    Text Block Animation

    935

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

Explore more

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