Skip to content

boywithkeyboard-archive/twemoji_svg

Repository files navigation

@twemoji/svg

Usage

CSS

.class {
  background: url("https://cdn.jsdelivr.net/npm/@twemoji/svg@latest/1f310.svg");
}

HTML

<img src="https://cdn.jsdelivr.net/npm/@twemoji/svg@latest/1f310.svg" />

JavaScript

npm i @twemoji/svg
import src from '@twemoji/svg/1f310.svg'

export function App() {
  return <img src={src} />
}

Versioning

  • Major Updates (X.y.z) for adding/revising SVG files according to the Unicode specification.
  • Minor Updates (x.y.z) for revising SVG files.
  • Patch updates (x.y.Z) for updating the library (readme, license, etc.).