找找图标

票 SVG 图标

fluent-emojiticket

来自 Fluent Emoji 开源图标集,矢量 SVG 可无损缩放到任意尺寸,支持在线改色、复制 React/Vue/HTML 代码。

图标 ID
fluent-emoji:ticket
中文名
票
所属集合
Fluent Emoji
集合规模
3,126 枚
基础网格
32px
色彩
多色
开源协议
MIT
作者
Microsoft Corporation

下载 票 图标

SVG 矢量源文件,或 PNG 按 16~512 预设与 16~1024 自定义尺寸导出,任意尺寸边缘锐利。

px

PNG 由矢量源实时渲染,任意尺寸边缘锐利无锯齿;下载与预览均免费,无需注册。

票 的预览与使用场景

切换预览颜色后,下方三底色、真实界面场景与各尺寸渲染会实时跟随。

预览颜色
票 图标 浅色背景预览浅色背景
票 图标 深色背景预览深色背景
票 图标 灰底融入预览灰底融入

在真实界面里长这样

继续按钮内 · 主操作
搜索票…输入框 · 前缀图标
票导航菜单 · 选中态
暂无内容空状态 · 引导提示
9:41票 App 图标票手机桌面 · App 图标
票fluent-emoji.design/icons/ticket浏览器 · 标签页与站点图标

各尺寸下的可读性

票 图标 24px 渲染24px票 图标 32px 渲染32px票 图标 48px 渲染48px票 图标 64px 渲染64px票 图标 96px 渲染96px票 图标 128px 渲染128px

复制 票 图标代码

内联 SVG、React、Vue 与 CSS mask 四种主流引用方式,代码基于当前源文件生成,复制即用。

svgSVG 源码(内联 HTML)
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><g fill="none"><g filter="url(#iPC3VFd)"><path fill="url(#imFlyPc)" d="M27.857 8.675h-5.11c-.25 0-.46.17-.53.41c-.19.65-.8 1.13-1.51 1.13s-1.32-.47-1.51-1.13a.555.555 0 0 0-.53-.41H4.237c-1.21 0-2.19.98-2.19 2.19v10.27c0 1.21.98 2.19 2.19 2.19h14.43c.25 0 .46-.17.53-.41c.19-.65.8-1.13 1.51-1.13s1.32.47 1.51 1.13c.07.24.28.41.53.41h5.11c1.21 0 2.19-.98 2.19-2.19v-10.27c0-1.21-.98-2.19-2.19-2.19m-7.15 11.37c-.87 0-1.58-.71-1.58-1.58s.71-1.58 1.58-1.58s1.58.71 1.58 1.58s-.71 1.58-1.58 1.58m0-4.92c-.87 0-1.58-.71-1.58-1.58s.71-1.58 1.58-1.58s1.58.71 1.58 1.58s-.71 1.58-1.58 1.58"/></g><path fill="url(#ihzmlod)" d="M27.857 8.675h-5.11c-.25 0-.46.17-.53.41c-.19.65-.8 1.13-1.51 1.13s-1.32-.47-1.51-1.13a.555.555 0 0 0-.53-.41H4.237c-1.21 0-2.19.98-2.19 2.19v10.27c0 1.21.98 2.19 2.19 2.19h14.43c.25 0 .46-.17.53-.41c.19-.65.8-1.13 1.51-1.13s1.32.47 1.51 1.13c.07.24.28.41.53.41h5.11c1.21 0 2.19-.98 2.19-2.19v-10.27c0-1.21-.98-2.19-2.19-2.19m-7.15 11.37c-.87 0-1.58-.71-1.58-1.58s.71-1.58 1.58-1.58s1.58.71 1.58 1.58s-.71 1.58-1.58 1.58m0-4.92c-.87 0-1.58-.71-1.58-1.58s.71-1.58 1.58-1.58s1.58.71 1.58 1.58s-.71 1.58-1.58 1.58"/><path fill="#D88B4C" d="M15.697 18.115h-9.44a.56.56 0 1 1 0-1.12h9.43c.31 0 .56.25.56.56a.55.55 0 0 1-.55.56m0 2.21h-9.44a.56.56 0 1 1 0-1.12h9.43c.31 0 .56.25.56.56c.01.3-.25.56-.55.56"/><path fill="#D6894C" d="M10.617 13.445h-4.07a.85.85 0 1 1 0-1.7h4.07c.47 0 .85.38.85.85c0 .48-.38.85-.85.85m16.87 3.22h-2.22c-.36 0-.65.29-.65.65v2.22c0 .36.29.65.65.65h2.22c.36 0 .65-.29.65-.65v-2.22c0-.36-.29-.65-.65-.65"/><defs><linearGradient id="imFlyPc" x1="28.871" x2="5.059" y1="19.14" y2="19.14" gradientUnits="userSpaceOnUse"><stop stop-color="#FFE74D"/><stop offset="1" stop-color="#F3C240"/></linearGradient><linearGradient id="ihzmlod" x1="30.307" x2="27.574" y1="16.546" y2="16.546" gradientUnits="userSpaceOnUse"><stop stop-color="#FFF250"/><stop offset="1" stop-color="#FFF250" stop-opacity="0"/></linearGradient><filter id="iPC3VFd" width="28" height="15.25" x="2.047" y="8.375" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy=".3"/><feGaussianBlur stdDeviation=".5"/><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"/><feColorMatrix values="0 0 0 0 0.866667 0 0 0 0 0.745098 0 0 0 0 0.270588 0 0 0 1 0"/><feBlend in2="shape" result="effect1_innerShadow_18_1354"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="-.3"/><feGaussianBlur stdDeviation=".5"/><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"/><feColorMatrix values="0 0 0 0 0.815686 0 0 0 0 0.588235 0 0 0 0 0.286275 0 0 0 1 0"/><feBlend in2="effect1_innerShadow_18_1354" result="effect2_innerShadow_18_1354"/></filter></defs></g></svg>
reactReact 组件(TSX)
export function TicketIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      xmlns="http://www.w3.org/2000/svg"
      width="1em"
      height="1em"
      viewBox="0 0 32 32"
      fill="currentColor"
      {...props}
      dangerouslySetInnerHTML={{ __html: `<g fill="none"><g filter="url(#iPC3VFd)"><path fill="url(#imFlyPc)" d="M27.857 8.675h-5.11c-.25 0-.46.17-.53.41c-.19.65-.8 1.13-1.51 1.13s-1.32-.47-1.51-1.13a.555.555 0 0 0-.53-.41H4.237c-1.21 0-2.19.98-2.19 2.19v10.27c0 1.21.98 2.19 2.19 2.19h14.43c.25 0 .46-.17.53-.41c.19-.65.8-1.13 1.51-1.13s1.32.47 1.51 1.13c.07.24.28.41.53.41h5.11c1.21 0 2.19-.98 2.19-2.19v-10.27c0-1.21-.98-2.19-2.19-2.19m-7.15 11.37c-.87 0-1.58-.71-1.58-1.58s.71-1.58 1.58-1.58s1.58.71 1.58 1.58s-.71 1.58-1.58 1.58m0-4.92c-.87 0-1.58-.71-1.58-1.58s.71-1.58 1.58-1.58s1.58.71 1.58 1.58s-.71 1.58-1.58 1.58"/></g><path fill="url(#ihzmlod)" d="M27.857 8.675h-5.11c-.25 0-.46.17-.53.41c-.19.65-.8 1.13-1.51 1.13s-1.32-.47-1.51-1.13a.555.555 0 0 0-.53-.41H4.237c-1.21 0-2.19.98-2.19 2.19v10.27c0 1.21.98 2.19 2.19 2.19h14.43c.25 0 .46-.17.53-.41c.19-.65.8-1.13 1.51-1.13s1.32.47 1.51 1.13c.07.24.28.41.53.41h5.11c1.21 0 2.19-.98 2.19-2.19v-10.27c0-1.21-.98-2.19-2.19-2.19m-7.15 11.37c-.87 0-1.58-.71-1.58-1.58s.71-1.58 1.58-1.58s1.58.71 1.58 1.58s-.71 1.58-1.58 1.58m0-4.92c-.87 0-1.58-.71-1.58-1.58s.71-1.58 1.58-1.58s1.58.71 1.58 1.58s-.71 1.58-1.58 1.58"/><path fill="#D88B4C" d="M15.697 18.115h-9.44a.56.56 0 1 1 0-1.12h9.43c.31 0 .56.25.56.56a.55.55 0 0 1-.55.56m0 2.21h-9.44a.56.56 0 1 1 0-1.12h9.43c.31 0 .56.25.56.56c.01.3-.25.56-.55.56"/><path fill="#D6894C" d="M10.617 13.445h-4.07a.85.85 0 1 1 0-1.7h4.07c.47 0 .85.38.85.85c0 .48-.38.85-.85.85m16.87 3.22h-2.22c-.36 0-.65.29-.65.65v2.22c0 .36.29.65.65.65h2.22c.36 0 .65-.29.65-.65v-2.22c0-.36-.29-.65-.65-.65"/><defs><linearGradient id="imFlyPc" x1="28.871" x2="5.059" y1="19.14" y2="19.14" gradientUnits="userSpaceOnUse"><stop stop-color="#FFE74D"/><stop offset="1" stop-color="#F3C240"/></linearGradient><linearGradient id="ihzmlod" x1="30.307" x2="27.574" y1="16.546" y2="16.546" gradientUnits="userSpaceOnUse"><stop stop-color="#FFF250"/><stop offset="1" stop-color="#FFF250" stop-opacity="0"/></linearGradient><filter id="iPC3VFd" width="28" height="15.25" x="2.047" y="8.375" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy=".3"/><feGaussianBlur stdDeviation=".5"/><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"/><feColorMatrix values="0 0 0 0 0.866667 0 0 0 0 0.745098 0 0 0 0 0.270588 0 0 0 1 0"/><feBlend in2="shape" result="effect1_innerShadow_18_1354"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="-.3"/><feGaussianBlur stdDeviation=".5"/><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"/><feColorMatrix values="0 0 0 0 0.815686 0 0 0 0 0.588235 0 0 0 0 0.286275 0 0 0 1 0"/><feBlend in2="effect1_innerShadow_18_1354" result="effect2_innerShadow_18_1354"/></filter></defs></g>` }}
    />
  );
}
vueVue 3 组件
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32" fill="currentColor" v-html="body"></svg>
</template>

<script setup>
const body = `<g fill="none"><g filter="url(#iPC3VFd)"><path fill="url(#imFlyPc)" d="M27.857 8.675h-5.11c-.25 0-.46.17-.53.41c-.19.65-.8 1.13-1.51 1.13s-1.32-.47-1.51-1.13a.555.555 0 0 0-.53-.41H4.237c-1.21 0-2.19.98-2.19 2.19v10.27c0 1.21.98 2.19 2.19 2.19h14.43c.25 0 .46-.17.53-.41c.19-.65.8-1.13 1.51-1.13s1.32.47 1.51 1.13c.07.24.28.41.53.41h5.11c1.21 0 2.19-.98 2.19-2.19v-10.27c0-1.21-.98-2.19-2.19-2.19m-7.15 11.37c-.87 0-1.58-.71-1.58-1.58s.71-1.58 1.58-1.58s1.58.71 1.58 1.58s-.71 1.58-1.58 1.58m0-4.92c-.87 0-1.58-.71-1.58-1.58s.71-1.58 1.58-1.58s1.58.71 1.58 1.58s-.71 1.58-1.58 1.58"/></g><path fill="url(#ihzmlod)" d="M27.857 8.675h-5.11c-.25 0-.46.17-.53.41c-.19.65-.8 1.13-1.51 1.13s-1.32-.47-1.51-1.13a.555.555 0 0 0-.53-.41H4.237c-1.21 0-2.19.98-2.19 2.19v10.27c0 1.21.98 2.19 2.19 2.19h14.43c.25 0 .46-.17.53-.41c.19-.65.8-1.13 1.51-1.13s1.32.47 1.51 1.13c.07.24.28.41.53.41h5.11c1.21 0 2.19-.98 2.19-2.19v-10.27c0-1.21-.98-2.19-2.19-2.19m-7.15 11.37c-.87 0-1.58-.71-1.58-1.58s.71-1.58 1.58-1.58s1.58.71 1.58 1.58s-.71 1.58-1.58 1.58m0-4.92c-.87 0-1.58-.71-1.58-1.58s.71-1.58 1.58-1.58s1.58.71 1.58 1.58s-.71 1.58-1.58 1.58"/><path fill="#D88B4C" d="M15.697 18.115h-9.44a.56.56 0 1 1 0-1.12h9.43c.31 0 .56.25.56.56a.55.55 0 0 1-.55.56m0 2.21h-9.44a.56.56 0 1 1 0-1.12h9.43c.31 0 .56.25.56.56c.01.3-.25.56-.55.56"/><path fill="#D6894C" d="M10.617 13.445h-4.07a.85.85 0 1 1 0-1.7h4.07c.47 0 .85.38.85.85c0 .48-.38.85-.85.85m16.87 3.22h-2.22c-.36 0-.65.29-.65.65v2.22c0 .36.29.65.65.65h2.22c.36 0 .65-.29.65-.65v-2.22c0-.36-.29-.65-.65-.65"/><defs><linearGradient id="imFlyPc" x1="28.871" x2="5.059" y1="19.14" y2="19.14" gradientUnits="userSpaceOnUse"><stop stop-color="#FFE74D"/><stop offset="1" stop-color="#F3C240"/></linearGradient><linearGradient id="ihzmlod" x1="30.307" x2="27.574" y1="16.546" y2="16.546" gradientUnits="userSpaceOnUse"><stop stop-color="#FFF250"/><stop offset="1" stop-color="#FFF250" stop-opacity="0"/></linearGradient><filter id="iPC3VFd" width="28" height="15.25" x="2.047" y="8.375" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy=".3"/><feGaussianBlur stdDeviation=".5"/><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"/><feColorMatrix values="0 0 0 0 0.866667 0 0 0 0 0.745098 0 0 0 0 0.270588 0 0 0 1 0"/><feBlend in2="shape" result="effect1_innerShadow_18_1354"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="-.3"/><feGaussianBlur stdDeviation=".5"/><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"/><feColorMatrix values="0 0 0 0 0.815686 0 0 0 0 0.588235 0 0 0 0 0.286275 0 0 0 1 0"/><feBlend in2="effect1_innerShadow_18_1354" result="effect2_innerShadow_18_1354"/></filter></defs></g>`;
</script>
cssCSS mask(随 currentColor 改色)
.ticket {
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%20fill%3D%22none%22%3E%3Cg%20filter%3D%22url(%23iPC3VFd)%22%3E%3Cpath%20fill%3D%22url(%23imFlyPc)%22%20d%3D%22M27.857%208.675h-5.11c-.25%200-.46.17-.53.41c-.19.65-.8%201.13-1.51%201.13s-1.32-.47-1.51-1.13a.555.555%200%200%200-.53-.41H4.237c-1.21%200-2.19.98-2.19%202.19v10.27c0%201.21.98%202.19%202.19%202.19h14.43c.25%200%20.46-.17.53-.41c.19-.65.8-1.13%201.51-1.13s1.32.47%201.51%201.13c.07.24.28.41.53.41h5.11c1.21%200%202.19-.98%202.19-2.19v-10.27c0-1.21-.98-2.19-2.19-2.19m-7.15%2011.37c-.87%200-1.58-.71-1.58-1.58s.71-1.58%201.58-1.58s1.58.71%201.58%201.58s-.71%201.58-1.58%201.58m0-4.92c-.87%200-1.58-.71-1.58-1.58s.71-1.58%201.58-1.58s1.58.71%201.58%201.58s-.71%201.58-1.58%201.58%22%2F%3E%3C%2Fg%3E%3Cpath%20fill%3D%22url(%23ihzmlod)%22%20d%3D%22M27.857%208.675h-5.11c-.25%200-.46.17-.53.41c-.19.65-.8%201.13-1.51%201.13s-1.32-.47-1.51-1.13a.555.555%200%200%200-.53-.41H4.237c-1.21%200-2.19.98-2.19%202.19v10.27c0%201.21.98%202.19%202.19%202.19h14.43c.25%200%20.46-.17.53-.41c.19-.65.8-1.13%201.51-1.13s1.32.47%201.51%201.13c.07.24.28.41.53.41h5.11c1.21%200%202.19-.98%202.19-2.19v-10.27c0-1.21-.98-2.19-2.19-2.19m-7.15%2011.37c-.87%200-1.58-.71-1.58-1.58s.71-1.58%201.58-1.58s1.58.71%201.58%201.58s-.71%201.58-1.58%201.58m0-4.92c-.87%200-1.58-.71-1.58-1.58s.71-1.58%201.58-1.58s1.58.71%201.58%201.58s-.71%201.58-1.58%201.58%22%2F%3E%3Cpath%20fill%3D%22%23D88B4C%22%20d%3D%22M15.697%2018.115h-9.44a.56.56%200%201%201%200-1.12h9.43c.31%200%20.56.25.56.56a.55.55%200%200%201-.55.56m0%202.21h-9.44a.56.56%200%201%201%200-1.12h9.43c.31%200%20.56.25.56.56c.01.3-.25.56-.55.56%22%2F%3E%3Cpath%20fill%3D%22%23D6894C%22%20d%3D%22M10.617%2013.445h-4.07a.85.85%200%201%201%200-1.7h4.07c.47%200%20.85.38.85.85c0%20.48-.38.85-.85.85m16.87%203.22h-2.22c-.36%200-.65.29-.65.65v2.22c0%20.36.29.65.65.65h2.22c.36%200%20.65-.29.65-.65v-2.22c0-.36-.29-.65-.65-.65%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22imFlyPc%22%20x1%3D%2228.871%22%20x2%3D%225.059%22%20y1%3D%2219.14%22%20y2%3D%2219.14%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23FFE74D%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F3C240%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22ihzmlod%22%20x1%3D%2230.307%22%20x2%3D%2227.574%22%20y1%3D%2216.546%22%20y2%3D%2216.546%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23FFF250%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23FFF250%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3Cfilter%20id%3D%22iPC3VFd%22%20width%3D%2228%22%20height%3D%2215.25%22%20x%3D%222.047%22%20y%3D%228.375%22%20color-interpolation-filters%3D%22sRGB%22%20filterUnits%3D%22userSpaceOnUse%22%3E%3CfeFlood%20flood-opacity%3D%220%22%20result%3D%22BackgroundImageFix%22%2F%3E%3CfeBlend%20in%3D%22SourceGraphic%22%20in2%3D%22BackgroundImageFix%22%20result%3D%22shape%22%2F%3E%3CfeColorMatrix%20in%3D%22SourceAlpha%22%20result%3D%22hardAlpha%22%20values%3D%220%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200%22%2F%3E%3CfeOffset%20dy%3D%22.3%22%2F%3E%3CfeGaussianBlur%20stdDeviation%3D%22.5%22%2F%3E%3CfeComposite%20in2%3D%22hardAlpha%22%20k2%3D%22-1%22%20k3%3D%221%22%20operator%3D%22arithmetic%22%2F%3E%3CfeColorMatrix%20values%3D%220%200%200%200%200.866667%200%200%200%200%200.745098%200%200%200%200%200.270588%200%200%200%201%200%22%2F%3E%3CfeBlend%20in2%3D%22shape%22%20result%3D%22effect1_innerShadow_18_1354%22%2F%3E%3CfeColorMatrix%20in%3D%22SourceAlpha%22%20result%3D%22hardAlpha%22%20values%3D%220%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200%22%2F%3E%3CfeOffset%20dy%3D%22-.3%22%2F%3E%3CfeGaussianBlur%20stdDeviation%3D%22.5%22%2F%3E%3CfeComposite%20in2%3D%22hardAlpha%22%20k2%3D%22-1%22%20k3%3D%221%22%20operator%3D%22arithmetic%22%2F%3E%3CfeColorMatrix%20values%3D%220%200%200%200%200.815686%200%200%200%200%200.588235%200%200%200%200%200.286275%200%200%200%201%200%22%2F%3E%3CfeBlend%20in2%3D%22effect1_innerShadow_18_1354%22%20result%3D%22effect2_innerShadow_18_1354%22%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%20fill%3D%22none%22%3E%3Cg%20filter%3D%22url(%23iPC3VFd)%22%3E%3Cpath%20fill%3D%22url(%23imFlyPc)%22%20d%3D%22M27.857%208.675h-5.11c-.25%200-.46.17-.53.41c-.19.65-.8%201.13-1.51%201.13s-1.32-.47-1.51-1.13a.555.555%200%200%200-.53-.41H4.237c-1.21%200-2.19.98-2.19%202.19v10.27c0%201.21.98%202.19%202.19%202.19h14.43c.25%200%20.46-.17.53-.41c.19-.65.8-1.13%201.51-1.13s1.32.47%201.51%201.13c.07.24.28.41.53.41h5.11c1.21%200%202.19-.98%202.19-2.19v-10.27c0-1.21-.98-2.19-2.19-2.19m-7.15%2011.37c-.87%200-1.58-.71-1.58-1.58s.71-1.58%201.58-1.58s1.58.71%201.58%201.58s-.71%201.58-1.58%201.58m0-4.92c-.87%200-1.58-.71-1.58-1.58s.71-1.58%201.58-1.58s1.58.71%201.58%201.58s-.71%201.58-1.58%201.58%22%2F%3E%3C%2Fg%3E%3Cpath%20fill%3D%22url(%23ihzmlod)%22%20d%3D%22M27.857%208.675h-5.11c-.25%200-.46.17-.53.41c-.19.65-.8%201.13-1.51%201.13s-1.32-.47-1.51-1.13a.555.555%200%200%200-.53-.41H4.237c-1.21%200-2.19.98-2.19%202.19v10.27c0%201.21.98%202.19%202.19%202.19h14.43c.25%200%20.46-.17.53-.41c.19-.65.8-1.13%201.51-1.13s1.32.47%201.51%201.13c.07.24.28.41.53.41h5.11c1.21%200%202.19-.98%202.19-2.19v-10.27c0-1.21-.98-2.19-2.19-2.19m-7.15%2011.37c-.87%200-1.58-.71-1.58-1.58s.71-1.58%201.58-1.58s1.58.71%201.58%201.58s-.71%201.58-1.58%201.58m0-4.92c-.87%200-1.58-.71-1.58-1.58s.71-1.58%201.58-1.58s1.58.71%201.58%201.58s-.71%201.58-1.58%201.58%22%2F%3E%3Cpath%20fill%3D%22%23D88B4C%22%20d%3D%22M15.697%2018.115h-9.44a.56.56%200%201%201%200-1.12h9.43c.31%200%20.56.25.56.56a.55.55%200%200%201-.55.56m0%202.21h-9.44a.56.56%200%201%201%200-1.12h9.43c.31%200%20.56.25.56.56c.01.3-.25.56-.55.56%22%2F%3E%3Cpath%20fill%3D%22%23D6894C%22%20d%3D%22M10.617%2013.445h-4.07a.85.85%200%201%201%200-1.7h4.07c.47%200%20.85.38.85.85c0%20.48-.38.85-.85.85m16.87%203.22h-2.22c-.36%200-.65.29-.65.65v2.22c0%20.36.29.65.65.65h2.22c.36%200%20.65-.29.65-.65v-2.22c0-.36-.29-.65-.65-.65%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22imFlyPc%22%20x1%3D%2228.871%22%20x2%3D%225.059%22%20y1%3D%2219.14%22%20y2%3D%2219.14%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23FFE74D%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F3C240%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22ihzmlod%22%20x1%3D%2230.307%22%20x2%3D%2227.574%22%20y1%3D%2216.546%22%20y2%3D%2216.546%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23FFF250%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23FFF250%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3Cfilter%20id%3D%22iPC3VFd%22%20width%3D%2228%22%20height%3D%2215.25%22%20x%3D%222.047%22%20y%3D%228.375%22%20color-interpolation-filters%3D%22sRGB%22%20filterUnits%3D%22userSpaceOnUse%22%3E%3CfeFlood%20flood-opacity%3D%220%22%20result%3D%22BackgroundImageFix%22%2F%3E%3CfeBlend%20in%3D%22SourceGraphic%22%20in2%3D%22BackgroundImageFix%22%20result%3D%22shape%22%2F%3E%3CfeColorMatrix%20in%3D%22SourceAlpha%22%20result%3D%22hardAlpha%22%20values%3D%220%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200%22%2F%3E%3CfeOffset%20dy%3D%22.3%22%2F%3E%3CfeGaussianBlur%20stdDeviation%3D%22.5%22%2F%3E%3CfeComposite%20in2%3D%22hardAlpha%22%20k2%3D%22-1%22%20k3%3D%221%22%20operator%3D%22arithmetic%22%2F%3E%3CfeColorMatrix%20values%3D%220%200%200%200%200.866667%200%200%200%200%200.745098%200%200%200%200%200.270588%200%200%200%201%200%22%2F%3E%3CfeBlend%20in2%3D%22shape%22%20result%3D%22effect1_innerShadow_18_1354%22%2F%3E%3CfeColorMatrix%20in%3D%22SourceAlpha%22%20result%3D%22hardAlpha%22%20values%3D%220%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200%22%2F%3E%3CfeOffset%20dy%3D%22-.3%22%2F%3E%3CfeGaussianBlur%20stdDeviation%3D%22.5%22%2F%3E%3CfeComposite%20in2%3D%22hardAlpha%22%20k2%3D%22-1%22%20k3%3D%221%22%20operator%3D%22arithmetic%22%2F%3E%3CfeColorMatrix%20values%3D%220%200%200%200%200.815686%200%200%200%200%200.588235%200%200%200%200%200.286275%200%200%200%201%200%22%2F%3E%3CfeBlend%20in2%3D%22effect1_innerShadow_18_1354%22%20result%3D%22effect2_innerShadow_18_1354%22%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

给 票 加一点动效

单文件 CSS 即可播放,无需任何依赖;描画动效仅对描边类图标生效。

ticket 呼吸动效演示

呼吸

透明度往复渐变,适合状态提示与在线指示。

css呼吸动效样式
.icon-ticket {
  animation: icon-breathe 1.8s ease-in-out infinite;
}

@keyframes icon-breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
ticket 旋转动效演示

旋转

匀速循环旋转,适合加载中场景。

css旋转动效样式
.icon-ticket {
  animation: icon-spin 1.6s linear infinite;
}

@keyframes icon-spin {
  to { transform: rotate(360deg); }
}

SVG 健康报告

对源文件的客观技术指标,供工程侧评估引用方式。

文件体积

3.00 KB

3,076 字节

viewBox

0 0 32 32

矢量坐标系

图元总数

4

<path> ×4

风格

多色填充

填充跟随容器颜色

同时含 width/height 与 viewBox:可以只保留 viewBox,让图标跟随容器自适应缩放。 文件体积 3.00 KB(3,076 字节),图元 4 个,风格为多色填充。

常见问题

关于 票 图标的下载、商用与改色。

票 图标是什么?▾

它是 Fluent Emoji(fluent-emoji)开源图标集中的 ticket 图标,多色填充,viewBox 为 0 0 32 32,文件仅 3.00 KB,矢量格式可无损缩放到任意尺寸。

如何下载 票 图标?▾

点击「下载与导出」中的 SVG 源文件按钮保存矢量文件;也可以按 512 / 256 / 128 / 64 / 32 / 16px 预设导出 PNG,或在输入框填 16~1024 之间的任意尺寸。需要 iOS、Android 全套尺寸时,用素材包生成器一键打包。

票 图标可以商用吗?▾

该图标采用 MIT(MIT) 开源协议,通常允许在遵守协议的前提下免费使用,常见要求是保留作者版权声明。商用前建议阅读协议原文确认。

如何修改 票 图标的颜色?▾

在「预览与场景」的色板中切换颜色,三底色与全部场景会实时跟随;点击任一相近图标可打开预览弹层,复制对应颜色的 SVG 源码或 PNG。也可以复制 SVG 源码后自行修改 fill 值。