Peach: Local-first video metadata scraper and media manager.
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "auth-card",
"type": "registry:block",
"title": "Auth Card",
"description": "Sign-in and sign-up cards with social providers stacked with labels or inline as icons, plus email fields and a CTA.",
"dependencies": [
"@remixicon/react@^4.9.0"
],
"registryDependencies": [
"button",
"checkbox",
"cx",
"direction",
"divider",
"input",
"input-otp",
"link-button",
"social-button",
"template-copy"
],
"files": [
{
"path": "components/application/auth/auth-card.tsx",
"content": "\"use client\";\n\nimport type { FormEvent, ReactNode } from \"react\";\nimport { useState } from \"react\";\nimport { RiMailCheckLine } from \"@remixicon/react\";\nimport { Button } from \"@/components/base/buttons/button\";\nimport { Checkbox } from \"@/components/base/checkbox/checkbox\";\nimport { Divider } from \"@/components/base/divider/divider\";\nimport { Input } from \"@/components/base/input/input\";\nimport { InputOtp } from \"@/components/base/input-otp/input-otp\";\nimport { LinkButton } from \"@/components/base/buttons/link-button\";\nimport { SocialButton } from \"@/components/base/social-button/social-button\";\nimport { SOCIAL_PROVIDERS, type SocialProvider } from \"@/components/base/social-button/social-providers\";\nimport { useTemplateCopy } from \"@/components/foundations/template-copy/template-copy\";\nimport { cx } from \"@/utils/cx\";\n\n// Re-exported so `media` has a batteries-included option and the registry\n// installs it alongside the card. Nothing here imports it otherwise.\nexport {\n AuthMediaCarousel,\n type AuthMediaSlide,\n} from \"@/components/application/auth/auth-media-carousel\";\n\n/**\n * Sign-in and sign-up cards built on the social buttons.\n *\n * The providers render one of three ways, because each is right somewhere:\n *\n * layout=\"stacked\" full-width buttons with labels, one per row. Names each\n * provider, so it suits a dedicated sign-in page with the\n * room to spell them out.\n * layout=\"inline\" icon-only squares side by side. Compact enough for a\n * modal or a narrow panel, and carries more providers in\n * the same space.\n * layout=\"grid\" icon-only across equal columns, so a small set reads as\n * one row of controls rather than loose squares.\n *\n * All three sit below the email form, never above it, and all three take the\n * same `providers` array, so switching is one prop and the set never has to\n * be written twice.\n *\n * `media` turns the whole thing into a two-column split with artwork beside\n * the form — pass `AuthMediaCarousel` for a set of images that cycles on its\n * own — and `logo` puts a mark above the title.\n *\n * `mode=\"verify\"` is the step after either one: OTP boxes instead of email\n * and password, a resend action instead of a link to the other mode, and no\n * providers at all, since the visitor has already chosen how they sign in.\n *\n * The form is deliberately uncontrolled and `onSubmit`-based: an auth card is\n * the shell around whatever the host app's auth library does, not an opinion\n * about it. Pass `onSubmit` and `onProvider`, or swap the CTA for your own.\n */\n\nexport type AuthLayout = \"stacked\" | \"inline\" | \"grid\";\nexport type AuthMode = \"signin\" | \"signup\" | \"verify\";\n\nexport interface AuthCardProps {\n /**\n * `signin` (default), `signup`, or `verify` for the one-time-code step.\n * `verify` swaps the email fields for OTP boxes and drops the providers:\n * the visitor has already chosen how they are signing in.\n */\n mode?: AuthMode;\n /** `verify` only: the address the code went to, shown in the description. */\n email?: string;\n /** `verify` only: how many digits. Defaults to 6. */\n codeLength?: number;\n /** `verify` only: fires once the last box is filled. */\n onComplete?: (code: string) => void;\n /** `verify` only: the resend action. */\n onResend?: () => void;\n /** How the provider buttons are arranged. Defaults to `stacked`. */\n layout?: AuthLayout;\n providers?: SocialProvider[];\n title?: ReactNode;\n description?: ReactNode;\n /**\n * Artwork for the right half. Passing it turns the card into the split\n * layout: form on the left, media on the right, which drops to the form\n * alone below `md` rather than stacking a tall image above the fields.\n */\n media?: ReactNode;\n /**\n * Mark above the title — a wordmark, an app icon, anything. Deliberately a\n * node rather than a src, so the card stays brand-agnostic and an installed\n * copy pulls none of BoardUI's own artwork with it.\n */\n logo?: ReactNode;\n /** Centre the heading, as the split layout usually wants. */\n centered?: boolean;\n /** Sign-up only: adds a stacked confirm-password field. */\n confirmPassword?: boolean;\n /** Small print under the card, outside its border. */\n footnote?: ReactNode;\n /** Fires with the form's own FormData; wire it to your auth library. */\n onSubmit?: (data: FormData) => void;\n onProvider?: (provider: SocialProvider) => void;\n /** Footer link target, e.g. to the opposite mode. */\n switchHref?: string;\n /**\n * Heading level for the card title. Defaults to `1`, because on a real\n * sign-in screen the card *is* the page. Drop it to `2`+ wherever the card\n * is embedded as a preview inside a page that already has an `<h1>` — two\n * `<h1>`s in one document flattens the outline for screen readers and for\n * anything reading the page as a document.\n */\n headingLevel?: 1 | 2 | 3 | 4 | 5 | 6;\n className?: string;\n}\n\nconst COPY = {\n signin: {\n title: \"Welcome back\",\n description: \"Sign in to pick up where you left off.\",\n cta: \"Sign in\",\n switchLead: \"New here?\",\n switchAction: \"Create an account\",\n },\n signup: {\n title: \"Create your account\",\n description: \"Start building with BoardUI in a couple of minutes.\",\n cta: \"Create account\",\n switchLead: \"Already have an account?\",\n switchAction: \"Sign in\",\n },\n verify: {\n title: \"Check your inbox\",\n description: \"Enter the code we sent to finish signing in.\",\n cta: \"Verify and continue\",\n switchLead: \"Code not arriving?\",\n switchAction: \"Send a new one\",\n },\n} as const;\n\nexport function AuthCard({\n mode = \"signin\",\n email,\n codeLength = 6,\n onComplete,\n onResend,\n layout = \"stacked\",\n providers = [\"google\", \"apple\", \"github\"],\n title,\n description,\n media,\n logo,\n centered = false,\n confirmPassword = false,\n footnote,\n onSubmit,\n onProvider,\n switchHref = \"#\",\n headingLevel = 1,\n className,\n}: AuthCardProps) {\n const localize = useTemplateCopy();\n const TitleHeading = `h${headingLevel}` as const;\n const [remember, setRemember] = useState(true);\n const [code, setCode] = useState(\"\");\n const copy = COPY[mode];\n const signup = mode === \"signup\";\n const verify = mode === \"verify\";\n\n const submit = (event: FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n onSubmit?.(new FormData(event.currentTarget));\n };\n\n const social = (\n <div\n className={cx(\n layout === \"stacked\" && \"flex flex-col gap-2.5\",\n // Wraps rather than scrolls: six providers on a narrow card should\n // fall to a second row, not clip.\n layout === \"inline\" && \"flex flex-wrap justify-center gap-2\",\n // Equal columns that share the full width, so three providers read as\n // one row of controls rather than three loose squares.\n layout === \"grid\" && \"grid grid-flow-col auto-cols-fr gap-2.5\",\n )}\n >\n {providers.map((provider) => (\n <SocialButton\n key={provider}\n brand={provider}\n appearance=\"white\"\n iconOnly={layout !== \"stacked\"}\n fullWidth={layout === \"stacked\"}\n // `iconOnly` fixes a square width; the grid needs it to stretch,\n // and `className` is last into `cx` so it wins.\n className={layout === \"grid\" ? \"w-full\" : undefined}\n aria-label={layout !== \"stacked\" ? `Continue with ${SOCIAL_PROVIDERS[provider].label}` : undefined}\n onClick={() => onProvider?.(provider)}\n >\n {`Continue with ${SOCIAL_PROVIDERS[provider].label}`}\n </SocialButton>\n ))}\n </div>\n );\n\n // The code step centres itself and carries a mark by default: it is a\n // single-purpose screen, and the icon is what says at a glance which one.\n // Left-aligned like the other two modes: a centred column with a hairline\n // was the reference's shape, and this one should read as the same family\n // as the sign-in card it follows, not as a different screen.\n const centerContent = centered;\n const mark =\n logo ??\n (verify ? (\n <RiMailCheckLine className=\"size-8 text-foreground-icon-primary\" aria-hidden />\n ) : null);\n\n const body = (\n <>\n {mark ? (\n <div className={cx(\"mb-5 flex\", centerContent ? \"justify-center\" : \"justify-start\")}>\n {mark}\n </div>\n ) : null}\n\n <div className={cx(\"flex flex-col gap-1.5\", centerContent && \"text-center\")}>\n <TitleHeading className=\"text-title-2-medium text-text-primary\">\n {title ?? copy.title}\n </TitleHeading>\n <p className=\"text-body-regular text-text-secondary\">\n {description ??\n (verify && email ? (\n <>\n Enter the code we sent to{\" \"}\n <span className=\"text-body-medium text-text-primary\">{email}</span>{\" \"}\n to finish signing in.\n </>\n ) : (\n copy.description\n ))}\n </p>\n </div>\n\n <form onSubmit={submit} className=\"mt-6 flex flex-col gap-4\">\n {verify ? (\n <div className=\"flex flex-col gap-1.5\">\n <span className=\"text-body-medium text-text-secondary\">\n Verification code\n </span>\n <InputOtp\n value={code}\n onChange={setCode}\n onComplete={onComplete}\n length={codeLength}\n groupEvery={codeLength % 2 === 0 ? codeLength / 2 : undefined}\n aria-label=\"Verification code\"\n className=\"justify-start\"\n />\n </div>\n ) : null}\n\n {signup && !confirmPassword ? (\n <Input name=\"name\" label=\"Full name\" placeholder=\"Ada Lovelace\" isRequired />\n ) : null}\n\n {verify ? null : (\n <Input\n name=\"email\"\n type=\"email\"\n label=\"Email\"\n placeholder=\"[email protected]\"\n autoComplete=\"email\"\n hint={signup ? \"We use this to contact you, and never share it.\" : undefined}\n isRequired\n />\n )}\n\n {verify ? null : signup && confirmPassword ? (\n // Stacked, full width: a password field pair is easier to fill at\n // full width than in two half-width columns, and it keeps the whole\n // form on one rhythm.\n <>\n <Input\n name=\"password\"\n type=\"password\"\n label=\"Password\"\n placeholder=\"At least 8 characters\"\n autoComplete=\"new-password\"\n isRequired\n />\n <Input\n name=\"confirmPassword\"\n type=\"password\"\n label=\"Confirm password\"\n placeholder=\"Repeat your password\"\n autoComplete=\"new-password\"\n isRequired\n />\n </>\n ) : (\n <Input\n name=\"password\"\n type=\"password\"\n label=\"Password\"\n placeholder={signup ? \"At least 8 characters\" : \"Enter your password\"}\n autoComplete={signup ? \"new-password\" : \"current-password\"}\n isRequired\n />\n )}\n\n {signup || verify ? null : (\n <div className=\"flex items-center justify-between\">\n <Checkbox size=\"sm\" isSelected={remember} onChange={setRemember}>\n Remember me\n </Checkbox>\n <LinkButton href=\"#\">Forgot password?</LinkButton>\n </div>\n )}\n\n <Button type=\"submit\" className=\"w-full\">\n {copy.cta}\n </Button>\n\n {/* The split layout carries its terms line under the card instead,\n through `footnote`, so it does not crowd the CTA. */}\n {signup && !footnote ? (\n <p className=\"text-caption-1-regular text-text-tertiary\">\n By creating an account you agree to our Terms of Service and Privacy Policy.\n </p>\n ) : null}\n </form>\n\n {/* Providers always follow the form, in every layout: the email fields\n are the path this card is built around, and a bank of provider\n buttons above them buries the thing people came to fill in. The\n code step shows none — the visitor has already picked a method. */}\n {!verify && providers.length > 0 ? (\n <>\n <div className=\"my-5\">\n <Divider>or continue with</Divider>\n </div>\n {social}\n </>\n ) : null}\n\n {/* Resend is an action, not a destination, so on the code step the\n footer is a button. `LinkButton` renders one when given no href. */}\n {verify ? (\n <p className=\"mt-6 text-center text-body-regular text-text-secondary\">\n {copy.switchLead}{\" \"}\n <LinkButton onClick={onResend}>{copy.switchAction}</LinkButton>\n </p>\n ) : (\n <p className=\"mt-6 text-center text-body-regular text-text-secondary\">\n {copy.switchLead} <LinkButton href={switchHref}>{copy.switchAction}</LinkButton>\n </p>\n )}\n </>\n );\n\n const card = media ? (\n <div\n className={cx(\n \"grid w-full max-w-[880px] overflow-hidden rounded-3xl border border-border-button-default bg-background-primary-default shadow-xs md:grid-cols-2 dark:bg-background-secondary-default\",\n className,\n )}\n >\n <div className=\"flex flex-col p-6 sm:p-8\">{body}</div>\n {/* Hidden rather than stacked below `md`: a tall image above the fields\n pushes the form off a phone screen for no gain. */}\n <div className=\"relative hidden bg-background-secondary-default md:block\">{media}</div>\n </div>\n ) : (\n <div\n className={cx(\n \"flex w-full max-w-[400px] flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-6 shadow-xs sm:p-8 dark:bg-background-secondary-default\",\n className,\n )}\n >\n {body}\n </div>\n );\n\n if (!footnote) return localize(card);\n\n return localize(\n <div className=\"flex w-full flex-col items-center gap-4\">\n {card}\n <p className=\"max-w-[520px] text-center text-caption-1-regular text-text-tertiary\">\n {footnote}\n </p>\n </div>\n );\n}\n",
"type": "registry:component",
"target": "components/application/auth/auth-card.tsx"
},
{
"path": "components/application/auth/auth-media-carousel.tsx",
"content": "\"use client\";\n\nimport { useEffect, useState } from \"react\";\nimport { useDirection } from \"@/components/foundations/direction/direction\";\nimport { cx } from \"@/utils/cx\";\n\n/**\n * Auto-advancing artwork for the auth card's `media` slot.\n *\n * The transition is a four-beat cycle rather than a plain slide. The image\n * fills the panel edge to edge; when its turn is up it shrinks and rounds off\n * into a card, holds there long enough to read as a deliberate pause, and only\n * then travels left. The next image rides in beside it already card-sized, and\n * grows back out to fill the panel once it has landed. Shrinking first is what\n * makes the movement legible: a full-bleed image sliding under a hard edge\n * reads as a cut, while a card that detaches, moves, and settles reads as one\n * object being replaced by another.\n *\n * The travel happens in depth, not flat across the panel. The panel holds a\n * perspective, and the cards leave and arrive pushed back along Z and turned\n * on their vertical axis, so the outgoing one banks away to the left while the\n * next swings in from the right and squares up as it lands. Both are angled\n * away from the middle, as though they sit on a drum turning past the viewer,\n * which is what gives the movement a front and a back instead of a left and a\n * right.\n *\n * Every slide is placed by where it sits relative to the current one, so the\n * set travels in one direction forever and the wrap back to the first image is\n * just another step left. The cost of that arrangement is that the slide\n * leaving the frame has to jump from the left side to the back of the queue on\n * the right, so transitions are enabled only for the slides actually moving in\n * a given beat; everything else is repositioned with them switched off.\n *\n * Plain `<img>` rather than `next/image`: this file installs into other\n * people's projects, and it should not decide their image pipeline for them.\n * The first slide is eager and the rest lazy, so the card paints immediately\n * without pulling four files at once.\n *\n * It advances on its own and offers no controls. The artwork beside a sign-in\n * form is atmosphere, not content — a visitor is there to get in, and giving\n * them arrows to click is inviting them away from the thing they came to do.\n * Honouring `prefers-reduced-motion` means holding on the first slide.\n */\n\nconst REDUCED_MOTION_QUERY = \"(prefers-reduced-motion: reduce)\";\n\n/** Card state: shrunk to a rounded tile, and the size it rides in at. */\nconst CARD_SCALE = 0.82;\nconst ENTER_SCALE = 0.8;\nconst CARD_RADIUS = 24;\n\n/** How deep the drum is, and how far the cards turn on it. */\nconst PERSPECTIVE = 850;\nconst DEPTH = 220;\nconst TILT = 48;\n\nconst SHRINK_MS = 450;\n/** The deliberate pause once it has become a card, before it moves. */\nconst HOLD_MS = 200;\nconst SLIDE_MS = 700;\nconst GROW_MS = 500;\n\n/**\n * `idle` at rest, full bleed\n * `shrink` pulling back into a card, then holding\n * `slide` travelling left while the next one rides in\n * `enter` the frame where the new slide takes over, before it grows\n */\ntype Phase = \"idle\" | \"shrink\" | \"slide\" | \"enter\";\n\nconst NEXT_PHASE: Record<Phase, Phase> = {\n idle: \"shrink\",\n shrink: \"slide\",\n slide: \"enter\",\n enter: \"idle\",\n};\n\nexport interface AuthMediaSlide {\n src: string;\n /** Decorative by default: the artwork carries no information the form needs. */\n alt?: string;\n}\n\nexport function AuthMediaCarousel({\n slides,\n interval = 3200,\n className,\n}: {\n slides: AuthMediaSlide[];\n /** Milliseconds a slide rests at full bleed, before the transition begins. */\n interval?: number;\n className?: string;\n}) {\n const [index, setIndex] = useState(0);\n const [phase, setPhase] = useState<Phase>(\"idle\");\n const inlineSign = useDirection() === \"rtl\" ? -1 : 1;\n const count = slides.length;\n\n useEffect(() => {\n if (count < 2) return;\n if (window.matchMedia(REDUCED_MOTION_QUERY).matches) return;\n\n // `enter` is only a re-labelling: the outgoing slide is dropped and the\n // incoming one takes position 0 at the size it was already drawn at, so it\n // needs a frame to paint before the grow can transition from it.\n const delay = {\n idle: interval,\n shrink: SHRINK_MS + HOLD_MS,\n slide: SLIDE_MS,\n enter: 20,\n }[phase];\n\n const timer = window.setTimeout(() => {\n if (phase === \"slide\") setIndex((current) => (current + 1) % count);\n setPhase(NEXT_PHASE[phase]);\n }, delay);\n\n return () => window.clearTimeout(timer);\n }, [phase, count, interval]);\n\n return (\n <div\n style={{ perspective: `${PERSPECTIVE}px` }}\n className={cx(\"absolute inset-0 overflow-hidden\", className)}\n >\n {slides.map((slide, slideIndex) => {\n // 0 is the slide in play, 1 is next in the queue, and everything else\n // waits off to the right until its turn comes round.\n const position = (slideIndex - index + count) % count;\n const current = position === 0;\n const upNext = position === 1;\n\n // Where this slide sits on the drum. `arrived` is square to the\n // viewer but still card-sized: growing is the beat after.\n const transform = current\n ? phase === \"slide\"\n ? `translateX(${-100 * inlineSign}%) translateZ(${-DEPTH}px) rotateY(${-TILT * inlineSign}deg) scale(${CARD_SCALE})`\n : phase === \"shrink\"\n ? `scale(${CARD_SCALE})`\n : phase === \"enter\"\n ? `scale(${ENTER_SCALE})`\n : \"scale(1)\"\n : upNext && phase === \"slide\"\n ? `scale(${ENTER_SCALE})`\n : `translateX(${100 * inlineSign}%) translateZ(${-DEPTH}px) rotateY(${TILT * inlineSign}deg) scale(${ENTER_SCALE})`;\n\n // Only the slides in motion this beat may transition. The rest are\n // being repositioned, and a transition would streak them across.\n const moving = current || (upNext && phase === \"slide\");\n\n return (\n // Deliberate: this file installs into other projects and should not\n // require next/image. Swap it for your own loader if you have one.\n // eslint-disable-next-line @next/next/no-img-element\n <img\n key={slide.src}\n src={slide.src}\n alt={slide.alt ?? \"\"}\n aria-hidden={slide.alt ? undefined : true}\n loading={slideIndex === 0 ? \"eager\" : \"lazy\"}\n style={{\n transform,\n borderRadius: current && phase === \"idle\" ? 0 : CARD_RADIUS,\n transitionDuration:\n phase === \"slide\" ? `${SLIDE_MS}ms` : phase === \"shrink\" ? `${SHRINK_MS}ms` : `${GROW_MS}ms`,\n }}\n className={cx(\n \"absolute inset-0 size-full object-cover\",\n moving && phase !== \"enter\"\n ? \"transition-[transform,border-radius] ease-in-out\"\n : \"transition-none\",\n )}\n />\n );\n })}\n\n {slides.length > 1 ? (\n <div className=\"absolute inset-x-0 bottom-4 flex justify-center gap-1.5\">\n {slides.map((slide, slideIndex) => (\n <span\n key={slide.src}\n aria-hidden\n className={cx(\n \"h-1.5 rounded-full bg-white transition-all duration-500 ease-out\",\n slideIndex === index ? \"w-5 opacity-90\" : \"w-1.5 opacity-45\",\n )}\n />\n ))}\n </div>\n ) : null}\n </div>\n );\n}\n",
"type": "registry:component",
"target": "components/application/auth/auth-media-carousel.tsx"
},
{
"path": "components/base/social-button/social-providers.ts",
"content": "/**\n * Brand glyphs for the social sign-in buttons.\n *\n * Path data is copied verbatim from two upstream sets, never redrawn:\n * - Simple Icons (https://simple-icons.org), CC0 1.0 — the 24×24 glyphs.\n * - Bootstrap Icons (https://icons.getbootstrap.com), MIT — the 16×16\n * glyphs, used only for LinkedIn, Slack, Microsoft and Amazon, which\n * Simple Icons removed at the trademark holders' request.\n * Each entry carries its own `viewBox` because the two sets are drawn on\n * different grids; the button scales whichever it gets to the same box.\n *\n * `brand` is the provider's own colour, used when `color=\"brand\"`. The glyphs\n * themselves are monochrome and paint with `currentColor`, so the neutral\n * treatment needs no second copy of the artwork.\n *\n * The logos are trademarks of their owners. Several providers (Google and\n * Apple in particular) publish sign-in button guidelines covering colour,\n * clear space and wording; check them before shipping a production login.\n */\n\nexport type SocialProvider = keyof typeof SOCIAL_PROVIDERS;\n\nexport const SOCIAL_PROVIDERS = {\n \"google\": {\n label: \"Google\",\n // The system's blue token, not Google's own #4285F4. The two are close\n // enough that showing both in one product reads as a mistake, and the\n // `colorful` button is a BoardUI control, so it takes the BoardUI blue —\n // and with it the primary button's exact gradient. The multi-colour G\n // used by `appearance=\"white\"` is untouched and stays Google's own.\n brand: \"var(--color-accent-500)\",\n viewBox: \"0 0 24 24\",\n path: \"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\",\n },\n \"apple\": {\n label: \"Apple\",\n brand: \"#000000\",\n viewBox: \"0 0 24 24\",\n path: \"M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701\",\n },\n \"github\": {\n label: \"GitHub\",\n brand: \"#181717\",\n viewBox: \"0 0 24 24\",\n path: \"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12\",\n },\n \"gitlab\": {\n label: \"GitLab\",\n brand: \"#FC6D26\",\n viewBox: \"0 0 24 24\",\n path: \"m23.6004 9.5927-.0337-.0862L20.3.9814a.851.851 0 0 0-.3362-.405.8748.8748 0 0 0-.9997.0539.8748.8748 0 0 0-.29.4399l-2.2055 6.748H7.5375l-2.2057-6.748a.8573.8573 0 0 0-.29-.4412.8748.8748 0 0 0-.9997-.0537.8585.8585 0 0 0-.3362.4049L.4332 9.5015l-.0325.0862a6.0657 6.0657 0 0 0 2.0119 7.0105l.0113.0087.03.0213 4.976 3.7264 2.462 1.8633 1.4995 1.1321a1.0085 1.0085 0 0 0 1.2197 0l1.4995-1.1321 2.4619-1.8633 5.006-3.7489.0125-.01a6.0682 6.0682 0 0 0 2.0094-7.003z\",\n },\n \"microsoft\": {\n label: \"Microsoft\",\n brand: \"#5E5E5E\",\n viewBox: \"0 0 16 16\",\n path: \"M7.462 0H0v7.19h7.462zM16 0H8.538v7.19H16zM7.462 8.211H0V16h7.462zm8.538 0H8.538V16H16z\",\n },\n \"x\": {\n label: \"X\",\n brand: \"#000000\",\n viewBox: \"0 0 24 24\",\n path: \"M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z\",\n },\n \"facebook\": {\n label: \"Facebook\",\n brand: \"#0866FF\",\n viewBox: \"0 0 24 24\",\n path: \"M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z\",\n },\n \"linkedin\": {\n label: \"LinkedIn\",\n brand: \"#0A66C2\",\n viewBox: \"0 0 16 16\",\n path: \"M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z\",\n },\n \"discord\": {\n label: \"Discord\",\n brand: \"#5865F2\",\n viewBox: \"0 0 24 24\",\n path: \"M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z\",\n },\n \"slack\": {\n label: \"Slack\",\n brand: \"#4A154B\",\n viewBox: \"0 0 16 16\",\n path: \"M3.362 10.11c0 .926-.756 1.681-1.681 1.681S0 11.036 0 10.111.756 8.43 1.68 8.43h1.682zm.846 0c0-.924.756-1.68 1.681-1.68s1.681.756 1.681 1.68v4.21c0 .924-.756 1.68-1.68 1.68a1.685 1.685 0 0 1-1.682-1.68zM5.89 3.362c-.926 0-1.682-.756-1.682-1.681S4.964 0 5.89 0s1.68.756 1.68 1.68v1.682zm0 .846c.924 0 1.68.756 1.68 1.681S6.814 7.57 5.89 7.57H1.68C.757 7.57 0 6.814 0 5.89c0-.926.756-1.682 1.68-1.682zm6.749 1.682c0-.926.755-1.682 1.68-1.682S16 4.964 16 5.889s-.756 1.681-1.68 1.681h-1.681zm-.848 0c0 .924-.755 1.68-1.68 1.68A1.685 1.685 0 0 1 8.43 5.89V1.68C8.43.757 9.186 0 10.11 0c.926 0 1.681.756 1.681 1.68zm-1.681 6.748c.926 0 1.682.756 1.682 1.681S11.036 16 10.11 16s-1.681-.756-1.681-1.68v-1.682h1.68zm0-.847c-.924 0-1.68-.755-1.68-1.68s.756-1.681 1.68-1.681h4.21c.924 0 1.68.756 1.68 1.68 0 .926-.756 1.681-1.68 1.681z\",\n },\n \"figma\": {\n label: \"Figma\",\n brand: \"#F24E1E\",\n viewBox: \"0 0 24 24\",\n path: \"M15.852 8.981h-4.588V0h4.588c2.476 0 4.49 2.014 4.49 4.49s-2.014 4.491-4.49 4.491zM12.735 7.51h3.117c1.665 0 3.019-1.355 3.019-3.019s-1.355-3.019-3.019-3.019h-3.117V7.51zm0 1.471H8.148c-2.476 0-4.49-2.014-4.49-4.49S5.672 0 8.148 0h4.588v8.981zm-4.587-7.51c-1.665 0-3.019 1.355-3.019 3.019s1.354 3.02 3.019 3.02h3.117V1.471H8.148zm4.587 15.019H8.148c-2.476 0-4.49-2.014-4.49-4.49s2.014-4.49 4.49-4.49h4.588v8.98zM8.148 8.981c-1.665 0-3.019 1.355-3.019 3.019s1.355 3.019 3.019 3.019h3.117V8.981H8.148zM8.172 24c-2.489 0-4.515-2.014-4.515-4.49s2.014-4.49 4.49-4.49h4.588v4.441c0 2.503-2.047 4.539-4.563 4.539zm-.024-7.51a3.023 3.023 0 0 0-3.019 3.019c0 1.665 1.365 3.019 3.044 3.019 1.705 0 3.093-1.376 3.093-3.068v-2.97H8.148zm7.704 0h-.098c-2.476 0-4.49-2.014-4.49-4.49s2.014-4.49 4.49-4.49h.098c2.476 0 4.49 2.014 4.49 4.49s-2.014 4.49-4.49 4.49zm-.097-7.509c-1.665 0-3.019 1.355-3.019 3.019s1.355 3.019 3.019 3.019h.098c1.665 0 3.019-1.355 3.019-3.019s-1.355-3.019-3.019-3.019h-.098z\",\n },\n \"notion\": {\n label: \"Notion\",\n brand: \"#000000\",\n viewBox: \"0 0 24 24\",\n path: \"M4.459 4.208c.746.606 1.026.56 2.428.466l13.215-.793c.28 0 .047-.28-.046-.326L17.86 1.968c-.42-.326-.981-.7-2.055-.607L3.01 2.295c-.466.046-.56.28-.374.466zm.793 3.08v13.904c0 .747.373 1.027 1.214.98l14.523-.84c.841-.046.935-.56.935-1.167V6.354c0-.606-.233-.933-.748-.887l-15.177.887c-.56.047-.747.327-.747.933zm14.337.745c.093.42 0 .84-.42.888l-.7.14v10.264c-.608.327-1.168.514-1.635.514-.748 0-.935-.234-1.495-.933l-4.577-7.186v6.952L12.21 19s0 .84-1.168.84l-3.222.186c-.093-.186 0-.653.327-.746l.84-.233V9.854L7.822 9.76c-.094-.42.14-1.026.793-1.073l3.456-.233 4.764 7.279v-6.44l-1.215-.139c-.093-.514.28-.887.747-.933zM1.936 1.035l13.31-.98c1.634-.14 2.055-.047 3.082.7l4.249 2.986c.7.513.934.653.934 1.213v16.378c0 1.026-.373 1.634-1.68 1.726l-15.458.934c-.98.047-1.448-.093-1.962-.747l-3.129-4.06c-.56-.747-.793-1.306-.793-1.96V2.667c0-.839.374-1.54 1.447-1.632z\",\n },\n \"dropbox\": {\n label: \"Dropbox\",\n brand: \"#0061FF\",\n viewBox: \"0 0 24 24\",\n path: \"M6 1.807L0 5.629l6 3.822 6.001-3.822L6 1.807zM18 1.807l-6 3.822 6 3.822 6-3.822-6-3.822zM0 13.274l6 3.822 6.001-3.822L6 9.452l-6 3.822zM18 9.452l-6 3.822 6 3.822 6-3.822-6-3.822zM6 18.371l6.001 3.822 6-3.822-6-3.822L6 18.371z\",\n },\n \"spotify\": {\n label: \"Spotify\",\n brand: \"#1ED760\",\n viewBox: \"0 0 24 24\",\n path: \"M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.66 0 12 0zm5.521 17.34c-.24.359-.66.48-1.021.24-2.82-1.74-6.36-2.101-10.561-1.141-.418.122-.779-.179-.899-.539-.12-.421.18-.78.54-.9 4.56-1.021 8.52-.6 11.64 1.32.42.18.479.659.301 1.02zm1.44-3.3c-.301.42-.841.6-1.262.3-3.239-1.98-8.159-2.58-11.939-1.38-.479.12-1.02-.12-1.14-.6-.12-.48.12-1.021.6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.179-1.2-.181-1.38-.721-.18-.601.18-1.2.72-1.381 4.26-1.26 11.28-1.02 15.721 1.621.539.3.719 1.02.419 1.56-.299.421-1.02.599-1.559.3z\",\n },\n \"twitch\": {\n label: \"Twitch\",\n brand: \"#9146FF\",\n viewBox: \"0 0 24 24\",\n path: \"M11.571 4.714h1.715v5.143H11.57zm4.715 0H18v5.143h-1.714zM6 0L1.714 4.286v15.428h5.143V24l4.286-4.286h3.428L22.286 12V0zm14.571 11.143l-3.428 3.428h-3.429l-3 3v-3H6.857V1.714h13.714Z\",\n },\n \"reddit\": {\n label: \"Reddit\",\n brand: \"#FF4500\",\n viewBox: \"0 0 24 24\",\n path: \"M12 0C5.373 0 0 5.373 0 12c0 3.314 1.343 6.314 3.515 8.485l-2.286 2.286C.775 23.225 1.097 24 1.738 24H12c6.627 0 12-5.373 12-12S18.627 0 12 0Zm4.388 3.199c1.104 0 1.999.895 1.999 1.999 0 1.105-.895 2-1.999 2-.946 0-1.739-.657-1.947-1.539v.002c-1.147.162-2.032 1.15-2.032 2.341v.007c1.776.067 3.4.567 4.686 1.363.473-.363 1.064-.58 1.707-.58 1.547 0 2.802 1.254 2.802 2.802 0 1.117-.655 2.081-1.601 2.531-.088 3.256-3.637 5.876-7.997 5.876-4.361 0-7.905-2.617-7.998-5.87-.954-.447-1.614-1.415-1.614-2.538 0-1.548 1.255-2.802 2.803-2.802.645 0 1.239.218 1.712.585 1.275-.79 2.881-1.291 4.64-1.365v-.01c0-1.663 1.263-3.034 2.88-3.207.188-.911.993-1.595 1.959-1.595Zm-8.085 8.376c-.784 0-1.459.78-1.506 1.797-.047 1.016.64 1.429 1.426 1.429.786 0 1.371-.369 1.418-1.385.047-1.017-.553-1.841-1.338-1.841Zm7.406 0c-.786 0-1.385.824-1.338 1.841.047 1.017.634 1.385 1.418 1.385.785 0 1.473-.413 1.426-1.429-.046-1.017-.721-1.797-1.506-1.797Zm-3.703 4.013c-.974 0-1.907.048-2.77.135-.147.015-.241.168-.183.305.483 1.154 1.622 1.964 2.953 1.964 1.33 0 2.47-.81 2.953-1.964.057-.137-.037-.29-.184-.305-.863-.087-1.795-.135-2.769-.135Z\",\n },\n \"tiktok\": {\n label: \"TikTok\",\n brand: \"#000000\",\n viewBox: \"0 0 24 24\",\n path: \"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z\",\n },\n \"instagram\": {\n label: \"Instagram\",\n brand: \"#FF0069\",\n viewBox: \"0 0 24 24\",\n path: \"M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077\",\n },\n \"telegram\": {\n label: \"Telegram\",\n brand: \"#26A5E4\",\n viewBox: \"0 0 24 24\",\n path: \"M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z\",\n },\n \"whatsapp\": {\n label: \"WhatsApp\",\n brand: \"#25D366\",\n viewBox: \"0 0 24 24\",\n path: \"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z\",\n },\n \"amazon\": {\n label: \"Amazon\",\n brand: \"#FF9900\",\n viewBox: \"0 0 16 16\",\n path: \"M10.813 11.968c.157.083.36.074.5-.05l.005.005a90 90 0 0 1 1.623-1.405c.173-.143.143-.372.006-.563l-.125-.17c-.345-.465-.673-.906-.673-1.791v-3.3l.001-.335c.008-1.265.014-2.421-.933-3.305C10.404.274 9.06 0 8.03 0 6.017 0 3.77.75 3.296 3.24c-.047.264.143.404.316.443l2.054.22c.19-.009.33-.196.366-.387.176-.857.896-1.271 1.703-1.271.435 0 .929.16 1.188.55.264.39.26.91.257 1.376v.432q-.3.033-.621.065c-1.113.114-2.397.246-3.36.67C3.873 5.91 2.94 7.08 2.94 8.798c0 2.2 1.387 3.298 3.168 3.298 1.506 0 2.328-.354 3.489-1.54l.167.246c.274.405.456.675 1.047 1.166ZM6.03 8.431C6.03 6.627 7.647 6.3 9.177 6.3v.57c.001.776.002 1.434-.396 2.133-.336.595-.87.961-1.465.961-.812 0-1.286-.619-1.286-1.533M.435 12.174c2.629 1.603 6.698 4.084 13.183.997.28-.116.475.078.199.431C13.538 13.96 11.312 16 7.57 16 3.832 16 .968 13.446.094 12.386c-.24-.275.036-.4.199-.299z M13.828 11.943c.567-.07 1.468-.027 1.645.204.135.176-.004.966-.233 1.533-.23.563-.572.961-.762 1.115s-.333.094-.23-.137c.105-.23.684-1.663.455-1.963-.213-.278-1.177-.177-1.625-.13l-.09.009q-.142.013-.233.024c-.193.021-.245.027-.274-.032-.074-.209.779-.556 1.347-.623\",\n },\n \"bitbucket\": {\n label: \"Bitbucket\",\n brand: \"#0052CC\",\n viewBox: \"0 0 24 24\",\n path: \"M.778 1.213a.768.768 0 00-.768.892l3.263 19.81c.084.5.515.868 1.022.873H19.95a.772.772 0 00.77-.646l3.27-20.03a.768.768 0 00-.768-.891zM14.52 15.53H9.522L8.17 8.466h7.561z\",\n },\n \"auth0\": {\n label: \"Auth0\",\n brand: \"#EB5424\",\n viewBox: \"0 0 24 24\",\n path: \"M21.98 7.448L19.62 0H4.347L2.02 7.448c-1.352 4.312.03 9.206 3.815 12.015L12.007 24l6.157-4.552c3.755-2.81 5.182-7.688 3.815-12.015l-6.16 4.58 2.343 7.45-6.157-4.597-6.158 4.58 2.358-7.433-6.188-4.55 7.63-.045L12.008 0l2.356 7.404 7.615.044z\",\n },\n \"okta\": {\n label: \"Okta\",\n brand: \"#007DC1\",\n viewBox: \"0 0 24 24\",\n path: \"M12 0C5.389 0 0 5.35 0 12s5.35 12 12 12 12-5.35 12-12S18.611 0 12 0zm0 18c-3.325 0-6-2.675-6-6s2.675-6 6-6 6 2.675 6 6-2.675 6-6 6z\",\n },\n} as const;\n",
"type": "registry:component",
"target": "components/base/social-button/social-providers.ts"
}
],
"assets": [
{
"url": "/carousel/floral.webp",
"target": "public/carousel/floral.webp"
},
{
"url": "/carousel/kitchen.webp",
"target": "public/carousel/kitchen.webp"
},
{
"url": "/carousel/seafood.webp",
"target": "public/carousel/seafood.webp"
},
{
"url": "/carousel/shark-collage.webp",
"target": "public/carousel/shark-collage.webp"
},
{
"url": "/carousel/space-squid.webp",
"target": "public/carousel/space-squid.webp"
},
{
"url": "/carousel/sunrise.webp",
"target": "public/carousel/sunrise.webp"
},
{
"url": "/carousel/vending-machine.webp",
"target": "public/carousel/vending-machine.webp"
}
],
"meta": {
"docsUrl": "https://www.boardui.com/components/auth-card",
"example": "import { AuthCard } from \"@/components/application/auth/auth-card\";\n\nexport function Example() {\n return (\n <AuthCard\n mode=\"signin\"\n layout=\"stacked\"\n providers={[\"google\", \"apple\", \"github\"]}\n onSubmit={(data) => signIn(\"credentials\", Object.fromEntries(data))}\n onProvider={(provider) => signIn(provider)}\n />\n );\n}",
"snippets": [
{
"label": "layout",
"code": "{/* Stacked: full-width buttons with labels, under the form */}\n<AuthCard layout=\"stacked\" providers={[\"google\", \"apple\", \"github\"]} />\n\n{/* Inline: icon-only squares, under the form */}\n<AuthCard\n layout=\"inline\"\n providers={[\"google\", \"apple\", \"github\", \"x\", \"figma\", \"slack\"]}\n/>\n\n{/* Grid: icon-only buttons across equal columns */}\n<AuthCard layout=\"grid\" providers={[\"apple\", \"google\", \"figma\"]} />"
},
{
"label": "split",
"code": "import { AuthMediaCarousel } from \"@/components/application/auth/auth-media-carousel\";\n\n<AuthCard\n mode=\"signup\"\n layout=\"grid\"\n centered\n confirmPassword\n providers={[\"apple\", \"google\", \"figma\"]}\n footnote=\"By clicking continue, you agree to our Terms of Service and Privacy Policy.\"\n media={\n <AuthMediaCarousel\n slides={[\n { src: \"/art/one.webp\" },\n { src: \"/art/two.webp\" },\n { src: \"/art/three.webp\" },\n { src: \"/art/four.webp\" },\n ]}\n />\n }\n/>\n\n{/* Any node works — a single image, a video, a gradient */}\n<AuthCard media={<img src=\"/art/one.webp\" alt=\"\" className=\"size-full object-cover\" />} />"
},
{
"label": "logo",
"code": "{/* logo takes a node, so it is your mark, not a src the card owns */}\n<AuthCard\n centered\n logo={<ProLogoMark scale={40 / 56} animated />}\n title=\"Sign in to BoardUI Pro\"\n description=\"Your license unlocks every Pro component and template.\"\n/>\n\n{/* Left-aligned when centered is off */}\n<AuthCard mode=\"signup\" logo={<AppLogo className=\"size-10\" />} />"
},
{
"label": "verify",
"code": "<AuthCard\n mode=\"verify\"\n email=\"[email protected]\"\n codeLength={6}\n onComplete={(code) => verifyCode(code)}\n onResend={() => resend()}\n/>\n\n{/* Four boxes instead of six */}\n<AuthCard mode=\"verify\" email={email} codeLength={4} />"
},
{
"label": "mode",
"code": "<AuthCard mode=\"signin\" /> {/* Welcome back, remember me, forgot password */}\n<AuthCard mode=\"signup\" /> {/* Adds a name field and the terms line */}"
},
{
"label": "provider",
"code": "{/* Any of the 24 social button brands, in any order */}\n<AuthCard providers={[\"google\", \"microsoft\", \"okta\"]} />\n\n{/* Email only: pass an empty array and the divider disappears with it */}\n<AuthCard providers={[]} />"
},
{
"label": "wiring",
"code": "<AuthCard\n mode=\"signup\"\n // The form is uncontrolled; you get its FormData on submit.\n onSubmit={(data) => {\n const email = data.get(\"email\");\n const password = data.get(\"password\");\n // ...hand these to your auth library\n }}\n onProvider={(provider) => signIn(provider)}\n switchHref=\"/sign-in\"\n/>"
}
]
}
}