# Cuisine Selector Chips V0 Template: Filter UI Prompts + Supabase

- Tool: V0 Templates
- Last updated: July 2026

## TL;DR

The Cuisine Selector Chips template is a multi-select filter row built with Next.js, shadcn/ui, and Framer Motion. The ChipGroup manages selected cuisines in a Set, each CuisineChip animates on toggle, and a ClearAllButton resets selection. Perfect for food delivery apps or any multi-filter UI. The prompt pack covers single-select mode, URL param persistence, filtering a restaurant list, and wiring chip counts to a live Supabase aggregation query.

## Frequently asked questions

### Is the Cuisine Selector Chips V0 template free?

Yes. It is a free community template on v0.dev. Forking uses credits from your V0 plan, but there is no additional licensing fee. The generated code is yours to keep and use freely.

### Can I use this template commercially?

Yes. There are no licensing restrictions on the generated code from v0.dev. Framer Motion and shadcn/ui are both MIT-licensed. You can use this in a commercial product or client project without attribution.

### Does the template come pre-wired to a restaurant database?

No. The template ships with hardcoded chip labels and static count data — it is a pure UI component by default. Use the 'Pull chip counts from a Supabase aggregation query' advanced prompt to connect it to real backend data.

### Why does my fork break in the V0 preview after I add URL param state?

The most common cause is a React hydration mismatch from reading useSearchParams during SSR. Wrap the ChipGroup in a Suspense boundary or initialize the selection state from params inside a useEffect to ensure it only runs on the client. See the Gotchas section for the fix prompt.

### How do I connect the chip counts to a real database?

Use the 'Pull chip counts from a Supabase aggregation query' advanced prompt from the pack. It adds a server component that runs a GROUP BY count query in Supabase and passes the results as a prop to ChipGroup, replacing the static counts. Add SUPABASE_URL and SUPABASE_ANON_KEY in the V0 Vars panel.

### Why do my selected chips reset when I type in another form field on the same page?

This is the parent re-render gotcha. If the ChipGroup manages its own state internally, any parent re-render (triggered by form field changes) creates a new state instance and wipes the selection. Lift the selection state to the parent form and pass it down as controlled props using the fix prompt in the Gotchas section.

### Can RapidDev extend this chip selector into a full filter system?

Yes. RapidDev can build a full-stack filter system on top of this template with Supabase-backed faceted search, real-time count updates, Algolia integration for large catalogs, and per-user saved filter presets — reach out if the template's scope isn't enough.

---

Source: https://www.rapidevelopers.com/v0-template/cuisine-selector-chips
© RapidDev — https://www.rapidevelopers.com/v0-template/cuisine-selector-chips
