Chip

Universal Dashboard is now a part of PowerShell Universal. This documentation is for reference to the v2 version of Universal Dashboard and is no longer maintained. PowerShell Universal Documentation can be found here.

Chip

Label

New-UDMuChip -Label "my Label" -Id "chip"
Chip with label

Icon

$Icon = New-UDMuIcon -Icon 'user' -Size sm -Style @{color = '#fff'}
New-UDMuChip -Label "Demo User" -Icon $Icon
Chip with Icon

OnClick

New-UDMuChip -Label "my Label" -OnClick {
Show-UDToast 'Clicked' -Position topLeft
}
Clickable Chip

OnDelete

New-UDMuChip -Label "my Label" -OnDelete {
Show-UDToast 'Deleted' -Position topLeft
}
Delete Chip