' Ensure you declare the component in Class_Globals
Private hoverItem As B4XDaisyHover3d
' Initialize and set up the 3D hover view
hoverItem.Initialize(Me, "hoverItem")
hoverItem.AddToParent(pnlHost, 10dip, 10dip, 300dip, 400dip)
' Apply Tailwind/DaisyUI style tokens
hoverItem.Rounded = "rounded-2xl"
hoverItem.Padding = "p-[15px]"
hoverItem.setWidth("w-full")
hoverItem.setHeight("h-[400px]")
' Set the content to display an image
hoverItem.setContentType("image")
hoverItem.setImage("my_beautiful_asset.png")
' Apply styling and draw the UI
hoverItem.Refresh