sprite.mdx 556 B

12345678910111213141516171819202122
  1. ---
  2. title: SVG sprite version
  3. ---
  4. ![](https://raw.githubusercontent.com/tabler/tabler-icons/master/.github/packages/og-package-sprite.png)
  5. ## Installation
  6. <TabsPackage name="@tabler/icons-sprite" />
  7. or just [download from Github](https://github.com/tabler/tabler-icons/releases).
  8. ## Usage
  9. Add an icon to be displayed on your page with the following markup (`activity` in the following example can be replaced with
  10. any valid icon name):
  11. ```html
  12. <svg width="24" height="24">
  13. <use xlink:href="path/to/tabler-sprite.svg#tabler-activity" />
  14. </svg>
  15. ```