App UI kits › Roost › Will it fit?
Drag your own sofa, bed or table onto the plan: it bumps into walls, turns red when it overlaps and the measurements follow your finger.
Will it fit? is a screen from Roost, an app ui kit with 13 screens: A home search app where you draw your neighbourhood and walk through the plan. Price: $5 for the whole pack.
Built with: furniture collision, live dimensions, rotate to fit.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
pieces | RoostFitPiece[] | sofa, bed, bookcase, desk, armchair, dining table | Your furniture. Default: sofa, bed, bookcase, desk, armchair, dining table. |
autoplay | boolean | ||
onChange | (allFit: boolean, placed: string[]) => void |
room(id: string): voiddestroy(): voidimport RoostFit from './RoostFit';
<RoostFit />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Real estate app UI, USA (dollars).