Enable the Transparent Item Tooltips Resource Pack
Applying the Resource Pack
To start enjoying cleaner item name displays in your shortcut bar, you need to enable the Clear ToolTips Texture Pack within your game settings. First, make sure your game version matches the supported versions of Minecraft Bedrock (version 1.26.30 and later, or Minecraft PE/Bedrock 1.21 and 1.20).
Open your game's settings menu and locate the resource packs section. Find the Clear ToolTips Texture Pack in your available packs list and activate it. Because this is purely a resource pack, you do not need to turn on any Experimental Features for it to function properly. After activating the pack, close the settings and jump into a world. The resource pack will automatically remove the black background from selected items, making the item background transparent and leaving you with cleaner, less intrusive text for all your item names.