Denji

denji list

List all icons in your project

Display all icons currently in your project.

Usage

denji list [options]

Options

--display

Type: "default" | "json" | "toon" Default: "default"

Output format for the icon list.

denji list --display json

Examples

List icons (human-readable):

denji list

Output:

Found 3 icon(s) in ./src/icons.tsx

Icons:
  • Check (lucide:check)
  • HomeOutline (mdi:home-outline)
  • ArrowRight (lucide:arrow-right)

List as JSON:

denji list --display json

Output:

{
  "count": 3,
  "output": "./src/icons.tsx",
  "icons": [
    {
      "name": "Check",
      "source": "lucide:check"
    },
    {
      "name": "HomeOutline",
      "source": "mdi:home-outline"
    },
    {
      "name": "ArrowRight",
      "source": "lucide:arrow-right"
    }
  ]
}

List as TOON format:

denji list --display toon

Use Cases

  • Audit project icons
  • Generate documentation
  • CI/CD validation
  • Export icon inventory

On this page