feat(ui): Add phone input - #9656
Conversation
🦋 Changeset detectedLatest commit: cd333c3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types 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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueComment |
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-google-signin
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
|
|
||
| <InputGroup.Text | ||
| aria-hidden='true' | ||
| {...mergeStyleProps(themeProps('phone-input-prefix'), stylex.props(styles.prefix))} |
There was a problem hiding this comment.
like I wonder if we use the addon api if this can just be an addon aligned to the start?
similar to http input in this example:
https://ui.shadcn.com/docs/components/aria/input-group#button
| }} | ||
| > | ||
| <Field.Root> | ||
| <InputGroup.Root |
There was a problem hiding this comment.
base has a good example here. it's nice to see how they compose everything:
https://base-ui.com/react/components/combobox#input-inside-popup
this is a little different cus of the main input, but figured I mention the reference
7705087 to
9c7efc4
Compare
1055125 to
c43bdaf
Compare
9c7efc4 to
f4c0305
Compare
c43bdaf to
88902ce
Compare
f4c0305 to
8176088
Compare
88902ce to
27e895b
Compare
27e895b to
10c4b83
Compare
8176088 to
7942195
Compare
7942195 to
46bae1d
Compare
10c4b83 to
44efb8f
Compare
44efb8f to
a6798e1
Compare
46bae1d to
d9e617c
Compare
d9e617c to
736c547
Compare
736c547 to
7e5eb01
Compare
1a409c8 to
4441442
Compare
7e5eb01 to
c24223b
Compare
4441442 to
e7e662b
Compare
c24223b to
6762338
Compare
e7e662b to
ca983fd
Compare
ca983fd to
0bc2687
Compare
6762338 to
0ecfafa
Compare
0bc2687 to
cd333c3
Compare
0ecfafa to
d5a0f5c
Compare

Description
https://swingset-git-austin-phone-input.clerkstage.dev/components/phone-input
Adds a Mosaic
PhoneInputwith a searchable country picker, formatted number entry, and normalized E.164 values. It integrates with MosaicFieldand supports controlled and uncontrolled usage.