Search Plus UI Blocks

Find a block, a category or a site

Before and after gallerybefore-after-gallery

Use in Plus UI
npx shadcn@latest add https://blocks.plusui.com/r/before-after-gallery.json

Case studies · 4 variants

← → to step through · + on a thumbnail to compare side by side (up to 3)

/preview/before-after-gallery
Open ↗

Default content

{
  "eyebrow": "Our work",
  "title": "Before and after, from the same spot",
  "description": "Real jobs from the last twelve months. Drag across a photo, or use the slider, to see what the room looked like when we arrived.",
  "projects": [
    {
      "title": "Back-to-brick kitchen-diner",
      "location": "Harlow Road, Bramwick",
      "kind": "Kitchen",
      "caption": "A wall between a dark galley kitchen and the dining room came out, with a steel beam signed off by building control. The family cooked on a camping stove in the front room for three weeks.",
      "cost": "£38,400",
      "duration": "7 weeks",
      "work": [
        "Wall removed, steel beam fitted",
        "Rewire and new consumer unit",
        "Island with hob and seating"
      ],
      "before": {
        "src": "https://images.unsplash.com/photo-1517581177682-a085bb7ffb15?auto=format&fit=crop&w=1200&h=900&q=80",
        "alt": "The room stripped to brick, with props holding up the ceiling"
      },
      "after": {
        "src": "https://images.unsplash.com/photo-1507089947368-19c1da9775ae?auto=format&fit=crop&w=1200&h=900&q=80",
        "alt": "A white kitchen with a long island and pendant lights"
      }
    },
    {
      "title": "Family bathroom, no more curtain",
      "location": "Mill Lane, Ashby Wendle",
      "kind": "Bathroom",
      "caption": "Out went the shower curtain and the pedestal basin; in came a freestanding bath, wall-hung taps and underfloor heating. We kept the window and moved everything else.",
      "cost": "£14,900",
      "duration": "3 weeks",
      "work": [
        "Plumbing moved to the far wall",
        "Underfloor heating",
        "Floor-to-ceiling tiling"
      ],
      "before": {
        "src": "https://images.unsplash.com/photo-1560448075-bb485b067938?auto=format&fit=crop&w=1200&h=900&q=80",
        "alt": "A dated bathroom with a pedestal basin and a curtained bath"
      },
      "after": {
        "src": "https://images.unsplash.com/photo-1620626011761-996317b8d101?auto=format&fit=crop&w=1200&h=900&q=80",
        "alt": "A bright bathroom with a freestanding bath"
      }
    },
    {
      "title": "Lighter units, same footprint",
      "location": "Quarry Rise, Hallam Cross",
      "kind": "Kitchen",
      "caption": "The layout worked; the dark units and a window boxed in by cupboards didn't. New shaker doors, open shelves and a full-height splashback, without moving a pipe.",
      "cost": "£19,200",
      "duration": "4 weeks",
      "work": [
        "Shaker units and quartz worktops",
        "Window opened up",
        "Metro-tile splashback"
      ],
      "before": {
        "src": "https://images.unsplash.com/photo-1564540586988-aa4e53c3d799?auto=format&fit=crop&w=1200&h=900&q=80",
        "alt": "A kitchen with dark-stained units and little daylight"
      },
      "after": {
        "src": "https://images.unsplash.com/photo-1600489000022-c2086d79f9d4?auto=format&fit=crop&w=1200&h=900&q=80",
        "alt": "A grey shaker kitchen with white tiles and open shelves"
      }
    }
  ],
  "labels": {
    "before": "Before",
    "after": "After",
    "slider": "Compare the before and after photos",
    "picker": "Choose a project",
    "cost": "Final cost",
    "duration": "Time on site",
    "work": "What we did"
  },
  "note": "Costs are what the client paid, including VAT. Photos taken by our site leads, not staged.",
  "action": {
    "label": "Start your own",
    "href": "#",
    "variant": "primary"
  }
}