The anatomy package is really good, maybe exposing a helper like createAnatomy from chakra-ui makes sense, this helps the consumers to create components/libraries using the same pattern.
ref: