Tailwind UI Pattern Registry for humans and agents

gallery rotated hover image-grid decorative split portfolio gallery rotated hover image-grid tilt decorative portfolio split image grid that straightens on hover rotated gallery section with hover animation decorative tilted photo grid

Gallery Rotated Section

Fetch pattern JSON: curl https://webspire.de/patterns/gallery/rotated-section.json

Details

Family
gallery
Tier
enhanced
Kind
section
Extends
gallery/base
Responsive Dark Mode Tailwind Only SSR Safe Copy & Paste
Stable Published
galleryrotatedhoverimage-griddecorativesplitportfolio

Slots

Name Required Description
eyebrow No Pre-heading label badge.
headline Yes Section main heading.
body Yes Supporting description paragraph.
cta No Primary CTA button.
images Yes 2x2 grid of four images inside the rotated container.

Props

Name Type Default Description
rotationDeg number 3 Default rotation angle of the image grid in degrees.
imagePosition 'left' | 'right' right Side of the image grid relative to text content.

The rotation-to-zero hover effect is achieved using Tailwind’s group and group-hover:[transform:rotate(0deg)] utilities, combined with transition-transform duration-500. No JavaScript needed. The decorative outline behind the grid gives the composition a layered depth feel.