diff --git a/docs/slots.md b/docs/slots.md
index f41e841..6b00018 100644
--- a/docs/slots.md
+++ b/docs/slots.md
@@ -42,6 +42,23 @@ Customize the rendered HTML if a selected option (inside the select control). Yo
```
+## tag
+
+**Type**: `slotProps: { option: Option, removeOption: () => void }`
+
+Customize the rendered HTML for a tag representing a selected option in multi-select mode (when `isMulti` is true). You can use the slot props to retrieve the current selected option and a function to remove the option from the selection.
+
+```vue
+
+
Selected user value: {{ activeUsers || "none" }} @@ -89,6 +96,21 @@ body { font-weight: 500; font-family: "IBM Plex Mono", monospace; } + + .custom-tags { + background-color: #e0f7fa; + padding: 5px 10px; + margin: 3px; + border-radius: 12px; + display: inline-flex; + align-items: center; + } + + .custom-x-mark { + cursor: pointer; + margin-left: 8px; + color: #00796b; + } } } diff --git a/src/Select.vue b/src/Select.vue index 8a1a222..ad8c478 100644 --- a/src/Select.vue +++ b/src/Select.vue @@ -402,17 +402,25 @@ onBeforeUnmount(() => { - -