Hooks & Utilities
v1.0.0Added in 1.0.0
Router-agnostic links, active-route matching, one NavItem shape and the app shell context that every nav component shares.
Click through the mini CRM: every link goes through a pretend router given to LinkProvider, the address bar updates and the matching item lights up with aria-current. Open a customer and Customers stays active by prefix; switch match to exact and it lets go. The external link opens a new tab and the disabled one ignores clicks and Tab.
npx wingo-ui@latest add navigationPro item: the CLI needs a Pro account. See plans
No dependencies beyond React.
Customer in New York · 12 invoices · balance $12,480.00
matchPath("/customers", "/customers/42", "prefix") = true