Filtering freelancerssimilar to
Upwork
A results page with a full filter sheet behind one button. Every change applies at once: the list behind the sheet, the result count and the chips update as you pick, so the user never has to guess what Apply will do. Filters preselected from context (here, the job post) show up as ordinary chips that can be removed like any other.
Every screen
The 7 steps in order. Pick one to open it in the preview above.
Installation
Part of shadcn/ui Pro
Pro unlocks one-command install of every flow in Radix UI, Base UI and React Aria, plus all 507 blocks, the Figma kit, themes and the MCP server for your AI editor.
Part of shadcn/ui Pro
Pro unlocks one-command install of every flow in Radix UI, Base UI and React Aria, plus all 507 blocks, the Figma kit, themes and the MCP server for your AI editor.
Why this flow works
Narrowing a talent search from a side sheet of filters: location, job success, talent badge and hourly rate, with live results, removable chips and a few-results hint.
Chips are the single source of truth
Every active filter, including the ones preselected from the job post, becomes a chip with its own remove button, both above the results and at the top of the sheet. Clear filters sits at the end of the row, so undoing everything is one click wherever the user is.
Live results, no Apply button
The list, the count and the sheet footer ("Show 4 freelancers") all update on every change. The footer button only closes the sheet; nothing is pending, so closing it by the overlay, Escape or the X gives the same result.
The right control for each kind of value
Single-choice thresholds (job success, earnings, activity, category) are radios with an explicit "Any" option. Badges are checkboxes because several can apply. Locations are a searchable multi-select because the list is long, and the rate is a pair of inputs bound to a two-thumb track.
Warn before the list runs dry
When two or fewer people match, a quiet notice suggests widening the rate or removing a filter. At zero, the list is replaced by an empty state with its own Clear filters button instead of a blank page.
Step by step
- 01
Search with preselected filters
Results for the job, already narrowed by its budget and category.
Context the product already has (the job post) becomes visible, removable chips instead of a hidden query. The count and the first profiles are on screen straight away.
- 02
All filters
The filter sheet slides in from the left over the dimmed results.
One place for every filter, with the active chips repeated at the top so the user sees the whole query while editing it.
- 03
Pick a location
A searchable list of regions, subregions and countries; tick as many as needed.
The list is long, so it gets a search field and groups. A region covers every country in it, so one tick ("Americas") replaces a dozen.
- 04
Set job success
Choose a minimum job success score.
A threshold has one answer, so radios with "Any job success" as the unfiltered choice. Picking one updates the list and the count behind the sheet.
- 05
Add a talent badge
Tick one or more badges. Only a few people now match.
Badges can stack, so checkboxes, matched as any-of. With two or fewer results, a notice suggests widening the search before the list runs empty.
- 06
Widen the hourly rate
Raise the maximum rate to bring more people back.
The rate from the job post was the tightest filter. Inputs give exact numbers, the track gives a quick drag, and both edit the same chip.
- 07
Filtered results
The sheet closes on a short list with every filter shown as a chip.
The chips row reads as a sentence of the query, and each part can be removed without reopening the sheet.
Built with shadcn/ui and Radix UI
- Sheet
- Popover
- Checkbox
- Radio Group
- Switch
- Input Group
- Label
- Button
- Avatar
- Sonner
This is an original rebuild of the flow's structure, with its own brand, copy and artwork. Upwork is a trademark of its owner; this page is not affiliated with or endorsed by Upwork.
Frequently asked questions
Installing, adapting and theming this flow for Radix UI.
With a Pro plan, run npx shadcn@latest add @shadcnpro/flow-upwork-filtering-freelancers. The shadcn CLI copies the flow into components/flows/upwork-filtering-freelancers/ and adds the shadcn/ui components it uses. Base UI (@shadcnpro/base/flow-upwork-filtering-freelancers) and React Aria (@shadcnpro/aria/flow-upwork-filtering-freelancers) ship the same flow, with the same steps and copy.
No. It is an original rebuild of the structure of Upwork's filtering & sorting flow, written from scratch with shadcn/ui, with its own brand, copy and artwork. Upwork is a trademark of its owner, and this page is not affiliated with or endorsed by Upwork.
Yes, the flow is a pattern, not a fixed template. A step you add should follow the same rules as the others, listed under Step anatomy in the flow spec, so it reads as part of the same flow.
Use the prompt in the Installation section. The agent installs the flow, then reads the flow spec at https://pro.shadcn.co/flows/upwork-filtering-freelancers.md, which describes the layout, the rules every step follows, each step's fields and actions, and how to adapt the flow. That way it builds a version with your brand and your steps instead of a one-to-one copy.
The data is real in the sense that matters: 32 sample freelancers in `content.ts`, and every filter, chip, count and empty state is computed from them in the browser. Invites only show a toast. In a real app, replace `filterFreelancers()` with a request that sends the same filter object (ideally from the URL query) and keep the UI as it is.
Sheet, Popover, Checkbox, Radio Group, Switch, Input Group, Label, Button, Avatar and Sonner, in their Radix UI versions. Everything else is plain markup with Tailwind CSS.
Yes. The flow only uses semantic tokens such as bg-background, bg-card and text-muted-foreground, so it picks up your colours, radius and fonts and switches with dark mode. Use the theme menu above the preview to see it in the Pro themes.
Yes. Below `sm` the sketched rail becomes a top bar, the sketched pipeline and header actions are hidden from `md` down, and the filter sheet takes the full width. Result rows stack their actions under the profile below `lg`.