Creating Custom Storefront Register Form

how to create custom register and login form using storefront API?

I have tried this https://shopify.dev/api/storefront/2022-10/mutations/customerCreate in insomnia so I could create customer. How can I create custom storefront register form using API ?