@trackunit/react-router-components
v1.3.38
Published
This package depends on [TanStack Router](https://tanstack.com/router): `@tanstack/react-router` is a required peer dependency.
Keywords
Readme
This package depends on TanStack Router: @tanstack/react-router is a required peer dependency.
Trackunit react-router-components
The @trackunit/react-router-components package is the home of Trackunits public react components and hooks that are coupled to @tanstack/react-router (routing and URL state).
Other published @trackunit/* packages do not import @tanstack/react-router directly; router-aware code lives here.
This library is exposed publicly for use in the the Trackunit Iris App SDK.
To browse all avaliable components visit the Design System.
AI agents should use the machine-readable index at /llms.txt instead of the Storybook HTML; it links to per-component docs at /ai?storyId=<id>.
For more info and a full guide on Iris App SDK Development, please visit our Developer Hub.
Router-coupled code in other packages
Published @trackunit/* packages are linted against direct @tanstack/react-router imports, including type-only imports. New router-aware components and hooks belong in this package. A few files are still exempt:
| Package | Files | Status |
| --- | --- | --- |
| @trackunit/react-components | Prompt | Temporary: moving to this package |
| @trackunit/react-components | EmptyState, PageHeader | Temporary: links will be passed in by the consumer |
| @trackunit/react-table | ActionButton | Temporary: links will be passed in by the consumer |
| @trackunit/react-form-wizard | all | Permanent |
| @trackunit/react-core-contexts-test | all | Permanent |
| @trackunit/filters-filter-bar | useSearchUtils | Permanent for now |
Internal (unpublished) libraries in the Trackunit monorepo are not required to follow this rule. See Router-coupled code for the full rules.
Development
At this point this library is only developed by Trackunit Employees.
For development related information see the development readme.
Trackunit
This package was developed by Trackunit ApS. Trackunit is the leading SaaS-based IoT solution for the construction industry, offering an ecosystem of hardware, fleet management software & telematics.
