
A pharmacist's control that builds a prescribed quantity from the pack sizes actually stocked. Derives the dispensed total, units still owed, and whether the prescription can be met exactly from the packs on hand — flagging over-dispense separately from owing.
An employee's control for splitting net pay across several linked accounts. Nudging one percentage stepper redistributes the delta across the others in proportion, with a documented rounding rule so two identical sessions produce the same numbers.
A reusable collapsible section shell for the field engineer's report screens. Owns its own expanded/collapsed `useState`, unmounts children on collapse rather than hiding them, exposes a title bar with a live child-count badge plus optional `action`, `footer`, and `empty` slots, and composes children opaquely without inspecting or cloning them.
A supervisor's sign-in screen for a construction site — the roster renders in a `FlatList` keyed by worker id, each row toggles the worker between on-site and absent, and any worker whose required certification has lapsed or is missing stays blocked with the reason shown. Header keeps live counts and a per-trade shortfall against the day's minimum crew.