About
A consent screen card that shows an OAuth client requesting access to a user's account, with the requested scopes, redirect URI and signed-in account, plus allow/deny actions.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds OAuth Consent Card to your project and fits it to your theme.
Code
How OAuth Consent Card is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import OAuthConsentCard from "@/components/ui/oauth-consent-react";
export default function OAuthConsentDemo() {
return (
<div className="flex min-h-screen w-full items-center justify-center bg-background p-6">
<div className="w-full max-w-sm">
<OAuthConsentCard
clientName="Acme CLI"
productName="Acme Cloud"
redirectUri="https://acme.dev/oauth/callback"
email="jane@acme.dev"
scopes={["read:profile", "write:projects"]}
/>
</div>
</div>
);
}








