{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "lists-01",
  "title": "Lists 01",
  "description": "A filterable list of projects with a row of line tabs, then ruled rows pairing a title and meta, a short description with a pill button, and a wide photo.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button",
    "tabs"
  ],
  "files": [
    {
      "path": "registry/blocks/lists/lists-01/lists-01.tsx",
      "content": "'use client'\n\nimport { useState } from 'react'\n\nimport { ArrowUpRight } from 'lucide-react'\n\nimport { Button } from '@/components/ui/button'\nimport { Tabs, TabsList, TabsTrigger } from '@/components/ui/tabs'\n\nconst filters = ['All', 'Interiors', 'Architecture', 'Objects']\n\nconst projects = [\n  {\n    title: 'Concrete Hall',\n    year: '2021',\n    category: 'Architecture',\n    description:\n      'A long public hall in board-marked concrete, lit from a single clerestory so the walls change colour through the day.',\n    image:\n      'https://images.unsplash.com/photo-1566883497053-3666f2141bec?q=80&w=1100&auto=format&fit=crop',\n    alt: 'Alt 1',\n    grayscale: true,\n  },\n  {\n    title: 'Arch House',\n    year: '2022',\n    category: 'Interiors',\n    description:\n      'A family home organised around one soft arched passage, with every room opening onto the next without a single door.',\n    image:\n      'https://images.unsplash.com/photo-1567016376408-0226e4d0c1ea?q=80&w=1100&auto=format&fit=crop',\n    alt: 'Alt 2',\n    grayscale: true,\n  },\n  {\n    title: 'Slat Lounge',\n    year: '2023',\n    category: 'Interiors',\n    description:\n      'A hotel lounge wrapped in vertical oak slats, with low furniture and warm light kept close to the floor.',\n    image:\n      'https://images.unsplash.com/photo-1640357960494-9242650846d3?q=80&w=1100&auto=format&fit=crop',\n    alt: 'Alt 3',\n    grayscale: true,\n  },\n  {\n    title: 'Stoneware Range',\n    year: '2024',\n    category: 'Objects',\n    description:\n      'A small family of hand-built vessels in raw clay, made in one workshop and finished with a single matte glaze.',\n    image:\n      'https://images.unsplash.com/photo-1631125915597-adf46a94e436?q=80&w=1100&auto=format&fit=crop',\n    alt: 'Alt 4',\n    grayscale: false,\n  },\n]\n\nexport function Lists01() {\n  const [filter, setFilter] = useState('All')\n\n  const visible = projects.filter(\n    (project) => filter === 'All' || project.category === filter,\n  )\n\n  return (\n    <section className=\"bg-background w-full\">\n      <div className=\"mx-auto flex max-w-7xl flex-col px-6 py-20 sm:py-28\">\n        <div className=\"flex flex-col gap-6 pb-10 sm:flex-row sm:items-center sm:justify-between\">\n          <h2 className=\"text-foreground text-sm font-semibold\">Projects</h2>\n          <Tabs\n            value={filter}\n            onValueChange={(value) => setFilter(String(value))}\n          >\n            <TabsList variant=\"line\" className=\"h-auto flex-wrap gap-x-2\">\n              {filters.map((item) => (\n                <TabsTrigger\n                  key={item}\n                  value={item}\n                  className=\"h-10 px-3 text-sm\"\n                >\n                  {item}\n                </TabsTrigger>\n              ))}\n            </TabsList>\n          </Tabs>\n        </div>\n\n        <ul className=\"border-border flex flex-col border-t\">\n          {visible.map((project) => (\n            <li\n              key={project.title}\n              className=\"border-border grid grid-cols-1 gap-6 border-b py-8 md:grid-cols-12 md:gap-x-8\"\n            >\n              <div className=\"flex flex-col gap-1 md:col-span-3\">\n                <h3 className=\"text-foreground text-base font-medium\">\n                  {project.title}\n                </h3>\n                <p className=\"text-muted-foreground text-sm tabular-nums\">\n                  {project.category}, {project.year}\n                </p>\n              </div>\n\n              <div className=\"order-3 flex flex-col items-start justify-between gap-8 md:order-none md:col-span-4\">\n                <p className=\"text-muted-foreground text-base leading-relaxed\">\n                  {project.description}\n                </p>\n                <Button\n                  variant=\"outline\"\n                  className=\"h-10 gap-1.5 rounded-full px-5\"\n                  nativeButton={false}\n                  render={<a href=\"#\" />}\n                >\n                  Read more\n                  <ArrowUpRight className=\"size-3.5\" />\n                </Button>\n              </div>\n\n              <div className=\"bg-muted relative aspect-[3/2] w-full overflow-hidden outline outline-black/10 md:col-span-5 md:col-start-8 dark:outline-white/10\">\n                <img\n                  src={project.image}\n                  alt={project.alt}\n                  className={\n                    project.grayscale\n                      ? 'size-full object-cover grayscale'\n                      : 'size-full object-cover'\n                  }\n                />\n              </div>\n            </li>\n          ))}\n        </ul>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/flx/blocks/lists/lists-01.tsx"
    }
  ],
  "meta": {
    "iframeHeight": 1300
  },
  "type": "registry:block"
}