Blocks
Larger pieces built for property and rental apps: meter readings, approvals, inspection photos, money and unit maps.
Blocks are larger pieces built for one kind of app: property and rental management, with meter readings, approvals, inspection photos and unit maps. They are optional. Nothing outside Blocks depends on them, so leave them out and the rest of the library is unchanged.
They install and import like any component: npx @nana-tec/ui add unit-map, or
@nana-tec/ui-components/unit-map from the package.
Blocks7
- DashboardA whole dashboard from data: a sidebar with your brand, navigation and the signed-in user, a top bar, and a page header over your content. Pick the sidebar, floating or inset layout.
- Meter InputA utility-meter reading field for rentals. Shows the previous reading beside the box, refuses a reading that runs backwards, and explains a consumption figure that does not look like the usual one for the meter.
- Bulk ProgressProgress for a long run over many items — posting readings, generating invoices, sending reminders — where individual items can fail without stopping the rest.
- Approval CardOne thing waiting on the owner — a repair quote, a fee waiver, a refund, a new tenancy — with what it costs, who asked, and the decision to make.
- Evidence CompareTwo photographs of the same thing, side by side, for a decision that rests on the difference — the kitchen at move-in and at move-out, a meter before and after a repair. Zoom and pan move both pictures together, so the same corner of each is always in view.
- MoneyAn amount of money, written the way a ledger writes it: in its currency, at its currency's precision, in tabular figures so a column of them lines up, with debts and credits told apart.
- Unit MapA building as an interactive explorer — each floor a row of unit cards with the unit's number, its state, a small photograph and the faces of the people who live there. Hover for rent and lease, select for the side panel.