IconHubAI 生成 SVG 图标库
首页浏览图标我的收藏更新日志
首页 / 商业消费 / 礼物 gift

礼物 gift

线性风格 · 商业消费 · 收录于 2026-09-25 · viewBox 0 0 24 24

风格 线性 粗线面性
16px20px24px32px48px
下载 .svg

关键词

礼品赠品礼盒giftpresent

使用代码

SVG 源码
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
  <rect x="3.5" y="8.5" width="17" height="3.5" rx="1"/><path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-7"/><path d="M12 8.5V21"/><path d="M12 8.5C9.3 8.5 8 7.2 8 5.7A2.2 2.2 0 0 1 12 4.5a2.2 2.2 0 0 1 4 1.2c0 1.5-1.3 2.8-4 2.8Z"/>
</svg>
SVG Symbol 用法
<svg width="24" height="24" aria-hidden="true">
  <use href="/sprite.svg#icon-linear-gift"/>
</svg>
React 组件
export default function GiftIcon(props) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="1em" height="1em" fill="none" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" {...props}>
      <rect x="3.5" y="8.5" width="17" height="3.5" rx="1"/><path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-7"/><path d="M12 8.5V21"/><path d="M12 8.5C9.3 8.5 8 7.2 8 5.7A2.2 2.2 0 0 1 12 4.5a2.2 2.2 0 0 1 4 1.2c0 1.5-1.3 2.8-4 2.8Z"/>
    </svg>
  );
}
Vue 组件
<template>
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="1em" height="1em" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
    <rect x="3.5" y="8.5" width="17" height="3.5" rx="1"/><path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-7"/><path d="M12 8.5V21"/><path d="M12 8.5C9.3 8.5 8 7.2 8 5.7A2.2 2.2 0 0 1 12 4.5a2.2 2.2 0 0 1 4 1.2c0 1.5-1.3 2.8-4 2.8Z"/>
  </svg>
</template>

<script setup>
defineOptions({ name: 'GiftIcon' });
</script>
← 银行卡 耳机 →

IconHub · AI 生成 SVG 图标库 — 图标由 AI 生成,以 Git 仓库为唯一事实来源。

共 645 个图标 · 19 个分类 · 构建于 2026-09-27