Accept or Reject cookies with custom link on the page
To make a custom link that opens Cookie Banner to adjust cookie preferences, see how to display Cookie Banner with a custom link.
All you need to do is place a checkbox with an ID
Here is an example of code:
Another example with label text being clickable:
You are free to change text and style it as you want. Just make sure it's a checkbox and it has a proper ID attribute.