Skip to content
Velkin LogoVelkin Logo
Velkin
VELKIN/UI

Modern UI components for product teams and their AI agents. Lit core, typed wrappers, live MCP.

sales@velkinui.com

Product

  • Docs
  • Components
  • Studio
  • Pricing

Resources

  • Quick start
  • Blog
  • Changelog
  • Roadmap
  • Status

Project

  • About
  • Contact
  • License
  • Privacy
  • Terms

© 2026 Velkin. MIT core · Pro licenses available.

VELKIN

Advanced Filter

Pro

An advanced filter component with expression input and visual builder.

vu-advanced-filter · @velkin/react-pro/advanced-filter

Copy page

Import

React
npm i @velkin/react-pro

import { LicenseInfo } from "@velkin/license";
// Vite: import.meta.env.VITE_VELKIN_LICENSE_KEY
// Next: process.env.NEXT_PUBLIC_VELKIN_LICENSE_KEY
LicenseInfo.setLicenseKey(import.meta.env.VITE_VELKIN_LICENSE_KEY ?? process.env.NEXT_PUBLIC_VELKIN_LICENSE_KEY ?? "");

// @velkin-pro
import { VuAdvancedFilter } from "@velkin/react-pro/advanced-filter";

Examples

API

Props

PropTypeDefaultDescription
columnsVuAdvancedFilterColumn[][]Columns referenceable in expressions. Default: `[]`.
querystring""Controlled expression text. Default: `""`.
labelstring""Accessible name override for the expression input. Default: `""`.
placeholderstring""Placeholder override for the expression input. Default: `""`.
valueProvidernull | (field: string) => string[]nullSupplies value suggestions per column key. Default: `null`.
openbooleanfalseWhether the visual builder popover is open. Default: `false`.
disabledbooleanfalseDisables the field, suggestions, and builder. Default: `false`.
sizeVuAdvancedFilterSize"md"Density scale for overlays and inner controls. Default: `"md"`.
toneVuAdvancedFilterTone"normal"Neutral surface weight for the field and overlays. Default: `"normal"`.
placementVuAdvancedFilterPlacement"bottom"Preferred builder placement before flip. Default: `"bottom"`.
alignVuAdvancedFilterAlign"end"Builder alignment along the field edge. Default: `"end"`.
offsetnumber6Gap in px between the field and the builder popover. Default: `6`.
widthstring""Builder panel inline size; empty uses stylesheet default. Default: `""`.
maxHeightstring""Max block size of the suggestions list; empty uses default. Default: `""`.
radiusstring""Corner radius for the field, suggestions, and builder; empty uses token defaults. Default: `""`.

Events

EventDetailDescription
vu-changeVuAdvancedFilterChangeDetailWhen the expression text changes.
——{CustomEvent<{ open: boolean }>} vu-open-change - When `open` changes (v-model).
vu-openCustomEvent<void>When the builder begins opening.
vu-closeCustomEvent<void>When the builder begins closing.

CSS parts

PartDescription
fieldInput field wrapper.
inputNative expression input.
clearClear-expression button.
builder-triggerVisual builder toggle button.
suggestionsType-ahead suggestions list.
builderVisual builder popover surface.
builder-dialogExpanded builder dialog surface.

Methods

MethodDescription
show- Opens the visual builder popover.
hide- Closes the visual builder popover.
toggle- Toggles the visual builder popover.
focus- Focuses the expression input.

Types

NameDefinition
VuAdvancedFilterAlign
"start" | "center" | "end"
VuAdvancedFilterChangeDetail
{ query: string; }
VuAdvancedFilterPlacement
"top" | "bottom" | "left" | "right" | "auto"
VuAdvancedFilterSize
"sm" | "md" | "lg"
VuAdvancedFilterTone
"subtle" | "normal" | "strong"
VuAdvancedFilterValueProvider | null
null | (field: string) => string[]

Related

Inputs

  • ButtonA clickable button component with multiple variants and states.
  • Button GroupA button group component with shared styling and optional selection.
  • CheckboxA checkbox component with label, hint, and validation.
  • Checkbox GroupA checkbox group component with shared label and validation.
  • Color AreaA two-dimensional color picker component for saturation and brightness.
  • Color PickerA color picker component with swatches, sliders, and input field.

Guides

  • Pro licenseLicenseInfo and Pro imports
  • FormsFormData, VuForm, and validation
  • EventsonVu* / v-model / e.detail
  • Appearancevariant, color, tone, size

Browse

  • Next: ButtonLater in the sidebar
  • All componentsBrowse the full index