Vibora
An app that manages padel court bookings: free slots, reservations and confirmations.
- My role
- Design, development and QA
- Status
- App · In development
Book a court
The problem
Booking a court usually ends in back-and-forth calls and messages. Vibora shows which courts are free in each slot and lets people book and confirm without leaving the app.
From sketch to ink
The key screen, in pencil first. Scroll and it gets inked.
Book a court
Decisions
-
First, what is free
The grid shows courts and times at once: taken slots fade and free ones stand out.
courts × times
-
Booking in two taps
Pick a slot and confirm. The summary below repeats court, time and duration before you confirm.
2 taps
-
Your booking stays in sight
The chosen slot changes colour and text: “Your booking”.
colour + text
Code
The piece next to this is real: touch it. This is the code that drives it on this page.
src/scripts/project-demos.ts
function vibora(root: HTMLElement, target: Element) {
const info = data<{
free: string;
mine: string;
confirmed: string;
pick: string;
say: { picked: string; unpicked: string; confirmed: string };
}>(root);
const bar = root.querySelector('.vb-bar');
const summary = root.querySelector('[data-demo-summary]');
const confirm = root.querySelector<HTMLButtonElement>('[data-demo-confirm]');
const slots = [...root.querySelectorAll<HTMLButtonElement>('[data-demo-slot]')];
const slot = target.closest<HTMLButtonElement>('[data-demo-slot]');
if (slot) {
const on = slot.getAttribute('aria-pressed') !== 'true';
for (const other of slots) {
const mine = other === slot && on;
other.setAttribute('aria-pressed', String(mine));
other.classList.toggle('is-mine', mine);
other.textContent = mine ? info.mine : info.free;
}
bar?.classList.remove('is-done');
if (summary) summary.textContent = on ? `${slot.dataset.demoSlot} · 90 min` : info.pick;
if (confirm) confirm.disabled = !on;
say(root, on ? info.say.picked : info.say.unpicked, { slot: slot.dataset.demoSlot ?? '' });
return;
}
if (target.closest('[data-demo-confirm]') && bar && summary) {
const picked = slots.find((s) => s.getAttribute('aria-pressed') === 'true');
if (!picked) return;
summary.textContent = `${info.confirmed} · ${picked.dataset.demoSlot}`;
bar.classList.add('is-done');
picked.focus({ preventScroll: true });
say(root, info.say.confirmed, { slot: picked.dataset.demoSlot ?? '' });
}
} Try it: book a court
Book a court
Tests
Checked right now, in your browser, on the piece above.
Result
What it does
- Availability of every court by time slot
- Book and confirm in a few steps
- Booking management for the club
Removing steps is harder than adding them.
What I enjoyed most: getting a booking down to two taps.







