Use lightning:actionOverride in the aura:component to override standard actions in Salesforce Lightning Experience.
Sample Code:
- <aura:component implements=“lightning:actionOverride” access=“global” >
-
- <b>You cannot create records from here!!!</b>
-
- </aura:component>
Action Override:
Output:
It’s not working in mobile
Did you try Mobile Override?