> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/powershell-universal/fr/apps/components/data-display/chip.md).

# Puce

Les chips sont des éléments compacts qui représentent une entrée, un attribut ou une action.

Les chips permettent aux utilisateurs de saisir des informations, d'effectuer des sélections, de filtrer du contenu ou de déclencher des actions.

Bien qu'il soit présenté ici comme composant autonome, l'utilisation la plus courante se fera dans une forme de saisie ; certains des comportements illustrés ici ne sont donc pas montrés en contexte.

## Chips de base

![](/files/lehYM5pfYz82Ic79AQQr)

```powershell
 New-UDChip -Label 'Basic'
```

## Chips avec icônes

![](/files/HjiZ0cjEEBfjlfz0C0Q8)

```powershell
New-UDChip -Label 'Basic' -Icon (New-UDIcon -Icon 'user')
```

## OnClick

Affiche une notification toast lorsque l'on clique sur le chip.

```powershell
New-UDChip -Label 'OnClick' -OnClick {
    Show-UDToast -Message 'Hello!'
}
```

## OnDelete

```powershell
New-UDChip -Label 'OnDelete' -OnClick {
    Show-UDToast -Message 'Goodbye!'
}
```

## **API**

[New-UDChip](https://github.com/ironmansoftware/universal-docs/blob/v5/cmdlets/New-UDChip.txt)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.devolutions.net/powershell-universal/fr/apps/components/data-display/chip.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
