I saw one in a YouTube build video that allows you to select output voltage / what it will negotiate using a pushbutton, the selection is indicated by the color of an LED (and hopefully persisted when powered down).
Edit: the one chx linked to above is precisely of this kind
Re:USB Power Delivery for Hobby Projects
by adhesive_wombat on Sunday October 29, 2023 @07:52AM
(#38057650)
A unique twist on this is a module that is programmed by a flashing light, for example a web page with a flashing image: https://hackaday.com/2021/04/21/easy-usb%E2%80%91c-power-for...
Just watch out, 12v isn't a thing anymore in the new specs and might not work, best to build around 5v, 9v, 15v, or 20v.
Although usually if I just need 5v, I'm building around a D1 Mini ESP32 module that already has 5v built in.