Package-level declarations
Types
A base interface for routing builders. Provides methods to define routes, views, actions, and metadata.
An abstract base implementation of the BaseRoutingBuilder interface. Provides common functionality for routing builders.
A routing builder interface for numeric routes.
An implementation of the IntRoutingBuilder interface for numeric routes. Provides methods to define views and actions for routes with numeric parameters.
Represents a routing context that holds a numeric value.
Default implementation of IntRoutingContext. Holds a numeric value that can be accessed within the routing context.
Represents an Open Graph image with optional width, height, and alt text.
A routing builder interface for given path routes.
An implementation of the PlainRoutingBuilder interface for plain routes. Provides methods to define views and actions for routes without parameters.
A routing builder interface for entry route.
An implementation of the RoutingBuilder interface for entry routes. Provides methods to define default content, metadata, views, and actions.
Represents the context of a routing operation, providing access to the current path, remaining path and parameters.
Default implementation of RoutingContext. Provides properties for path, remaining path and parameters.
A marker for routing DSL.
The routing tree model.
A routing builder interface for string routes.
An implementation of the StringRoutingBuilder interface for string routes. Provides methods to define views and actions for routes with string parameters.
Represents a routing context that holds a string value.
Default implementation of StringRoutingContext. Holds a string value that can be accessed within the routing context.
Properties
Provides the global router instance for use outside of composition.
Internal global router instance for use outside of composition. Do not use directly. Use Router.global instead.
CompositionLocal for providing the routing model instance.
Functions
Creates a BrowserRouter with the specified initial route and context path.
Creates a HashRouter with the specified initial route.