Skip to content
Website Sections

PortfolioGrid

Project tiles with filter chips. Tiles glide to their new places when the filter changes; on hover the caption rises and a pill follows the pointer.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
itemsPortfolioGridItem[]—Each has title, tag, src and alt, plus optional href, note and wide.
titlestring—Heading above the chips.
eyebrowstring—Small line above the title.
subtitlestring—Line under the title.
allLabelstring"All"Word for the chip that shows everything.
viewLabelstring"View"Word on the pill that follows the pointer over a link.
colorstring"#a78bfa"Colour of the active chip and the pill.
inkstring"#0b0a14"Text colour on that colour.
headingAsElementType"h2"Heading tag.
classNamestring"bg-[#0b0a14] px-5 py-16 text-white"Set padding and colours here.