Shoreline
HomeHomeComponentsComponentsHooksHooksDesign SystemDesign SystemFoundationsFoundationsRaccoonRaccoonAPI ReferenceAPI Reference
GitHubGitHub (opens in a new tab)
    • Code
    • Code
    • Code
    • Code
    • Code
    • Code
    • Code
  • Home
      • Code
      • Code
      • Code
      • Props
      • Code
      • Props
      • Best Practices
      • Code
      • Props
      • Code
      • Props
      • Best Practices
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Best Practices
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Code
      • Props
      • Code
      • Props
      • Best Practices
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Best Practices
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Best Practices
      • Code
      • Props
      • Best Practices
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Best Practices
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Best Practices
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Best Practices
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Props
      • Code
      • Code
      • Code
      • Code
      • Code
      • Code
      • Code
      • Code
      • Code
      • Code
      • Code
      • Code
      • Code
      • Code
      • Code
      • Code
      • Code
      • Props
      • Code
      • Best Practices
      • Code
      • Props
      • Code
      • Code
      • Code
      • Code
      • Code
      • Code
      • Code
    • Example
    • Gettings Started
    • Table
      • API Reference
      • Design
      • Examples
        • Data Fetching
        • Data View Status
        • Filters
        • Fixed Columns
        • Selectable
        • With Pagination
        • With Search
        • With Toolbar
    • Design Tokens
      • Tokens
      • Rationale
      • Tokens
      • Rationale
      • Tokens
      • Rationale
      • Tokens
      • Rationale
      • Tokens
      • Rationale
      • Tokens
      • Rationale
      • Tokens
      • Rationale
    • Getting Started
    • Project Structure
    • I18n
    • Proxy
    • Functions
    • Hooks
    • Navigation
      • Introduction
      • Commands
      • Introduction
      • Design Tokens
      • Cascade Layers
      • Transforms
      • Namespaces
      • Utils
        • Stitches
        • Vanilla Extract
      • Config
      • Code Generation
      • Defining Tokens

On This Page

  • useFilterContext
  • Returns
  • Defined in
Question? Give us feedback → (opens in a new tab)Edit this page
Hooks
useFilterContext
Code

useFilterContext

▸ useFilterContext(): undefined | SelectStore<Value>

Recovers the filter store

Returns

undefined | SelectStore<Value>

Example

const filter = useFilterContext();

Defined in

packages/components/src/filter/filter-context.ts:12 (opens in a new tab)

Code

VTEX Design System for backoffice experiences