[featured_image]
Download
Download is available until [expire_date]
  • Version
  • Download 0
  • File Size 762.98 KB
  • File Count 1
  • Create Date May 10, 2025
  • Last Updated May 10, 2025

Box Icons

Meta Data

Column Name Data Description
Name Box Icons Name of the Pack
Shortcode material Shortcode of the pack used for filtering
Github Link https://github.com/atisawd/boxicons Github Repository Link
Total Total Number of Icons
Author Atisa Author of the Icon Pack
Author Link https://github.com/atisawd Link to the Author
Icon SVG SVG for the Pack Logo, or
Logo PNG or JPG for the Pack Logo
Icons CSV CSV FIle of the Icons
Has Categories Yes Are categories used to group icons within a pack.

Transformations

Name Transform From Transform To
1 ' /></svg> ' fill='{{IconColor}}'/></svg>

PowerShell script to create csv from repository.

$counter = 1
$file = "D:AppzIconManagerPacksCSVox-20250503.csv"
write-host "Box Icons "
$setName = "box"

# Core

$path = "D:AppzIconManagerPacksoxiconssvg*.svg"
$icons = get-childitem -File $path -recurse


ForEach($icon in $icons){
    [string]$svg = Get-Content $icon.FullName;
   # [array]$split = $icon.Name.Split('-')
    [string]$path = $icon.DirectoryName.Split('')[-1]
    $TextInfo = (Get-Culture).TextInfo
    $string = $icon.Name.Replace("-"," ").Replace(".svg","").Replace("bxl","").Replace("bxs","").Replace("bx","").Trim()
 
    # Capitalize the first letter of each word
    $name = $TextInfo.ToTitleCase($string.ToLower())
    $name
    $path
    $objResults = New-Object PSObject -Property @{
        pp_id = $counter;
        pp_name =  $name 
        pp_svg = $svg.Replace("""","'");
        pp_pack = $setName
        pp_size = "24"
        pp_category = $path
    }
    $counter++
    $objResults | Export-CSV $file -Append -NoTypeInformation -force
}

write-host "Finished"

Leave a Comment

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *