Vote icon
A hand-drawn vote icon that animates on its own: an SVG on a 24px grid in thin, regular and bold strokes. Free to download and use in the apps you build (LumioUI License). It takes your text colour through currentColor.
- Category
- Essentials
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
vote
Stroke weights and sizes
Use it in React Native
Paste the SVG into react-native-svg's SvgXml. The Icon component covers a curated set by name, and Animated Icons plays the motion natively.
TSX VoteIcon.tsx
import { SvgXml } from "react-native-svg";
const VoteIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M5 19.2L5 7.4C5 6.3 5.9 5.4 7 5.4L17 5.4C18.1 5.4 19 6.3 19 7.4L19 19.2"></path></g><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="2.9" x2="21.1" y1="19.2" y2="19.2"></line><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.8 12.4L11.2 14.8L15.6 9.6" pathLength="1" stroke-dasharray="1"></path></svg>`;
<SvgXml xml={VoteIcon} width={24} height={24} color="#111" /> SVG code
The still glyph. The animated version, linked above, plays its motion on its own with SMIL, so it needs no script.
SVG vote.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M5 19.2L5 7.4C5 6.3 5.9 5.4 7 5.4L17 5.4C18.1 5.4 19 6.3 19 7.4L19 19.2"></path></g><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="2.9" x2="21.1" y1="19.2" y2="19.2"></line><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.8 12.4L11.2 14.8L15.6 9.6" pathLength="1" stroke-dasharray="1"></path></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/vote.svg" width="24" height="24" alt="Vote" />