Skip to content

feat(mosaic,swingset): Add sign-in and sign-up prototype - #11023

Draft
prestonwebdev wants to merge 2 commits into
mainfrom
prestonwebdev/sign-in-sign-up-prototype
Draft

prestonwebdev wants to merge 2 commits into
mainfrom
prestonwebdev/sign-in-sign-up-prototype

Conversation

@prestonwebdev

Copy link
Copy Markdown
Member

Description

A draft of the reworked Mosaic sign-in and sign-up flows, with the Swingset prototype stories to try them (Sign-in layouts, Card gallery).

  • Passkey counts as one of the first-screen buttons. Up to three stack, four or more share one icon row, and the last used comes first.
  • The password and second-factor steps offer one "Sign in another way" / "Verify another way" button. Account switches read "Change email", "Change phone number" or "Use a different account".
  • Code boxes are 48px squares everywhere and shake once on a rejected code. The resend line is 14px.
  • Centered auth cards use the 24px step at their edges. Dialogs draw a divider above their footer actions.

Draft: the sign-in "lists each method as one button, passkey first" browser test and the security-passkey icon test still fail, and the visual baselines have not been regenerated.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

🤖 Generated with Claude Code

Rework the Mosaic sign-in and sign-up flows and add the Swingset prototype
stories to try them:

- Passkey counts as one of the first-screen buttons: up to three stack, four
  or more share one icon row; last used comes first.
- Password and second-factor steps offer one "Sign in another way" /
  "Verify another way" button; account switches read "Change email",
  "Change phone number" or "Use a different account".
- Code boxes are 48px squares everywhere, shake on a rejected code, and the
  resend line is 14px.
- Centered auth cards use the 24px spacing step for their edges; dialogs
  draw a divider above their footer actions.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
clerk-js-sandbox Ready Ready Preview Nov 26, 2026 7:27am UTC
mosaic-docs Ready Ready Preview Nov 26, 2026 7:27am UTC
swingset Ready Ready Preview Nov 26, 2026 7:27am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Mark the phone format module as a client module, since it imports
@clerk/shared/phone, and list the new Avatar.Group, Avatar.Overflow,
useCardActions, useCardAlign and isCompletePhoneNumber exports in their docs.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Nov 26, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 836c31e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@clerk/mosaic Minor
@clerk/mosaic-docs Patch
@clerk/swingset Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

This branch was successfully deployed

2 active deployments
Preview – swingset — 836c31e5 Deployed Nov 26, 2026 by vercel[bot]
Preview – clerk-js-sandbox — 836c31e5 Deployed Nov 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant