mkfav

mkfav

Convert Lucide icons to favicons. One command.

npm install -g mkfav
npx mkfav --icon heart

Features

Usage

Basic usage
$ mkfav --icon heart
Creates icon.ico in current directory
Custom filename
$ mkfav --icon folder-git-2 --output favicon
Outputs as favicon.ico
Full path with extension
$ mkfav --icon rocket --output my-site-favicon.ico
Explicit filename with .ico extension

Options

--icon, -i Required
Lucide icon name (kebab-case)
--output, -o
Output filename (optional, defaults to icon.ico)
--version, -v
Show version number
--help, -h
Show help

Icon Names

Use the kebab-case version of any icon from lucide.dev

arrow-right ArrowRight
folder-git-2 FolderGit2
zap Zap