Home / Function/ FilterInput() — supabase Function Reference

FilterInput() — supabase Function Reference

Architecture documentation for the FilterInput() function in FilterInput.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/studio/components/interfaces/QueryPerformance/components/FilterInput.tsx lines 13–38

export const FilterInput = ({ value, onChange, placeholder, className }: FilterInputProps) => {
  return (
    <Input
      size="tiny"
      autoComplete="off"
      icon={<Search />}
      value={value}
      onChange={(e) => onChange(e.target.value)}
      name="keyword"
      id="keyword"
      placeholder={placeholder || 'Filter by query'}
      className={className || 'w-56'}
      actions={[
        value && (
          <Button
            size="tiny"
            type="text"
            icon={<X />}
            onClick={() => onChange('')}
            className="p-0 h-5 w-5"
          />
        ),
      ]}
    />
  )
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free