{r.title}
{r.area} · {r.host}
/* global React, Icon, Logo */
const { useState: useStateSearch } = React;
// shared dataset
const ROOMS = [
{ id: "rm-001", title: "Sunny private room near MLK station", area: "West Oakland, CA", host: "Dana K.", price: 685, type: "Private room", beds: 1, tone: "a", tags: ["Vouchers", "Pet OK", "Furnished"], rating: 4.9, reviews: 47, avail: "May 8" },
{ id: "rm-002", title: "Quiet upstairs room, shared kitchen", area: "Bushrod, Oakland", host: "Marco V.", price: 540, type: "Private room", beds: 1, tone: "b", tags: ["Sober living", "Vouchers"], rating: 4.8, reviews: 31, avail: "May 5" },
{ id: "rm-003", title: "Ground-floor accessible room", area: "Fruitvale, Oakland", host: "Ana R.", price: 720, type: "Private room", beds: 1, tone: "c", tags: ["Wheelchair", "Vouchers"], rating: 5.0, reviews: 22, avail: "May 12" },
{ id: "rm-004", title: "Shared room in 4-bed home", area: "East Oakland", host: "Jamal P.", price: 320, type: "Shared room", beds: 2, tone: "d", tags: ["Women only", "Sober living"], rating: 4.7, reviews: 64, avail: "May 4" },
{ id: "rm-005", title: "Studio with private bath", area: "Adams Point", host: "Theo M.", price: 980, type: "Studio", beds: 1, tone: "e", tags: ["Vouchers", "Furnished"], rating: 4.9, reviews: 18, avail: "May 15" },
{ id: "rm-006", title: "Cozy room in family duplex", area: "Temescal, Oakland", host: "Priya S.", price: 610, type: "Private room", beds: 1, tone: "a", tags: ["Pet OK", "Furnished"], rating: 4.8, reviews: 39, avail: "May 7" },
{ id: "rm-007", title: "Re-entry housing room", area: "San Antonio, Oakland", host: "Reach Forward", price: 410, type: "Private room", beds: 1, tone: "b", tags: ["Re-entry", "Sober living"], rating: 4.9, reviews: 91, avail: "Now" },
{ id: "rm-008", title: "Veteran preferred private room", area: "Lakeshore, Oakland", host: "James W.", price: 750, type: "Private room", beds: 1, tone: "c", tags: ["HUD-VASH", "Vouchers"], rating: 4.9, reviews: 28, avail: "May 6" },
];
window.ROOMS = ROOMS;
const PageSearch = ({ onNav }) => {
const [view, setView] = useStateSearch("grid");
const [active, setActive] = useStateSearch(["Vouchers"]);
const filters = ["Vouchers", "Sober living", "Wheelchair", "Pet OK", "Women only", "HUD-VASH", "Re-entry", "Furnished", "Short term"];
const toggle = (t) => setActive(a => a.includes(t) ? a.filter(x => x !== t) : [...a, t]);
return (
{r.area} · {r.host}{ROOMS.length} rooms in Oakland
{r.title}
Superhost · 3 years on Roomly · 47 stays completed
Spacious upstairs bedroom in a calm, three-bedroom craftsman two blocks from the West Oakland BART. Shared kitchen and a sunny back porch. We're a quiet household — two students and one part-time nurse — and we're looking for a respectful new housemate who values clean common spaces.
We accept HUD-VASH, Section 8, and Emergency Housing Vouchers. Case workers welcome on tours. The room is fully furnished — twin bed, desk, lamp, dresser — and ready to move in.
"{rev.t}"