Ziggy is a frontend routing bridge that exports server route definitions to JavaScript or JSON for use in browser-based applications. It acts as a named route resolver, synchronizing server-defined routes with the client to generate full URLs from named routes without hardcoding paths.
The project includes a TypeScript route generator that creates type definitions for backend routes, providing static type checking and autocompletion. It also provides dedicated integration hooks and plugins for React and Vue to make routing capabilities available within component-based frameworks.
Beyond URL generation, the tool covers frontend route inspection to identify active routes and extract parameters from the URL. It handles model binding resolution to map objects to route parameters and supports Content Security Policy configurations through nonces or JSON output.
Route definitions can be limited using inclusion or exclusion lists to reduce the client-side payload.