[PR #7349] [MERGED] docs: improve create sign in box #32851

Closed
opened 2026-04-17 23:34:00 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7349
Author: @jslno
Created: 1/14/2026
Status: Merged
Merged: 1/14/2026
Merged by: @himself65

Base: canaryHead: 01-13-2026/improve-create-sign-in-box


📝 Commits (10+)

  • 3ec9754 feat: improve create sign in box / add nuxt support
  • 2a91893 chore: cleanup
  • 0cf53b8 chore: fix linting
  • ebb78bf chore: fix spelling
  • 53a433a chore: cleanup
  • 71af7a9 chore: remove unused imports
  • c36a32a feat: add svelte kit support
  • 7a07e0a chore: fix linting
  • 59cfab0 chore: cleanup
  • c609ab9 Merge branch 'canary' into 01-13-2026/improve-create-sign-in-box

📊 Changes

10 files changed (+2304 additions, -917 deletions)

View changed files

📝 docs/components/builder/code-tabs/code-tabs.tsx (+27 -0)
docs/components/builder/code-tabs/frameworks/nextjs.ts (+596 -0)
docs/components/builder/code-tabs/frameworks/nuxt.ts (+582 -0)
docs/components/builder/code-tabs/frameworks/svelte-kit.ts (+577 -0)
📝 docs/components/builder/code-tabs/index.tsx (+20 -101)
📝 docs/components/builder/index.tsx (+491 -329)
📝 docs/components/builder/sign-in.tsx (+3 -274)
📝 docs/components/builder/sign-up.tsx (+1 -208)
📝 docs/components/builder/store.ts (+6 -2)
📝 docs/components/builder/tabs.tsx (+1 -3)

📄 Description

  • Added support for Nuxt & SvelteKit
  • Updated UI
  • Fixed small bugs and formatting issues

Summary by cubic

Adds SvelteKit support and overhauls the Create Sign-In Box to generate framework-specific code (Next.js, Nuxt, SvelteKit) with a cleaner, more flexible builder UI.

  • New Features

    • SvelteKit support with code generation for auth, client, and sign-in/up Svelte files.
    • Nuxt support with code generation for auth, client, and sign-in/up Vue files.
    • Framework picker and framework-specific code tabs (Next.js, Nuxt, SvelteKit).
    • Searchable social providers with debounce and clear, plus a one-click Reset to defaults.
    • Preview improvements: inline theme toggle, refined layout, and Vue/Svelte file icons in code tabs.
  • Refactors

    • Moved code generation into resolveNextJSFiles/resolveNuxtFiles/resolveSvelteKitFiles; removed inline code strings.
    • Streamlined builder UI using Accordion sections and responsive layout; simplified AuthTabs styling.
    • Centralized defaults and types (defaultOptions + SignInBoxOptions type); memoized expensive ops.
    • Fixes and polish: proper label for “Remember me”, editor language detection for TSX, and minor formatting/bug fixes.

Written for commit c609ab906d. Summary will update on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/7349 **Author:** [@jslno](https://github.com/jslno) **Created:** 1/14/2026 **Status:** ✅ Merged **Merged:** 1/14/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `01-13-2026/improve-create-sign-in-box` --- ### 📝 Commits (10+) - [`3ec9754`](https://github.com/better-auth/better-auth/commit/3ec9754c17544f62895d3606bf26537e48d23196) feat: improve create sign in box / add nuxt support - [`2a91893`](https://github.com/better-auth/better-auth/commit/2a918930cedc1b85e229ed4bb5f4a8cc4de49740) chore: cleanup - [`0cf53b8`](https://github.com/better-auth/better-auth/commit/0cf53b89b6c7ca156c3fba0d04fa09b0f382deb4) chore: fix linting - [`ebb78bf`](https://github.com/better-auth/better-auth/commit/ebb78bfacb4323bca4d9c2ed52e610085f797ae7) chore: fix spelling - [`53a433a`](https://github.com/better-auth/better-auth/commit/53a433a90211d1b705bcdcd8d3e9305316aa75b4) chore: cleanup - [`71af7a9`](https://github.com/better-auth/better-auth/commit/71af7a95861dfbad5b2b24ef6f772ba2e4d911d7) chore: remove unused imports - [`c36a32a`](https://github.com/better-auth/better-auth/commit/c36a32a20f3373f0fe8c1716ac1c5b646845f9d4) feat: add svelte kit support - [`7a07e0a`](https://github.com/better-auth/better-auth/commit/7a07e0a7a317b47750726c6159f002228c32642b) chore: fix linting - [`59cfab0`](https://github.com/better-auth/better-auth/commit/59cfab01ce79fae5347ebee74905df8a3fb77924) chore: cleanup - [`c609ab9`](https://github.com/better-auth/better-auth/commit/c609ab906d0c89d5b7ec28e6bd2538cb93ed9841) Merge branch 'canary' into 01-13-2026/improve-create-sign-in-box ### 📊 Changes **10 files changed** (+2304 additions, -917 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/builder/code-tabs/code-tabs.tsx` (+27 -0) ➕ `docs/components/builder/code-tabs/frameworks/nextjs.ts` (+596 -0) ➕ `docs/components/builder/code-tabs/frameworks/nuxt.ts` (+582 -0) ➕ `docs/components/builder/code-tabs/frameworks/svelte-kit.ts` (+577 -0) 📝 `docs/components/builder/code-tabs/index.tsx` (+20 -101) 📝 `docs/components/builder/index.tsx` (+491 -329) 📝 `docs/components/builder/sign-in.tsx` (+3 -274) 📝 `docs/components/builder/sign-up.tsx` (+1 -208) 📝 `docs/components/builder/store.ts` (+6 -2) 📝 `docs/components/builder/tabs.tsx` (+1 -3) </details> ### 📄 Description - Added support for Nuxt & SvelteKit - Updated UI - Fixed small bugs and formatting issues <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Adds SvelteKit support and overhauls the Create Sign-In Box to generate framework-specific code (Next.js, Nuxt, SvelteKit) with a cleaner, more flexible builder UI. - New Features - SvelteKit support with code generation for auth, client, and sign-in/up Svelte files. - Nuxt support with code generation for auth, client, and sign-in/up Vue files. - Framework picker and framework-specific code tabs (Next.js, Nuxt, SvelteKit). - Searchable social providers with debounce and clear, plus a one-click Reset to defaults. - Preview improvements: inline theme toggle, refined layout, and Vue/Svelte file icons in code tabs. - Refactors - Moved code generation into resolveNextJSFiles/resolveNuxtFiles/resolveSvelteKitFiles; removed inline code strings. - Streamlined builder UI using Accordion sections and responsive layout; simplified AuthTabs styling. - Centralized defaults and types (defaultOptions + SignInBoxOptions type); memoized expensive ops. - Fixes and polish: proper label for “Remember me”, editor language detection for TSX, and minor formatting/bug fixes. <sup>Written for commit c609ab906d0c89d5b7ec28e6bd2538cb93ed9841. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-17 23:34:00 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#32851