mirror of
https://github.com/tabler/tabler.git
synced 2026-10-12 05:06:55 +04:00
44 lines
2.0 KiB
Plaintext
44 lines
2.0 KiB
Plaintext
---
|
|
title: PDF version
|
|
summary: Use the PDF files in documents, presentations and print workflows.
|
|
description: Download Tabler Icons as PDF files, ready to place in documents, presentations, and print workflows without conversion.
|
|
---
|
|
|
|
import TabsPackage from '@components/TabsPackage.astro'
|
|
import { Code } from 'astro:components'
|
|
import { site } from '@shared/lib/site.ts'
|
|
|
|

|
|
|
|
|
|
## Installation
|
|
|
|
<TabsPackage name="@tabler/icons-pdf" />
|
|
|
|
or just [download from Github](https://github.com/tabler/tabler-icons/releases).
|
|
|
|
Files live in `icons/outline` and `icons/filled`, one PDF per icon, named after the icon.
|
|
|
|
## Usage
|
|
|
|
A PDF icon is a vector file, so it stays sharp at any size and prints cleanly. Place it the same way as any other vector asset.
|
|
|
|
- **Documents and presentations.** Insert the file directly in Word, Pages, Google Docs, Keynote or PowerPoint. Scaling it up will not blur it.
|
|
- **Print and layout tools.** InDesign, Affinity Publisher and Scribus place PDF files natively, keeping the paths editable.
|
|
- **Vector editors.** Illustrator, Affinity Designer and Inkscape open a PDF icon as editable paths, so you can change the stroke or recolour it.
|
|
|
|
Each icon is drawn as a stroke, not a filled shape. Recolour the stroke rather than the fill, and keep the stroke width proportional when you resize - otherwise a large icon looks thin and a small one looks heavy.
|
|
|
|
## CDN
|
|
|
|
Load a single icon straight from the package without installing it:
|
|
|
|
<Code lang="html" code={`https://unpkg.com/@tabler/icons-pdf@${site.iconsVersion}/icons/outline/home.pdf
|
|
https://unpkg.com/@tabler/icons-pdf@${site.iconsVersion}/icons/filled/home.pdf`} />
|
|
|
|
Swap the version for `latest` to always pull the newest icons, or keep it pinned so the set stays stable.
|
|
|
|
## When to use another format
|
|
|
|
Use [SVG](/icons/static-files/svg) on the web - it is smaller and can be styled with CSS. Use [PNG](/icons/static-files/png) where vectors are not supported at all. PDF is for documents and print.
|