App UI kits › Banns › Budget
A ring of lines: when one runs over it squeezes the others and the total says by how much; nudge a line and watch it rebalance.
Budget is a screen from Banns, an app ui kit with 11 screens: A wedding planner where the seating plan pushes the wrong people apart, and an overrun squeezes the rest of the budget. Price: $5 for the whole pack.
Built with: squeeze ring, over and paid, nudge.
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 | ||
autoplay | boolean | ||
photos | BnPhotos | ||
onChange | (line: string, pence: number) => void |
nudge(line: string, pence: number): voiddestroy(): voidimport BannsBudget from './BannsBudget';
<BannsBudget />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: UK (pounds), Wedding planner app.