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

1
New-UDMuChip -Label "my Label" -Id "chip"
Copied!
Chip with label

Icon

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

OnClick

1
New-UDMuChip -Label "my Label" -OnClick {
2
Show-UDToast 'Clicked' -Position topLeft
3
}
Copied!
Clickable Chip

OnDelete

1
New-UDMuChip -Label "my Label" -OnDelete {
2
Show-UDToast 'Deleted' -Position topLeft
3
}
Copied!
Delete Chip
Last modified 7mo ago