Layout
AppAuthSocial
The social sign-in buttons from AUTH_PROVIDERS, with an optional passkey option.
components/layout/AppAuthSocial.vue
View in the demo
Variants
The buttons share a row while their labels fit and wrap to one per row when they do not, so a narrow phone or a larger system text size never makes them overlap.
API
Props
Name | Type | Default | Description |
|---|---|---|---|
passkey | boolean | false | Adds “Sign in with a passkey”. |
compact | boolean | false | Icon buttons in one row. |
loading | string | — | The method that is loading. |
Events
Name | Payload | Description |
|---|---|---|
@select | [method: AuthSignInMethod] | A method was picked: a provider id or passkey. |
Providers and their custom:brand-* icons are AUTH_PROVIDERS in config/auth.config.ts.