After creating a Lightning component for the UI, we just have to drag and drop the Created component into the UI through the edit page.
Click on setup followed by Edit page
choose the Custom Component from Custom Area which is in the left. Now select the Tab where you would like to deploy the custom component and drop it.
Finally, click the Activation button and save the changes.
Now, we can see the custom component working as expected.