import { Gallery } from "fmicon-react";
<Gallery size={24} strokeWidth={1} />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
size | number | string | 24 | Width and height in pixels |
variant | "linear" | "bold" | … | linear | Any of the 8 styles, plus glass-light for light backgrounds |
color | string | currentColor | Any CSS colour; inherits the text colour by default |
strokeWidth | number | 1.5 | Line weight for linear, twotone, broken and duotone |
...props | SVG attributes | – | className, aria-label, onClick and the rest |
More in Media
What is the Gallery Icon?
The gallery icon shows a picture frame holding a mountain and a sun, meaning a collection of photos or images. Use it to open a photo library, choose a picture from the device or switch a view into a grid of images. It points to many pictures, not one single file.
The mountain and sun come from the classic holiday landscape photo, and early phone and camera software used it for the photos icon on home screens. Framing the scene suggests a picture on display, so people read it as a library or album. A bare landscape tends to mark one picture or an image field, while the camera means taking a new photo rather than picking an existing one.
When to Use the Gallery Icon
- Chat attachment menu: the option that opens the device's photo library to pick images to send.
- Property listing page: a View all photos button placed over the main listing image.
- Profile picture editor: a choice between taking a new photo and choosing one from the library.
- Content management system: the media library that lists every uploaded image with its size and date.
The Gallery Icon in Linear Style
Linear icons are drawn with a single even stroke and no fills, so they stay light next to body text. You can change the stroke weight from thin to bold without the shape falling apart.
Best for: toolbars, tab bars, settings lists and anything that sits beside text.
The same icon also comes in outline, bold, bulk, twotone, broken, glass and duotone. See every icon in this look on the free linear icons page.
How to Use the Gallery Icon
- Customise it. Pick a stroke weight, size and colour on the left. Thin (1 px) looks best at large sizes, Regular (1.5 px) is the default.
- Copy or download. Copy the SVG, or download SVG, PNG or WebP at any size from 16 to 512 px.
- Drop it into code. Choose React, React Native, Vue, Svelte, Angular or Flutter above and copy the ready-made
GalleryIconcomponent. - Label it. If the icon is the only thing in a button, give it a name for screen readers:
aria-label="Open photo gallery". If text sits next to it, usearia-hidden="true"instead.
Design Tips for the Gallery Icon
- Put the gallery and camera options side by side in attachment menus, with labels, because many people mix up pick and take.
- Add a count to a View all photos button, such as 24 photos, so people know the size of the gallery before opening it.
- Request photo library access only after the tap, and explain why, so the permission prompt makes sense to people.
Icons That Work Well with Gallery
Browse all media iconsGallery Icon FAQ
It means your collection of photos. Tapping it opens the photo library or an album, where you can browse, pick or share pictures. The mountain and sun inside a frame show a landscape photo, the most common way to suggest pictures in one small symbol.
Use the gallery when people pick a photo they already have, and the camera when they take a new one. Many upload menus show both with labels, Choose from library and Take photo, because people want different routes at different moments.
Yes. The gallery icon is one of 891 free, open-source icons you can use in personal and commercial work, including client projects and apps you sell. The packages are MIT licensed; keep the licence notice if you redistribute the icon files.
SVG, PNG and WebP, at any size from 16 to 512 pixels. You can also copy it as JSX or as a ready-made component for React, React Native, Vue, Svelte, Angular and Flutter, with your stroke weight and colour already applied.