@opengis/filter
A flexible and extensible filter component system for Vue 3. Ideal for building customizable filter UIs with checkbox, radio, or custom slot fields.
10,212
| Install | |
|---|---|
npm install @opengis/filter |
|
| Latest Version: | 0.1.62 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Jul 30, 2025 |
| Links: | GitHub · npm |
Maintainer: evheniihavryliuk
Filter Panel
A flexible and extensible filter component system for Vue 3. Ideal for building customizable filter UIs with checkbox, radio, or custom slot fields.
Features
- Schema-based filter rendering (radio, checkbox)
- Slot-based extensibility for custom filters
- Built-in clear/reset support
- Emits
changeandclearevents - Popover support with positioning logic
- Show more / limit options logic
- Written in TypeScript
- Fully styleable with Tailwind CSS
- Mobile-friendly and responsive
Documentation
Check out the documentation and live demo here: Live Demo & Docs
Install & Usage
Install
npm i @opengis/filter
Usage
<template>
<VsFilter :schema="schema" @change="console.log($event.data)" />
</template>
<script setup lang="ts">
import {ref} from 'vue'
import VsFilter from "@opengis/filter";
// import { Filter, FilterField } from '@opengis/filter'; // component import
const schema = ref([
{name: 'media', type: 'checkbox', label: 'Media type', options: [...] },
{name: 'source', type: 'radio', label: 'Source', options: [...] }
]);
</script>
Register
// main.ts
import VsFilter from '@opengis/filter';
app.use(VsFilter); // Register: Filter, VsFilter, FilterField
Style
<script src="https://cdn.tailwindcss.com"></script>
Contributions
We welcome contributions! Feel free to open issues, suggest features, or submit pull requests.
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.1.62 | ^3.5.18 | MIT | |
| 0.1.61 | ^3.5.18 | MIT | |
| 0.1.60 | ^3.5.18 | MIT | |
| 0.1.59 | ^3.5.18 | MIT | |
| 0.1.58 | ^3.5.18 | MIT | |
| 0.1.57 | ^3.5.18 | MIT | |
| 0.1.56 | ^3.5.18 | MIT | |
| 0.1.55 | ^3.5.18 | MIT | |
| 0.1.54 | ^3.5.18 | MIT | |
| 0.1.53 | ^3.5.18 | MIT | |
| 0.1.52 | ^3.5.18 | MIT | |
| 0.1.51 | ^3.5.18 | MIT | |
| 0.1.50 | ^3.5.18 | MIT | |
| 0.1.49 | ^3.5.18 | MIT | |
| 0.1.48 | ^3.5.18 | MIT | |
| 0.1.47 | ^3.5.18 | MIT | |
| 0.1.46 | ^3.5.18 | MIT | |
| 0.1.45 | ^3.5.18 | MIT | |
| 0.1.44 | ^3.5.18 | MIT | |
| 0.1.43 | ^3.5.18 | MIT | |
| 0.1.42 | ^3.5.18 | MIT | |
| 0.1.41 | ^3.5.18 | MIT | |
| 0.1.40 | ^3.5.18 | MIT | |
| 0.1.39 | ^3.5.18 | MIT | |
| 0.1.38 | ^3.5.18 | MIT | |
| 0.1.37 | ^3.5.18 | MIT | |
| 0.1.36 | ^3.5.18 | MIT | |
| 0.1.35 | ^3.5.18 | MIT | |
| 0.1.34 | ^3.5.18 | MIT | |
| 0.1.33 | ^3.5.18 | MIT |
Showing the latest 30 of 79. See every release on npm