Hi team, About supertokens-auth-react, to render s...
# support-questions-legacy
h
Hi team, About supertokens-auth-react, to render sign in form by myself What it the difference between using ThirdpartyPasswordlessComponentsOverrideProvider like below and https://supertokens.com/docs/thirdpartypasswordless/common-customizations/embed-sign-in-up-form#step-2-render-the-component-yourself ?
Copy code
<ThirdpartyPasswordlessComponentsOverrideProvider
        components={{
          ThirdPartyPasswordlessHeader_Override: ({ DefaultComponent, ...props }) => {
            return <CustomLoginPage />;
          },
        }}
      >
// ...
</ThirdpartyPasswordlessComponentsOverrideProvider>
// plus style:
Copy code
[data-supertokens~=container] {
                    display: none;
                }
,
r
Hi @hwihwi6108 Overriding
ThirdPartyPasswordlessHeader_Override
allows you to only change how the header of the form looks. Whereas embedding the component or disabling the default UI and building your own component will allow you more flexibility.
4 Views