Skip to content

Auth Buttons

Auth Buttons provide ready-to-use authentication buttons for OAuth providers (Microsoft, Google, Apple) and custom login flows. Each provider button ships with the correct branding, logo, and label.

Loading Code Block...

Use type="custom" with text and optional logo when you are not using a built-in provider.

Loading Code Block...

Set type to a provider name (microsoft, google, apple) for a pre-branded button, or custom for your own text and logo. The preview below uses variant="default" only; use Variants to compare default and outline for custom buttons.

microsoft
Loading Code Block...

For type="custom", each auth button supports default (filled) and outline (bordered). The example uses GlobeIcon from

outline
Loading Code Block...

Use a provider type for the correct logo and label.

Loading Code Block...

With type="custom", set text, optional logo (for example GlobeIcon from @hubtel/react-icons or @hubtel/vue-icons), and optional bgColor (Tailwind classes) for the filled style. Use for handlers.

Loading Code Block...