Platform Padbox GS is fully compatible with Switch 2, just set it to Switch mode and press Start.
Note: Under System Settings > Controllers, make sure "Pro Controller Wired Communication" is enabled.
Essential Padbox GS also works on Switch 2, using Xinput mode.