Skip to content

FilterChip API

API reference docs for the Stash FilterChip component. Learn about the props, CSS, and other APIs of this exported module.

Import

ts
import FilterChip from '@leaflink/stash/FilterChip.vue';

Props

NameTypeDefaultDescription
filterCountnumberundefinedUsed for conditionally rendering filter count chip
hasDropdownbooleanfalseUse for conditionally rendering caret
isDropdownOpenbooleanfalseUsed for styling when `hasDropdown` is true
isRemovablebooleanfalseUsed for conditionally rendering close icon and exposing remove event
isSelectedbooleanfalseUsed for conditionally applying styles

Slots

NameDescription
defaultdefault

Events

NameDescription
click
remove