Zendesk Garden Icons
Meta Data
Column Name |
Data |
Description |
Name |
Zendesk Garden |
Name of the Pack |
Shortcode |
garden |
Shortcode of the pack used for filtering |
Github Link |
https://github.com/zendeskgarden/svg-icons |
Github Repository Link |
Total |
|
Total Number of Icons |
Author |
Zendesk |
Author of the Icon Pack |
Author Link |
|
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 |
currentColor |
{{IconColor}} |
PowerShell script to create csv from repository.
$counter = 1
$file = "D:AppzIconManagerPacksCSVgarden-20250511.csv"
write-host "zendesk garden icons"
$setName = "garden"
$path = "D:AppzIconManagerPacksgardensvg-iconssrc*.svg"
$icons = get-childitem -File $path -recurse
ForEach($icon in $icons){
[string]$string = Get-Content $icon.FullName
[string]$path = $icon.DirectoryName.Split('')[-1]
$cat = $icon.Name.Split('-')[-1].Replace('.svg','')
$TextInfo = (Get-Culture).TextInfo
$stname = $icon.Name.Replace(".svg","").Replace("-"," ").Replace($cat,"").Trim()
$name = $TextInfo.ToTitleCase($stname.ToLower())
$objResults = New-Object PSObject -Property @{
pp_id = $counter;
pp_name = $name
pp_svg = $string.Replace("""","'");
pp_pack = $setName
pp_size = $path
pp_category = $cat
}
$counter++
$objResults | Export-CSV $file -Append -NoTypeInformation -force
}