Integrating Tabler Icons with Phoenix

246
clicks
Integrating Tabler Icons with Phoenix

Source: farens.me

Type: Post

The article explains a detailed step-by-step process to integrate the Tabler Icons library into a Phoenix project. Florian covers everything from tracking the Tabler Icons repository using Mix, updating the Tailwind CSS configuration, generating the necessary CSS classes, and building an icon component that can be used in templates. The document also goes into specifics such as removing width and height from SVG files and generating appropriate CSS for these Icons. It's an adaptation of a method used by the Phoenix team for Heroicons.

© HashMerge 2024