# useMenuIcon
There are two scenarios:
# External URL
This scenario requires an icon
to be defined in the /menu
call.
{
"title": "Google Analytics",
"id": "620cf94252d87c0134e0e475",
"icon": "fa-chart",
// <-- Required based on the `url` key
"url": "https://analytics.google.com"
}
# Backoffice route
This scenario requires an icon
to be defined in the entities.json
based on the route
.
{
"title": "Customers",
"id": "90cf943252d87c0134e03e123",
"route": "customers"
}
← useLogin useMetadata →