Athena

Auth

Routes to the correct authentication screen based on a supplied `view` or route `path`.

Import

import { Auth } from "@xylex-group/athena-auth-ui"

Details

  • Category: component
  • Primary entrypoint: @xylex-group/athena-auth-ui
  • Public entrypoints: @xylex-group/athena-auth-ui
  • Source: packages/heroui/src/components/auth/auth.tsx

Props

PropTypeRequiredNotes
classNamestring | undefinedNo
pathstring | undefinedNo
socialLayoutSocialLayout | undefinedNo
socialPosition"top" | "bottom" | undefinedNo
uiAthenaAuthUiOptions | undefinedNo
variant"default" | "secondary" | "tertiary" | "transparent" | undefinedNo
viewAuthUiView | undefinedNoBuilt-in or plugin auth view id.

Notes

  • Most interactive auth components expect to be rendered under AuthProvider so hooks such as useAuth and the configured navigation bridge are available.
  • See Customization Guide for provider-level localization, route overrides, class-name slots, loading overrides, and email template key mapping.