Bought Pro? It is on your account. Sign in
SVG Creator Go Pro

Gift box icon (free SVG)

In shortA wrapped gift stands for rewards, referral bonuses, gift cards, birthdays and promotions. Download this gift box icon free in four styles as a 24×24 SVG that uses currentColor; every file is under 1 KB and free for commercial use.

Style collections: outline · filled · duotone · glyph · Updated 2026-10-21

Gift box icon, outline style, on a light backgroundGift box icon, outline style, on a dark background
Outline · 371 bytes
Gift box icon, filled style, on a light backgroundGift box icon, filled style, on a dark background
Filled · 379 bytes
Gift box icon, duotone style, on a light backgroundGift box icon, duotone style, on a dark background
Duotone · 469 bytes
Gift box icon, glyph style, on a light backgroundGift box icon, glyph style, on a dark background
Glyph · 307 bytes

Variations

The same gift box drawn four ways. Open any of them in the editor to recolour it, change the stroke, rotate or export PNG.

Gift box icon at 16 pixels
16px
Gift box icon at 20 pixels
20px
Gift box icon at 24 pixels
24px
Gift box icon at 32 pixels
32px
Gift box icon at 48 pixels
48px

Code

Inline SVG (HTML)

<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="8" width="18" height="4.5" rx="1"/><path d="M5 12.5V21h14v-8.5"/><path d="M12 8v13"/><path d="M12 8C10 4.2 6.5 4 6.5 6.2S9 8 12 8zM12 8c2-3.8 5.5-4 5.5-1.8S15 8 12 8z"/></svg>

React component

export default function GiftBoxIcon({ size = 24, color = "currentColor", ...props }) {
  return (
    <svg
      xmlns="http://www.w3.org/2000/svg"
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      stroke={color}
      strokeWidth={2}
      strokeLinecap="round"
      strokeLinejoin="round"
      {...props}
    >
      <rect x="3" y="8" width="18" height="4.5" rx="1" />
      <path d="M5 12.5V21h14v-8.5" />
      <path d="M12 8v13" />
      <path d="M12 8C10 4.2 6.5 4 6.5 6.2S9 8 12 8zM12 8c2-3.8 5.5-4 5.5-1.8S15 8 12 8z" />
    </svg>
  );
}

CSS mask (recolour with color)

.icon-gift {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4.5' rx='1'/%3E%3Cpath d='M5 12.5V21h14v-8.5'/%3E%3Cpath d='M12 8v13'/%3E%3Cpath d='M12 8C10 4.2 6.5 4 6.5 6.2S9 8 12 8zM12 8c2-3.8 5.5-4 5.5-1.8S15 8 12 8z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4.5' rx='1'/%3E%3Cpath d='M5 12.5V21h14v-8.5'/%3E%3Cpath d='M12 8v13'/%3E%3Cpath d='M12 8C10 4.2 6.5 4 6.5 6.2S9 8 12 8zM12 8c2-3.8 5.5-4 5.5-1.8S15 8 12 8z'/%3E%3C/svg%3E") no-repeat center / contain;
}

Image tag

<img src="https://mumshadjawad.com/svg-creator/icons/gift-outline.svg" width="24" height="24" alt="">

Not sure which to use? See SVG icons in React, SVG icons in CSS and how to change an SVG icon's colour.

Details

Good for
reward, gift card, referral, promotion
Grid
24 × 24, viewBox="0 0 24 24", 2px safe area
Outline stroke
2px, round caps and joins
Shapes
4 elements (outline, classic)
File sizes
outline 371 B · filled 379 B · duotone 469 B · glyph 307 B
Licence
Free for personal and commercial use, no attribution required
Collections
e-commerce and shopping icons

Related icons

Need a different gift box?

Describe it ("gift box, minimal, rounded") and get four new variations.
Generate variations