Skip to content

Filter Chip

Compact toggle chip for filters.

Usage

vue
<script setup>
import { ref } from "vue";
import { ArchFilterChip } from "@archora/ui";

const active = ref(false);
</script>

<template>
  <ArchFilterChip :active="active" @toggle="active = !active">Healthy</ArchFilterChip>
</template>

Live sandbox

Filter Chip can be tested directly on this page.

interactive
<FilterChip />

Props

PropTypeDefaultDescription
activebooleanfalseActive state.
disabledbooleanfalseDisables the component.

Events

EventPayloadDescription
toggle-Component event.

Slots

SlotPropsDescription
default-Chip text.