amplify-ui icon indicating copy to clipboard operation
amplify-ui copied to clipboard

[FR] Authenticator: hideSignIn

Open ijxy opened this issue 1 year ago • 2 comments

On which framework/platform would you like to see this feature implemented?

React

Which UI component is this feature-request for?

Authenticator

Please describe your feature-request in detail.

I want a hideSignIn flag so that:

  • I can use the Authenticator for only sign up on some pages
  • I can use the Authenticator for only sign in on some pages (this already exists, hideSignUp)
  • if I want sign up and sign in, I can have more control over the appearance (eg by toggling hideSignIn and hideSignUp and using the useAuthenticator transition functions)

Please describe a solution you'd like.

<Authenticator hideSignIn /> (with initialState being set automatically to signUp)

We love contributors! Is this something you'd be interested in working on?

  • [X] 👋 I may be able to implement this feature request.
  • [ ] ⚠️ This feature might incur a breaking change.

ijxy avatar Apr 12 '24 07:04 ijxy

@reesscot Looking through the codebase, it looks like this might already exist for some platforms. Would you accept a PR adding it to the react implementation?

ijxy avatar May 17 '24 15:05 ijxy

Thanks for your feature request. We are considering this for the next major version of Authenticator.

reesscot avatar Sep 26 '24 23:09 reesscot