sidiora-labs

Color List

Component

About

A scrollable list of items where the row crossing the focus line washes the whole background in its own colour and swaps a floating preview tile, useful for project/portfolio or color-swatch indexes.

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

Code

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

Usage.tsx

import { ColorList } from "@/components/ui/color-list";

const projects = [
  {
    id: "aarzoo",
    name: "Aarzoo",
    badge: "Print design",
    meta: "[01 Sep]",
    color: "#ff4c45",
  },
  {
    id: "horizons",
    name: "Lost Horizons",
    badge: "Concept art",
    meta: "[14 Aug]",
    color: "#f8f9fc",
  },
  {
    id: "echoes",
    name: "Eternal Echoes",
    badge: "Typography",
    meta: "[02 Aug]",
    color: "#7372fe",
  },
  {
    id: "abstract",
    name: "Abstract Dimensions",
    badge: "Experimental",
    meta: "[21 Jul]",
    color: "#ff88d3",
  },
  {
    id: "silent",
    name: "Silent Stories",
    badge: "Photography",
    meta: "[09 Jul]",
    color: "#3c90ff",
  },
  {
    id: "memories",
    name: "Fading Memories",
    badge: "Editorial",
    meta: "[30 Jun]",
    color: "#0ebc5f",
  },
  {
    id: "weekend",
    name: "Weekend",
    badge: "Sound design",
    meta: "[18 Jun]",
    color: "#adcaba",
  },
  {
    id: "essence",
    name: "Timeless Essence",
    badge: "Brand strategy",
    meta: "[03 Jun]",
    color: "#ffb02e",
  },
];

export default function ColorListDemo() {
  return <ColorList items={projects} className="rounded-2xl" />;
}

Dependencies

More by sidiora-labs

View all
  • Wave Slider

    Wave Slider

    4
  • Preview Rail

    Preview Rail

    3
  • Motion Breadcrumb

    Motion Breadcrumb

    2
  • Expandable Tabs

    Expandable Tabs

    2
  • Not Found

    Not Found

    1
  • Swap

    Swap

    1
  • Swipeable List

    Swipeable List

    1
  • Morphing Modal

    Morphing Modal

    1