Sso Provider Card

SSO provider card with a name, description, Configured or Not set badge, an enable switch and a Configure button. A React block for SAML and OIDC settings.

src/registry/ui/sso-provider-card.tsx/r/sso-provider-card.json

Installation#

bash
npx shadcn@latest add @minidev/sso-provider-card

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/sso-provider-card.json

Usage#

tsx
import { SsoProviderCard } from "@/components/ui/sso-provider-card"

export function Example() {
  return (
    <SsoProviderCard name="SAML" description="Enterprise IdP" enabled={sso} configured onEnabledChange={setSso} />
  )
}

API reference#

SsoProviderCard props
PropTypeDefault
name*string-
description*string-
enabledboolean-
configuredboolean-
onEnabledChange(v: boolean) => void-
onConfigure() => void-
classNamestring-

* required

Dependencies#

npm

React only

Examples#

All login and signup components