In components you can add states, but this is limited to a few options. Please allow us to set a custom state. Right now I can not use :focus-within, because it’s not a option.
I’m fairly certain you can simply append “:focus-within” to the selector of a modifier, .i.e. create a new modifier and set its selector to “:focus-within”. The state creation is simply a convenient shortcut but equivalent to manually spelling out the state as part of the selector
Ayla is correct, you can use a modifier, and append :focus-within or anything else to it. It accepts spaces, so you can even target child.