FilterPill() — supabase Function Reference
Architecture documentation for the FilterPill() function in FilterPill.tsx from the supabase codebase.
Entity Profile
Relationship Graph
Source Code
apps/studio/components/interfaces/QueryPerformance/components/FilterPill.tsx lines 11–30
export const FilterPill = ({ label, value, onClear }: FilterPillProps) => {
return (
<div className="text-xs border rounded-md px-1.5 md:px-2.5 py-1 h-[26px] flex items-center gap-x-2">
<p className="md:inline-flex gap-x-1 hidden truncate">
{label}: <span className="text-foreground-lighter">{value}</span>
</p>
<Tooltip>
<TooltipTrigger
onClick={(e) => {
e.stopPropagation()
onClear(e)
}}
>
<X size={14} className="text-foreground-light hover:text-foreground" />
</TooltipTrigger>
<TooltipContent side="bottom">Clear {label.toLowerCase()} filter</TooltipContent>
</Tooltip>
</div>
)
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free