supabase-community / auth-ui

Pre-built Auth UI for React
https://supabase.com/docs/guides/auth/auth-helpers/auth-ui
MIT License
487 stars 121 forks source link

Support custom components #56

Closed The-Code-Monkey closed 1 year ago

The-Code-Monkey commented 1 year ago

Feature request

Is your feature request related to a problem? Please describe.

I don't want to have to use the inbuilt styles and components built by you (no offence).

I want to be able to pass a custom button component, form, and input.

Describe the solution you'd like

Maybe an overrides or components object could be passed that would be used instead of the ones already in place

Describe alternatives you've considered

I've tried my own for but for some reason it just doesn't work correctly, plus it would be nice to use the inbuilt logic of this package without having to re write it just to have custom elements

Additional context

Add any other context or screenshots about the feature request here.

david-plugge commented 1 year ago

Have you considered creating a custom ui from scratch?

The-Code-Monkey commented 1 year ago

@david-plugge I have but I thought if I can have the functional code pre done and I don't have to think about it. There is less to manage

silentworks commented 1 year ago

This is out of scope and not the purpose of this library. As @david-plugge stated you are better off creating your own library to work with your setup.