# Hold-to-confirm fingerprint

> You hold a finger on the fingerprint: the ring fills, the ridges light up one by one and the option is confirmed.

- Category: [Checkboxes](https://library.aimran.es/components/checkboxes)
- Built with: HTML + CSS
- Live editor: https://library.aimran.es/blocks/uv-chk-fingerprint
- Library: AIMRAN Library (https://library.aimran.es), free, no sign-up, by Aimran Oukham

## Where to use it

This checkbox asks for a deliberate gesture. Pressing and holding the fingerprint fills a progress ring around it while the ridges colour in from the centre outwards; letting go early cancels. When the ring closes, a badge with a tick pops in and the hint changes to confirmed. Keyboard users toggle it with Space or Enter. It fits payments, deletions, consent and other actions that should not happen by accident.

The main color drives the ring, ridges and badge, the secondary color the soft disc behind the print. The hold lasts one second at normal speed, and the speed slider shortens or stretches it to match how serious the action is.

## Code

### HTML

```html
<div class="uvq02-fpr"><input type="checkbox" aria-label="Authorize payment"><span class="pd" aria-hidden="true"><svg class="rg" viewBox="0 0 48 48"><circle cx="24" cy="24" r="22.5" pathLength="1"/></svg><svg class="fp" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path style="--i:0" d="M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4"/><path style="--i:1" d="M14 13.12c0 2.38 0 6.38-1 8.88"/><path style="--i:2" d="M9 6.8a6 6 0 0 1 9 5.2v2"/><path style="--i:3" d="M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2"/><path style="--i:4" d="M8.65 22c.21-.66.45-1.32.57-2"/><path style="--i:5" d="M17.29 21.02c.12-.6.43-2.3.5-3.02"/><path style="--i:6" d="M2 12a10 10 0 0 1 18-6"/><path style="--i:7" d="M21.8 16c.2-2 .131-5.354 0-6"/><path style="--i:8" d="M2 16h.01"/></svg><span class="ok"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5" pathLength="1"/></svg></span></span><span class="tx" aria-hidden="true"><b>Authorize payment</b><small><span class="a">Press and hold</span><span class="c">Confirmed</span></small></span></div>
```

### CSS

```css
.uvq02-fpr {
  --c1: #0f9d76;
  --c2: #c9f2e3;
  --s: 16px;
  /* tamaño */
  --k: 1;
  /* velocidad */
  --fg: #1d1d1f;
  /* texto */
  --bg: #f5f5f7;
  /* fondo */
}

.uvq02-fpr {
  font-family: -apple-system,BlinkMacSystemFont,"SF Pro Text","Inter",system-ui,sans-serif;
  font-size: var(--s);
  color: var(--fg);
  -webkit-tap-highlight-color: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1em;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

.uvq02-fpr input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.uvq02-fpr .pd {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 4em;
  height: 4em;
  border-radius: 50%;
  background: color-mix(in srgb,var(--c2) 45%,transparent);
  color: color-mix(in srgb,var(--fg) 32%,transparent);
  transition: transform calc(0.3s / var(--k)) cubic-bezier(.34,1.56,.64,1),background calc(0.3s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq02-fpr .rg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  fill: none;
  stroke: var(--c1);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  transition: stroke-dashoffset calc(0.3s / var(--k)) cubic-bezier(.25,.1,.25,1),opacity calc(0.3s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq02-fpr .fp {
  width: 2.3em;
  height: 2.3em;
}

.uvq02-fpr .fp path {
  transition: stroke calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq02-fpr .ok {
  position: absolute;
  right: -.1em;
  bottom: -.1em;
  display: grid;
  place-items: center;
  width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
  background: var(--c1);
  color: #fff;
  box-shadow: 0 0 0 .18em var(--bg);
  transform: scale(0);
  transition: transform calc(0.35s / var(--k)) cubic-bezier(.34,1.56,.64,1);
}

.uvq02-fpr .ok svg {
  width: .85em;
  height: .85em;
}

.uvq02-fpr .tx {
  display: flex;
  flex-direction: column;
  gap: .2em;
}

.uvq02-fpr b {
  font-weight: 650;
}

.uvq02-fpr small {
  font-size: .78em;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
}

.uvq02-fpr .c {
  display: none;
  color: var(--c1);
  font-weight: 600;
}

.uvq02-fpr:hover .pd {
  background: color-mix(in srgb,var(--c2) 70%,transparent);
}

.uvq02-fpr.hd .pd {
  transform: scale(.94);
}

.uvq02-fpr.hd .rg,.uvq02-fpr:has(input:checked) .rg {
  opacity: 1;
}

.uvq02-fpr:has(input:checked) .rg {
  stroke-dashoffset: 0;
}

.uvq02-fpr.hd .rg {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset calc(1s / var(--k)) linear;
}

.uvq02-fpr.hd:has(input:checked) .rg {
  stroke-dashoffset: 1;
}

.uvq02-fpr.hd .fp path {
  stroke: var(--c1);
  transition: stroke calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1) calc(var(--i) * calc(0.1s / var(--k)));
}

.uvq02-fpr:has(input:checked) .fp path {
  stroke: var(--c1);
}

.uvq02-fpr:has(input:checked) .ok {
  transform: scale(1);
}

.uvq02-fpr:has(input:checked) .a {
  display: none;
}

.uvq02-fpr:has(input:checked) .c {
  display: inline;
}

.uvq02-fpr:has(input:focus-visible) .pd {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

@media (prefers-reduced-motion:reduce) {
  .uvq02-fpr,.uvq02-fpr *,.uvq02-fpr *::before,.uvq02-fpr *::after {
    animation-duration: .01ms!important;
    animation-iteration-count: 1!important;
    transition-duration: .01ms!important;
  }
}
```

### JavaScript

```js
document.querySelectorAll(".uvq02-fpr").forEach(el => {
  const i = el.querySelector("input");
  let t = 0;
  const k = () => parseFloat(getComputedStyle(el).getPropertyValue("--k")) || 1;
  const stop = () => { clearTimeout(t); t = 0; el.classList.remove("hd"); };
  const done = () => { stop(); i.checked = !i.checked; i.dispatchEvent(new Event("change", { bubbles: true })); };
  el.addEventListener("pointerdown", (e) => {
    if (e.button > 0) return;
    e.preventDefault();
    el.classList.add("hd");
    t = setTimeout(done, 1000 / k());
  });
  ["pointerup", "pointerleave", "pointercancel"].forEach((n) => el.addEventListener(n, () => t && stop()));
  el.addEventListener("contextmenu", (e) => e.preventDefault());
  i.addEventListener("keydown", (e) => { if (e.key === "Enter") { e.preventDefault(); i.click(); } });
  return stop;
});
```

### React

```tsx
// @ts-nocheck: setup() es JavaScript del DOM sin tipos, el mismo de la pestaña JS.
import { useEffect, useRef, type CSSProperties } from "react";

const css = `
.uvq02-fpr {
  font-family: -apple-system,BlinkMacSystemFont,"SF Pro Text","Inter",system-ui,sans-serif;
  font-size: var(--s);
  color: var(--fg);
  -webkit-tap-highlight-color: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1em;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

.uvq02-fpr input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.uvq02-fpr .pd {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 4em;
  height: 4em;
  border-radius: 50%;
  background: color-mix(in srgb,var(--c2) 45%,transparent);
  color: color-mix(in srgb,var(--fg) 32%,transparent);
  transition: transform calc(0.3s / var(--k)) cubic-bezier(.34,1.56,.64,1),background calc(0.3s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq02-fpr .rg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  fill: none;
  stroke: var(--c1);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  transition: stroke-dashoffset calc(0.3s / var(--k)) cubic-bezier(.25,.1,.25,1),opacity calc(0.3s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq02-fpr .fp {
  width: 2.3em;
  height: 2.3em;
}

.uvq02-fpr .fp path {
  transition: stroke calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq02-fpr .ok {
  position: absolute;
  right: -.1em;
  bottom: -.1em;
  display: grid;
  place-items: center;
  width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
  background: var(--c1);
  color: #fff;
  box-shadow: 0 0 0 .18em var(--bg);
  transform: scale(0);
  transition: transform calc(0.35s / var(--k)) cubic-bezier(.34,1.56,.64,1);
}

.uvq02-fpr .ok svg {
  width: .85em;
  height: .85em;
}

.uvq02-fpr .tx {
  display: flex;
  flex-direction: column;
  gap: .2em;
}

.uvq02-fpr b {
  font-weight: 650;
}

.uvq02-fpr small {
  font-size: .78em;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
}

.uvq02-fpr .c {
  display: none;
  color: var(--c1);
  font-weight: 600;
}

.uvq02-fpr:hover .pd {
  background: color-mix(in srgb,var(--c2) 70%,transparent);
}

.uvq02-fpr.hd .pd {
  transform: scale(.94);
}

.uvq02-fpr.hd .rg,.uvq02-fpr:has(input:checked) .rg {
  opacity: 1;
}

.uvq02-fpr:has(input:checked) .rg {
  stroke-dashoffset: 0;
}

.uvq02-fpr.hd .rg {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset calc(1s / var(--k)) linear;
}

.uvq02-fpr.hd:has(input:checked) .rg {
  stroke-dashoffset: 1;
}

.uvq02-fpr.hd .fp path {
  stroke: var(--c1);
  transition: stroke calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1) calc(var(--i) * calc(0.1s / var(--k)));
}

.uvq02-fpr:has(input:checked) .fp path {
  stroke: var(--c1);
}

.uvq02-fpr:has(input:checked) .ok {
  transform: scale(1);
}

.uvq02-fpr:has(input:checked) .a {
  display: none;
}

.uvq02-fpr:has(input:checked) .c {
  display: inline;
}

.uvq02-fpr:has(input:focus-visible) .pd {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

@media (prefers-reduced-motion:reduce) {
  .uvq02-fpr,.uvq02-fpr *,.uvq02-fpr *::before,.uvq02-fpr *::after {
    animation-duration: .01ms!important;
    animation-iteration-count: 1!important;
    transition-duration: .01ms!important;
  }
}
`;

// Interacción en JavaScript del DOM: la misma que en la pestaña JS.
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function setup(el: any) {
  const i = el.querySelector("input");
  let t = 0;
  const k = () => parseFloat(getComputedStyle(el).getPropertyValue("--k")) || 1;
  const stop = () => { clearTimeout(t); t = 0; el.classList.remove("hd"); };
  const done = () => { stop(); i.checked = !i.checked; i.dispatchEvent(new Event("change", { bubbles: true })); };
  el.addEventListener("pointerdown", (e) => {
    if (e.button > 0) return;
    e.preventDefault();
    el.classList.add("hd");
    t = setTimeout(done, 1000 / k());
  });
  ["pointerup", "pointerleave", "pointercancel"].forEach((n) => el.addEventListener(n, () => t && stop()));
  el.addEventListener("contextmenu", (e) => e.preventDefault());
  i.addEventListener("keydown", (e) => { if (e.key === "Enter") { e.preventDefault(); i.click(); } });
  return stop;
}

export default function ChkFingerprint() {
  const ref = useRef<HTMLDivElement>(null);

  useEffect(() => {
    const el = ref.current?.firstElementChild;
    return el ? setup(el) : undefined;
  }, []);

  return (
    <>
      <style>{css}</style>
      <div
        ref={ref} style={{
          "--c1": "#0f9d76",
          "--c2": "#c9f2e3",
          "--s": "16px",
          "--k": "1",
          "--fg": "#1d1d1f",
          "--bg": "#f5f5f7",
        } as CSSProperties}
      >
        <div className="uvq02-fpr"><input type="checkbox" aria-label="Authorize payment" /><span className="pd" aria-hidden="true"><svg className="rg" viewBox="0 0 48 48"><circle cx="24" cy="24" r="22.5" pathLength="1" /></svg><svg className="fp" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.6" strokeLinecap="round" strokeLinejoin="round"><path style={{ "--i": "0" } as CSSProperties} d="M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4" /><path style={{ "--i": "1" } as CSSProperties} d="M14 13.12c0 2.38 0 6.38-1 8.88" /><path style={{ "--i": "2" } as CSSProperties} d="M9 6.8a6 6 0 0 1 9 5.2v2" /><path style={{ "--i": "3" } as CSSProperties} d="M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2" /><path style={{ "--i": "4" } as CSSProperties} d="M8.65 22c.21-.66.45-1.32.57-2" /><path style={{ "--i": "5" } as CSSProperties} d="M17.29 21.02c.12-.6.43-2.3.5-3.02" /><path style={{ "--i": "6" } as CSSProperties} d="M2 12a10 10 0 0 1 18-6" /><path style={{ "--i": "7" } as CSSProperties} d="M21.8 16c.2-2 .131-5.354 0-6" /><path style={{ "--i": "8" } as CSSProperties} d="M2 16h.01" /></svg><span className="ok"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="3" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5" pathLength="1" /></svg></span></span><span className="tx" aria-hidden="true"><b>Authorize payment</b><small><span className="a">Press and hold</span><span className="c">Confirmed</span></small></span></div>
      </div>
    </>
  );
}
```

## Prompt for AI assistants

Paste this into ChatGPT, Claude, Cursor, v0 or Lovable to adapt the block to your stack (Tailwind, Vue, Svelte…):

````text
I want to add the “Hold-to-confirm fingerprint” block (Checkboxes) from AIMRAN Library to my project.

## What it is
You hold a finger on the fingerprint: the ring fills, the ridges light up one by one and the option is confirmed.

## Chosen settings
- Main color: #0f9d76
- Secondary color: #c9f2e3
- Size: 16px (from 12 to 24px)
- Speed: 1x (from 0.5 to 2x)
- Text: "Autorizar el pago"

## What I need
1. Add it to my project with the same look and animation as the reference code: same sizes, colours, radii, shadows, timings and easing.
2. It is built with plain HTML and CSS (the reference wraps it in a React component with its CSS). If my project uses something else (Vue, Svelte, Astro, plain HTML…), translate it without losing any behaviour. If I use Tailwind, turn the styles into classes; if not, keep the CSS in its own file.
3. Expose the settings above as props (or CSS variables) with those values as defaults.
4. Make it work well on phones: nothing that depends only on hover, touch targets of at least 44 px and no overflow on 320 px screens.
5. Make it look right in light and dark mode.
6. Keep it accessible: semantic HTML, roles and aria-* where needed, visible focus and keyboard support.
7. Respect prefers-reduced-motion: with reduced motion, no big animations but the same end result.

## Reference code
```tsx
// @ts-nocheck: setup() es JavaScript del DOM sin tipos, el mismo de la pestaña JS.
import { useEffect, useRef, type CSSProperties } from "react";

const css = `
.uvq02-fpr {
  font-family: -apple-system,BlinkMacSystemFont,"SF Pro Text","Inter",system-ui,sans-serif;
  font-size: var(--s);
  color: var(--fg);
  -webkit-tap-highlight-color: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1em;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

.uvq02-fpr input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.uvq02-fpr .pd {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 4em;
  height: 4em;
  border-radius: 50%;
  background: color-mix(in srgb,var(--c2) 45%,transparent);
  color: color-mix(in srgb,var(--fg) 32%,transparent);
  transition: transform calc(0.3s / var(--k)) cubic-bezier(.34,1.56,.64,1),background calc(0.3s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq02-fpr .rg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  fill: none;
  stroke: var(--c1);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  transition: stroke-dashoffset calc(0.3s / var(--k)) cubic-bezier(.25,.1,.25,1),opacity calc(0.3s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq02-fpr .fp {
  width: 2.3em;
  height: 2.3em;
}

.uvq02-fpr .fp path {
  transition: stroke calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq02-fpr .ok {
  position: absolute;
  right: -.1em;
  bottom: -.1em;
  display: grid;
  place-items: center;
  width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
  background: var(--c1);
  color: #fff;
  box-shadow: 0 0 0 .18em var(--bg);
  transform: scale(0);
  transition: transform calc(0.35s / var(--k)) cubic-bezier(.34,1.56,.64,1);
}

.uvq02-fpr .ok svg {
  width: .85em;
  height: .85em;
}

.uvq02-fpr .tx {
  display: flex;
  flex-direction: column;
  gap: .2em;
}

.uvq02-fpr b {
  font-weight: 650;
}

.uvq02-fpr small {
  font-size: .78em;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
}

.uvq02-fpr .c {
  display: none;
  color: var(--c1);
  font-weight: 600;
}

.uvq02-fpr:hover .pd {
  background: color-mix(in srgb,var(--c2) 70%,transparent);
}

.uvq02-fpr.hd .pd {
  transform: scale(.94);
}

.uvq02-fpr.hd .rg,.uvq02-fpr:has(input:checked) .rg {
  opacity: 1;
}

.uvq02-fpr:has(input:checked) .rg {
  stroke-dashoffset: 0;
}

.uvq02-fpr.hd .rg {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset calc(1s / var(--k)) linear;
}

.uvq02-fpr.hd:has(input:checked) .rg {
  stroke-dashoffset: 1;
}

.uvq02-fpr.hd .fp path {
  stroke: var(--c1);
  transition: stroke calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1) calc(var(--i) * calc(0.1s / var(--k)));
}

.uvq02-fpr:has(input:checked) .fp path {
  stroke: var(--c1);
}

.uvq02-fpr:has(input:checked) .ok {
  transform: scale(1);
}

.uvq02-fpr:has(input:checked) .a {
  display: none;
}

.uvq02-fpr:has(input:checked) .c {
  display: inline;
}

.uvq02-fpr:has(input:focus-visible) .pd {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

@media (prefers-reduced-motion:reduce) {
  .uvq02-fpr,.uvq02-fpr *,.uvq02-fpr *::before,.uvq02-fpr *::after {
    animation-duration: .01ms!important;
    animation-iteration-count: 1!important;
    transition-duration: .01ms!important;
  }
}
`;

// Interacción en JavaScript del DOM: la misma que en la pestaña JS.
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function setup(el: any) {
  const i = el.querySelector("input");
  let t = 0;
  const k = () => parseFloat(getComputedStyle(el).getPropertyValue("--k")) || 1;
  const stop = () => { clearTimeout(t); t = 0; el.classList.remove("hd"); };
  const done = () => { stop(); i.checked = !i.checked; i.dispatchEvent(new Event("change", { bubbles: true })); };
  el.addEventListener("pointerdown", (e) => {
    if (e.button > 0) return;
    e.preventDefault();
    el.classList.add("hd");
    t = setTimeout(done, 1000 / k());
  });
  ["pointerup", "pointerleave", "pointercancel"].forEach((n) => el.addEventListener(n, () => t && stop()));
  el.addEventListener("contextmenu", (e) => e.preventDefault());
  i.addEventListener("keydown", (e) => { if (e.key === "Enter") { e.preventDefault(); i.click(); } });
  return stop;
}

export default function ChkFingerprint() {
  const ref = useRef<HTMLDivElement>(null);

  useEffect(() => {
    const el = ref.current?.firstElementChild;
    return el ? setup(el) : undefined;
  }, []);

  return (
    <>
      <style>{css}</style>
      <div
        ref={ref} style={{
          "--c1": "#0f9d76",
          "--c2": "#c9f2e3",
          "--s": "16px",
          "--k": "1",
          "--fg": "#1d1d1f",
          "--bg": "#f5f5f7",
        } as CSSProperties}
      >
        <div className="uvq02-fpr"><input type="checkbox" aria-label="Authorize payment" /><span className="pd" aria-hidden="true"><svg className="rg" viewBox="0 0 48 48"><circle cx="24" cy="24" r="22.5" pathLength="1" /></svg><svg className="fp" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.6" strokeLinecap="round" strokeLinejoin="round"><path style={{ "--i": "0" } as CSSProperties} d="M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4" /><path style={{ "--i": "1" } as CSSProperties} d="M14 13.12c0 2.38 0 6.38-1 8.88" /><path style={{ "--i": "2" } as CSSProperties} d="M9 6.8a6 6 0 0 1 9 5.2v2" /><path style={{ "--i": "3" } as CSSProperties} d="M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2" /><path style={{ "--i": "4" } as CSSProperties} d="M8.65 22c.21-.66.45-1.32.57-2" /><path style={{ "--i": "5" } as CSSProperties} d="M17.29 21.02c.12-.6.43-2.3.5-3.02" /><path style={{ "--i": "6" } as CSSProperties} d="M2 12a10 10 0 0 1 18-6" /><path style={{ "--i": "7" } as CSSProperties} d="M21.8 16c.2-2 .131-5.354 0-6" /><path style={{ "--i": "8" } as CSSProperties} d="M2 16h.01" /></svg><span className="ok"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="3" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5" pathLength="1" /></svg></span></span><span className="tx" aria-hidden="true"><b>Authorize payment</b><small><span className="a">Press and hold</span><span className="c">Confirmed</span></small></span></div>
      </div>
    </>
  );
}
```

Give me the complete final code, ready to paste, and tell me in one line where to put it in my project.
````
