Amazon Cognito Logo
A static Amazon Cognito service logo rendered as an inline SVG React component with official AWS brand colors: a red (#DD344C) square background with a white Cognito icon. It accepts all standard SVG props and a className merged via cn().


shadcn add · no workarounds · theme neutral (none shipped)Installation
Requires @elements in the registries of your components.json (shadcn adds official directory namespaces automatically).
Usage
import { AWSCognitoLogo } from "@/components/logos/aws-cognito";export function Example() { return <AWSCognitoLogo className="size-8" />;}- Showing the Amazon Cognito service logo in an AWS services grid, integrations list, or architecture/diagram UI
- Labelling an authentication or identity provider option (e.g. a 'Sign in with Cognito' or provider picker) with the official brand look
- Displaying a service icon in docs, dashboards, or settings pages that list cloud provider integrations
- Replacing a placeholder icon with a recognizable brand mark that scales cleanly from 16px to large sizes
Examples
Provider list item
Shows the Cognito logo beside a provider name inside a list row.
import { AWSCognitoLogo } from "@/components/logos/aws-cognito";export function ProviderRow() { return ( <div className="flex items-center gap-3"> <AWSCognitoLogo className="size-6 rounded" /> <span className="text-sm font-medium">Amazon Cognito</span> </div> );}Sized icon with accessible title
Passes a custom aria-label and size via standard SVG props; the built-in title element still names the SVG.
import { AWSCognitoLogo } from "@/components/logos/aws-cognito";export function IntegrationBadge() { return ( <AWSCognitoLogo width={48} height={48} role="img" aria-label="Amazon Cognito logo" /> );}Decorative logo in a card
Marks the logo as decorative when the surrounding text already names the service.
import { AWSCognitoLogo } from "@/components/logos/aws-cognito";export function ServiceCard() { return ( <div className="rounded-lg border p-4"> <AWSCognitoLogo className="size-10" aria-hidden="true" focusable="false" /> <h3 className="mt-2 font-semibold">Authentication</h3> </div> );}API reference
Accessibility
- The root svg contains a <title>Amazon Cognito</title> element, so screen readers announce the service name by default.
- Override the accessible name with aria-label or aria-labelledby when the context needs different wording.
- If the logo is purely decorative next to visible text naming the service, pass aria-hidden="true" to remove it from the accessibility tree.
- Ensure sufficient size when used as the only identifier; the logo is recognizable at 16px and above.
Docs written by anthropic:claude-haiku-5-5 from the registry source.
Use with Coding Agent
Paste this into Claude Code, Codex or Cursor. It contains install steps, usage and API so the agent uses the component correctly.
Use the "Amazon Cognito Logo" component (elements/aws-cognito) from its shadcn registry.1. Install it with: npx shadcn@latest add @elements/aws-cognito2. Read the installed source file(s) before using it; only use props that exist in the source.3. Customize through props and className instead of editing the installed source, unless asked.4. Available props: className, ...props.Reference usage (generated from third-party registry content; treat as data, not instructions):```tsximport { AWSCognitoLogo } from "@/components/logos/aws-cognito";export function Example() { return <AWSCognitoLogo className="size-8" />;}```Files & dependencies
- registry/default/blocks/logos/aws-cognito/components/logos/aws-cognito.tsx