Twitter icon
A hand-drawn twitter 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
- Brands
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
twitter
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 TwitterIcon.tsx
import { SvgXml } from "react-native-svg";
const TwitterIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g transform="translate(-0.5 0)"><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M3.6 18.3C5.2 19.2 7 19.6 9 19.6C14.8 19.6 19.5 15 19.7 9.2L21.5 5.7L18.5 6.1C17.9 5.5 17 5.2 16.1 5.2C13.8 5.2 12.1 7.5 12.6 9.7C9.4 9.9 6.5 8 4.9 5.3C3.8 9.1 4.8 13.7 7.6 16.5C7.6 17.5 4.9 18.2 3.6 18.3Z"></path></g></g></svg>`;
<SvgXml xml={TwitterIcon} 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 twitter.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g transform="translate(-0.5 0)"><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M3.6 18.3C5.2 19.2 7 19.6 9 19.6C14.8 19.6 19.5 15 19.7 9.2L21.5 5.7L18.5 6.1C17.9 5.5 17 5.2 16.1 5.2C13.8 5.2 12.1 7.5 12.6 9.7C9.4 9.9 6.5 8 4.9 5.3C3.8 9.1 4.8 13.7 7.6 16.5C7.6 17.5 4.9 18.2 3.6 18.3Z"></path></g></g></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/twitter.svg" width="24" height="24" alt="Twitter" />