webiny-admin-router-catalog
$
npx mdskill add webiny/webiny-js/webiny-admin-router-catalogImport router abstractions to build admin navigation.
- Enables agents to create links and redirects in admin interfaces.
- Depends on webiny-api context and React component libraries.
- Selects components based on required navigation functionality.
- Delivers results through rendered UI components and route logic.
SKILL.md
.github/skills/webiny-admin-router-catalogView on GitHub ↗
---
name: webiny-admin-router-catalog
context: webiny-api
description: >
admin/router — 6 abstractions.
---
# admin/router
## How to Use
1. Find the abstraction you need below
2. Read the source file to get the exact interface and types
3. Import: `import { Name } from "<importPath>";`
## Abstractions
---
**Name:** `LinkComponent`
**Import:** `import { LinkComponent } from "webiny/admin/router"`
**Source:** `@webiny/app/presentation/router/components/SimpleLink.tsx`
---
**Name:** `RedirectComponent`
**Import:** `import { RedirectComponent } from "webiny/admin/router"`
**Source:** `@webiny/app/presentation/router/components/Redirect.tsx`
---
**Name:** `Route`
**Import:** `import { Route } from "webiny/admin/router"`
**Source:** `@webiny/app/features/router/Route.ts`
---
**Name:** `RouteLinkComponent`
**Import:** `import { RouteLinkComponent } from "webiny/admin/router"`
**Source:** `@webiny/app/presentation/router/components/RouteLink.tsx`
---
**Name:** `useRoute`
**Import:** `import { useRoute } from "webiny/admin/router"`
**Source:** `@webiny/app/presentation/router/index.ts`
---
**Name:** `useRouter`
**Import:** `import { useRouter } from "webiny/admin/router"`
**Source:** `@webiny/app/presentation/router/index.ts`
---
More from webiny/webiny-js
- testerUse when running tests. Shows how to run tests for a single package, including OpenSearch (ddb-os) tests when applicable.
- webiny-admin-aco-catalog>
- webiny-admin-architect>
- webiny-admin-build-params-catalog>
- webiny-admin-catalog>
- webiny-admin-cms-catalog>
- webiny-admin-configs-catalog>
- webiny-admin-env-config-catalog>
- webiny-admin-form-catalog>
- webiny-admin-graphql-client-catalog>