Codepen icon
A hand-drawn codepen 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
codepen
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 CodepenIcon.tsx
import { SvgXml } from "react-native-svg";
const CodepenIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12 3.2L16.1 5.9Q20.2 8.6 20.2 12Q20.2 15.4 16.1 18.1L12 20.8L3.8 15.4L3.8 8.6Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M3.8 8.6L7.9 11.05Q12 13.5 16.1 11.05L20.2 8.6M12 13.5L12 20.8"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12 3.2L12 8.3M3.8 15.4L7.9 12.95Q12 10.5 16.1 12.95L20.2 15.4"></path></svg>`;
<SvgXml xml={CodepenIcon} 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 codepen.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12 3.2L16.1 5.9Q20.2 8.6 20.2 12Q20.2 15.4 16.1 18.1L12 20.8L3.8 15.4L3.8 8.6Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M3.8 8.6L7.9 11.05Q12 13.5 16.1 11.05L20.2 8.6M12 13.5L12 20.8"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12 3.2L12 8.3M3.8 15.4L7.9 12.95Q12 10.5 16.1 12.95L20.2 15.4"></path></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/codepen.svg" width="24" height="24" alt="Codepen" />