Better-Auth Components/Blocks #2937

Open
opened 2026-03-13 10:28:28 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @bayromest on GitHub (Feb 28, 2026).

i like the quick sign-in box we have in our landing page, the philosphy of just clicking on options we need then having a component I can add to my codebase and it works is really insane. but why don't we go beyond that?

what if we create components/blocks (think like shadcn blocks or clerk components) that help us quickly copy those components and add them in our codebase and use them direectly

think stuff like:

  • a dashboard for admin to quickly ban/impersonate add users etc
  • a dialog'ish component that shows active/history sessions with data and the ability to revoke a session
  • a profile editor component
  • org creator/editor

all those apis exist and it can be a beautiful example to show our apis + help devs quickly setup things using already prebuild components

this stuff help dev to gain so much time by adding those components to their codes and edit them, it also helps flex the capabilities of better-auth and how far we can take it etc etc

one command to add block/component→ automatically adding necessary plugins for that command → done

Originally created by @bayromest on GitHub (Feb 28, 2026). i like the quick sign-in box we have in our landing page, the philosphy of just clicking on options we need then having a component I can add to my codebase and it works is really insane. but why don't we go beyond that? what if we create components/blocks (think like shadcn blocks or clerk components) that help us quickly copy those components and add them in our codebase and use them direectly think stuff like: - a dashboard for admin to quickly ban/impersonate add users etc - a dialog'ish component that shows active/history sessions with data and the ability to revoke a session - a profile editor component - org creator/editor all those apis exist and it can be a beautiful example to show our apis + help devs quickly setup things using already prebuild components this stuff help dev to gain so much time by adding those components to their codes and edit them, it also helps flex the capabilities of better-auth and how far we can take it etc etc one command to add block/component→ automatically adding necessary plugins for that command → done
GiteaMirror added the enhancement label 2026-03-13 10:28:28 -05:00
Author
Owner

@henrikzabel commented on GitHub (Mar 2, 2026):

There is Better Auth UI which does pretty much what your idea was. However, I don't think they have a shadcn-styled CLI.

@henrikzabel commented on GitHub (Mar 2, 2026): There is [Better Auth UI](https://github.com/better-auth-ui/better-auth-ui) which does pretty much what your idea was. However, I don't think they have a shadcn-styled CLI.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#2937