Hey Tailwind devs š
Here's a list of open-source image gallery components coded with Tailwind CSS and Material Tailwind.
Each Tailwind CSS image gallery example presented below is easy to integrate and customize. The links to the source code are placed below each example.
Simply copy and paste the code directly into your application.
Tailwind Image Gallery Examples
1. Simple Grid Image Gallery
This gallery example aligns images in a neat, uniform grid with consistent spacing between each image. Use it to display the images in a structured manner.
Get the source code of this simple grid image gallery example.
2. Masonry Grid Galery
Use this example if you want to arrange images in a staggered grid format. This gallery includes images of multiple sizes, creating a visually interesting and less uniform arrangement. Perfect for portfolios or galleries where image sizes differ.
Get the source code of this masonry grid galery.
3. Featured Image Galery
Try this example if you want to highlight a single, large featured image at the top, with a row of smaller images displayed below. Perfect for highlighting a key image or project while offering context through related images.
Get the source code of this featured image galery example.
4. Quad Image Galery
A compact grid layout that arranges four images in a 2x2 configuration. This gallery is great for displaying a small collection of images in a balanced manner.
Get the source code of this quad image galery example.
5. Image Gallery With Tab
An interactive image gallery that includes tabs for different categories. Each tab contains a grid layout of images, allowing users to switch between different sets of images by selecting the relevant tab.
Get the source code of this image gallery with tab example.
š Looking for even more examples?
Check out our open-source Tailwind CSS components library - Material Tailwind - and browse through 500+ components and website sections.
Top comments (0)