# @uirouter/angular

> State-based routing for Angular

Latest version **22.0.0** (published 2026-08-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @uirouter/angular
pnpm add @uirouter/angular
yarn add @uirouter/angular
bun add @uirouter/angular
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 22.0.0 |
| Published | 2026-08-18 |
| First published | 2017-04-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | >=6.0.0 |
| Dependencies | 1 |
| Unpacked size | 221.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 366 |
| Maintainers | christopherthielen, nateabele, elboman, wawyed |

## Links

- npm: https://www.npmjs.com/package/@uirouter/angular
- Repository: https://github.com/ui-router/angular
- Homepage: https://ui-router.github.io/angular
- Issues: https://github.com/ui-router/angular/issues
- npm.io page: https://npm.io/package/@uirouter/angular

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^2.3.0

## Recent versions

- 22.0.0 (latest) — 2026-08-18
- 21.0.0 — 2026-01-04
- 17.0.1 — 2025-12-31
- 17.0.0 — 2025-08-25
- 16.1.0 — 2025-04-03
- 16.0.0 — 2025-01-06
- 15.0.0 — 2024-11-05
- 14.0.0 — 2024-07-15
- 13.0.0 — 2024-01-31
- 12.0.0 — 2023-07-12
- 11.1.0 — 2023-04-13
- 11.0.0 — 2023-01-10
- 10.0.0 — 2022-09-16
- 9.1.0 — 2021-12-01
- 9.0.1 — 2021-12-01
- … 29 more at https://npm.io/package/@uirouter/angular/versions

## README

# UI-Router for Angular &nbsp;[![Build Status](https://travis-ci.org/ui-router/angular.svg?branch=master)](https://travis-ci.org/ui-router/angular)

### @uirouter/angular: State based routing for Angular (v2+)

---

**[Tutorials](https://ui-router.github.io/tutorials/)** |
**[API Docs](https://ui-router.github.io/ng2/docs/latest/)** |
**[Guides](https://ui-router.github.io/guide)** |
**[Sample App](http://ui-router.github.io/resources/sampleapp/) |**
**[Report an Issue](https://github.com/ui-router/ng2/blob/master/CONTRIBUTING.md#report-an-issue) |**
**[Contribute](https://github.com/ui-router/ng2/blob/master/CONTRIBUTING.md#contribute) |**
**[Help!](http://stackoverflow.com/questions/ask?tags=@uirouter/angular)**

---

@uirouter/angular is a client-side [Single Page Application](https://en.wikipedia.org/wiki/Single-page_application)
routing framework for [Angular](http://angular.io).

Routing frameworks for SPAs update the browser's URL as the user navigates through the app. Conversely, this allows
changes to the browser's URL to drive navigation through the app, thus allowing the user to create a bookmark to a
location deep within the SPA.

UI-Router applications are modeled as a hierarchical tree of states. UI-Router provides a
[_state machine_](https://en.wikipedia.org/wiki/Finite-state_machine) to manage the transitions between those
application states in a transaction-like manner.

## Get Started

- [UI-Router for Angular 2](https://ui-router.github.io/ng2)

## Reporting issues and Contributing

Please read our [Contributor guidelines](CONTRIBUTING.md) before reporting an issue or creating a pull request.

---
_Source: https://npm.io/package/@uirouter/angular · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
