The Archive Widget can be added to the Lightning Web Component. From Package 21, there are two recommended widgets available for customization:CustomListRelatedRecordArchivedWidget CustomSingleRelatedRecordArchivedWidget
There are two recommended procedures for adding the Archive Widget. You can select either option, and both are described in this article.
Navigate to the Object you want to add the widget to.
Open the object detail page.
Click the Settings icon to open the drop-down menu.
Select Edit Page.
Click the middle component to see the different tabs on the right.
Click Add Tab to add a new tab for the Archive.
Click on the newly added tab. Choose Custom type and create a custom label for the tab (i.e. Archive).
Click the new Archive tab to configure it. From the left menu, drag one of the Lightning Components under Custom Managed onto the newly created custom tab.
Save the change. Make sure the page is Activated.
Once created, validate that end-users have access to the widget through the following permission set assignment: