# Sticky notes pinned to cork

> Loose notes on a corkboard: press one and a pushpin drops in, the note straightens and sticks; unpin it and it swings.

- Category: [Microinteractions](https://library.aimran.es/components/microinteractions)
- Built with: HTML + CSS
- Live editor: https://library.aimran.es/blocks/uv-mi27-pin-note
- Library: AIMRAN Library (https://library.aimran.es), free, no sign-up, by Aimran Oukham

## Where to use it

Pinning is a common action in boards, notes apps and dashboards, and this block shows it with a real corkboard. Loose notes hang slightly tilted with a deep shadow; pressing one drops a red pushpin from above, the note straightens and flattens against the cork. Pressing again pops the pin out and the note swings for a moment before settling.

The main color tints the pin head and the secondary one the first note, while the other two keep pink and mint. Each note is a toggle button with aria-pressed, so screen readers hear whether it is pinned. The handwriting uses system fonts only.

## Code

### HTML

```html
<div class="uvq15-pin"><div class="bd"><button type="button" class="nt" style="--c:var(--c2);--r:-5deg" aria-pressed="false"><span class="pn" aria-hidden="true"></span><span class="tx">Buy bread and coffee</span></button><button type="button" class="nt" style="--c:#fbcfe8;--r:4deg" aria-pressed="false"><span class="pn" aria-hidden="true"></span><span class="tx">Call Ana at 5</span></button><button type="button" class="nt" style="--c:#bbf7d0;--r:-2deg" aria-pressed="false"><span class="pn" aria-hidden="true"></span><span class="tx">Logo ideas</span></button></div><p class="hd">Press a note to pin it</p></div>
```

### CSS

```css
.uvq15-pin {
  --c1: #dc2626;
  --c2: #fef08a;
  --s: 16px;
  /* tamaño */
  --k: 1;
  /* velocidad */
  --fg: #1d1d1f;
  /* texto */
  --bg: #f5f5f7;
  /* fondo */
}

.uvq15-pin {
  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;
  display: grid;
  justify-items: center;
  gap: .7em;
  width: 21em;
}

.uvq15-pin .bd {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .8em;
  width: 100%;
  box-sizing: border-box;
  padding: 1.5em 1em 1.3em;
  border-radius: .5em;
  background: radial-gradient(circle at 20% 30%,rgba(120,70,30,.35) 0 1px,transparent 1.5px) 0 0/7px 7px,radial-gradient(circle at 60% 70%,rgba(255,230,190,.3) 0 1px,transparent 1.5px) 0 0/9px 9px,radial-gradient(circle at 40% 50%,rgba(90,50,20,.25) 0 1.5px,transparent 2px) 0 0/13px 11px,#b98352;
  box-shadow: inset 0 0 0 .55em #7c4a24,inset 0 0 0 .65em #5b3418,inset 0 .4em 1em .55em rgba(0,0,0,.25),0 1em 1.8em -1em rgba(0,0,0,.5);
}

.uvq15-pin .nt {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  display: grid;
  align-content: center;
  aspect-ratio: 1;
  padding: .6em;
  color: #292524;
  background: linear-gradient(170deg,rgba(255,255,255,.35),transparent 40%),var(--c);
  transform: rotate(var(--r)) translateY(-.2em);
  box-shadow: .3em .8em 1em -.3em rgba(0,0,0,.45);
  transform-origin: 50% .5em;
  transition: transform calc(0.45s / var(--k)) cubic-bezier(.22,1,.36,1),box-shadow calc(0.45s / var(--k)) cubic-bezier(.22,1,.36,1);
}

.uvq15-pin .nt:hover {
  transform: rotate(calc(var(--r) * 1.4)) translateY(-.4em);
  box-shadow: .4em 1.1em 1.2em -.3em rgba(0,0,0,.45);
}

.uvq15-pin .nt:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.uvq15-pin .tx {
  font: 600 .8em/1.25 "Segoe Print","Bradley Hand","Chalkboard SE","Comic Sans MS",cursive;
  text-align: center;
}

.uvq15-pin .nt[aria-pressed="true"] {
  transform: rotate(calc(var(--r) * .25));
  box-shadow: .1em .25em .35em -.1em rgba(0,0,0,.4);
}

.uvq15-pin .pn {
  position: absolute;
  left: 50%;
  top: .15em;
  width: 1em;
  height: 1em;
  margin-left: -.5em;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%,color-mix(in srgb,var(--c1) 40%,#fff),var(--c1) 55%,color-mix(in srgb,var(--c1) 55%,#000));
  box-shadow: .15em .3em .3em rgba(0,0,0,.45);
  opacity: 0;
  transform: translateY(-2.2em) scale(1.6);
}

.uvq15-pin .nt[aria-pressed="true"] .pn {
  opacity: 1;
  transform: none;
}

.uvq15-pin .nt.in .pn {
  animation: uvq15-pin-in calc(0.45s / var(--k)) cubic-bezier(.5,0,.75,0) both;
}

.uvq15-pin .nt.in {
  animation: uvq15-pin-hit calc(0.6s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq15-pin .nt.out .pn {
  animation: uvq15-pin-out calc(0.45s / var(--k)) cubic-bezier(.25,.1,.25,1) both;
}

.uvq15-pin .nt.out {
  animation: uvq15-pin-sw calc(0.9s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

@keyframes uvq15-pin-in {
  0% {
    opacity: 0;
    transform: translateY(-2.2em) scale(1.6);
  }
  30% {
    opacity: 1;
  }
  80% {
    transform: translateY(.1em) scale(.95);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes uvq15-pin-hit {
  0%,55% {
    transform: rotate(var(--r)) translateY(-.2em);
  }
  70% {
    transform: rotate(calc(var(--r) * .2)) translateY(.1em) scale(.98);
  }
  100% {
    transform: rotate(calc(var(--r) * .25));
  }
}

@keyframes uvq15-pin-out {
  0% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: translate(.6em,-2em) rotate(40deg);
  }
}

@keyframes uvq15-pin-sw {
  0% {
    transform: rotate(calc(var(--r) * .25));
  }
  30% {
    transform: rotate(calc(var(--r) * -1.6)) translateY(-.2em);
  }
  55% {
    transform: rotate(calc(var(--r) * 1.6)) translateY(-.2em);
  }
  78% {
    transform: rotate(calc(var(--r) * .7)) translateY(-.2em);
  }
  100% {
    transform: rotate(var(--r)) translateY(-.2em);
  }
}

.uvq15-pin .hd {
  margin: 0;
  font-size: .75em;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
}

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

### JavaScript

```js
document.querySelectorAll(".uvq15-pin").forEach(el => {
  el.addEventListener("click",e=>{const b=e.target.closest(".nt");if(!b)return;const on=b.getAttribute("aria-pressed")!=="true";b.setAttribute("aria-pressed",String(on));b.classList.remove("in","out");void b.offsetWidth;b.classList.add(on?"in":"out")})
});
```

### 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 = `
.uvq15-pin {
  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;
  display: grid;
  justify-items: center;
  gap: .7em;
  width: 21em;
}

.uvq15-pin .bd {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .8em;
  width: 100%;
  box-sizing: border-box;
  padding: 1.5em 1em 1.3em;
  border-radius: .5em;
  background: radial-gradient(circle at 20% 30%,rgba(120,70,30,.35) 0 1px,transparent 1.5px) 0 0/7px 7px,radial-gradient(circle at 60% 70%,rgba(255,230,190,.3) 0 1px,transparent 1.5px) 0 0/9px 9px,radial-gradient(circle at 40% 50%,rgba(90,50,20,.25) 0 1.5px,transparent 2px) 0 0/13px 11px,#b98352;
  box-shadow: inset 0 0 0 .55em #7c4a24,inset 0 0 0 .65em #5b3418,inset 0 .4em 1em .55em rgba(0,0,0,.25),0 1em 1.8em -1em rgba(0,0,0,.5);
}

.uvq15-pin .nt {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  display: grid;
  align-content: center;
  aspect-ratio: 1;
  padding: .6em;
  color: #292524;
  background: linear-gradient(170deg,rgba(255,255,255,.35),transparent 40%),var(--c);
  transform: rotate(var(--r)) translateY(-.2em);
  box-shadow: .3em .8em 1em -.3em rgba(0,0,0,.45);
  transform-origin: 50% .5em;
  transition: transform calc(0.45s / var(--k)) cubic-bezier(.22,1,.36,1),box-shadow calc(0.45s / var(--k)) cubic-bezier(.22,1,.36,1);
}

.uvq15-pin .nt:hover {
  transform: rotate(calc(var(--r) * 1.4)) translateY(-.4em);
  box-shadow: .4em 1.1em 1.2em -.3em rgba(0,0,0,.45);
}

.uvq15-pin .nt:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.uvq15-pin .tx {
  font: 600 .8em/1.25 "Segoe Print","Bradley Hand","Chalkboard SE","Comic Sans MS",cursive;
  text-align: center;
}

.uvq15-pin .nt[aria-pressed="true"] {
  transform: rotate(calc(var(--r) * .25));
  box-shadow: .1em .25em .35em -.1em rgba(0,0,0,.4);
}

.uvq15-pin .pn {
  position: absolute;
  left: 50%;
  top: .15em;
  width: 1em;
  height: 1em;
  margin-left: -.5em;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%,color-mix(in srgb,var(--c1) 40%,#fff),var(--c1) 55%,color-mix(in srgb,var(--c1) 55%,#000));
  box-shadow: .15em .3em .3em rgba(0,0,0,.45);
  opacity: 0;
  transform: translateY(-2.2em) scale(1.6);
}

.uvq15-pin .nt[aria-pressed="true"] .pn {
  opacity: 1;
  transform: none;
}

.uvq15-pin .nt.in .pn {
  animation: uvq15-pin-in calc(0.45s / var(--k)) cubic-bezier(.5,0,.75,0) both;
}

.uvq15-pin .nt.in {
  animation: uvq15-pin-hit calc(0.6s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq15-pin .nt.out .pn {
  animation: uvq15-pin-out calc(0.45s / var(--k)) cubic-bezier(.25,.1,.25,1) both;
}

.uvq15-pin .nt.out {
  animation: uvq15-pin-sw calc(0.9s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

@keyframes uvq15-pin-in {
  0% {
    opacity: 0;
    transform: translateY(-2.2em) scale(1.6);
  }
  30% {
    opacity: 1;
  }
  80% {
    transform: translateY(.1em) scale(.95);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes uvq15-pin-hit {
  0%,55% {
    transform: rotate(var(--r)) translateY(-.2em);
  }
  70% {
    transform: rotate(calc(var(--r) * .2)) translateY(.1em) scale(.98);
  }
  100% {
    transform: rotate(calc(var(--r) * .25));
  }
}

@keyframes uvq15-pin-out {
  0% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: translate(.6em,-2em) rotate(40deg);
  }
}

@keyframes uvq15-pin-sw {
  0% {
    transform: rotate(calc(var(--r) * .25));
  }
  30% {
    transform: rotate(calc(var(--r) * -1.6)) translateY(-.2em);
  }
  55% {
    transform: rotate(calc(var(--r) * 1.6)) translateY(-.2em);
  }
  78% {
    transform: rotate(calc(var(--r) * .7)) translateY(-.2em);
  }
  100% {
    transform: rotate(var(--r)) translateY(-.2em);
  }
}

.uvq15-pin .hd {
  margin: 0;
  font-size: .75em;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
}

@media (prefers-reduced-motion:reduce) {
  .uvq15-pin,.uvq15-pin *,.uvq15-pin *::before,.uvq15-pin *::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) {
  el.addEventListener("click",e=>{const b=e.target.closest(".nt");if(!b)return;const on=b.getAttribute("aria-pressed")!=="true";b.setAttribute("aria-pressed",String(on));b.classList.remove("in","out");void b.offsetWidth;b.classList.add(on?"in":"out")})
}

export default function Mi27PinNote() {
  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": "#dc2626",
          "--c2": "#fef08a",
          "--s": "16px",
          "--k": "1",
          "--fg": "#1d1d1f",
          "--bg": "#f5f5f7",
        } as CSSProperties}
      >
        <div className="uvq15-pin"><div className="bd"><button type="button" className="nt" style={{ "--c": "var(--c2)", "--r": "-5deg" } as CSSProperties} aria-pressed="false"><span className="pn" aria-hidden="true"></span><span className="tx">Buy bread and coffee</span></button><button type="button" className="nt" style={{ "--c": "#fbcfe8", "--r": "4deg" } as CSSProperties} aria-pressed="false"><span className="pn" aria-hidden="true"></span><span className="tx">Call Ana at 5</span></button><button type="button" className="nt" style={{ "--c": "#bbf7d0", "--r": "-2deg" } as CSSProperties} aria-pressed="false"><span className="pn" aria-hidden="true"></span><span className="tx">Logo ideas</span></button></div><p className="hd">Press a note to pin it</p></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 “Sticky notes pinned to cork” block (Microinteractions) from AIMRAN Library to my project.

## What it is
Loose notes on a corkboard: press one and a pushpin drops in, the note straightens and sticks; unpin it and it swings.

## Chosen settings
- Main color: #dc2626
- Secondary color: #fef08a
- Size: 16px (from 12 to 24px)
- Speed: 1x (from 0.5 to 2x)
- Text: "Pulsa una nota para fijarla"

## 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 = `
.uvq15-pin {
  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;
  display: grid;
  justify-items: center;
  gap: .7em;
  width: 21em;
}

.uvq15-pin .bd {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .8em;
  width: 100%;
  box-sizing: border-box;
  padding: 1.5em 1em 1.3em;
  border-radius: .5em;
  background: radial-gradient(circle at 20% 30%,rgba(120,70,30,.35) 0 1px,transparent 1.5px) 0 0/7px 7px,radial-gradient(circle at 60% 70%,rgba(255,230,190,.3) 0 1px,transparent 1.5px) 0 0/9px 9px,radial-gradient(circle at 40% 50%,rgba(90,50,20,.25) 0 1.5px,transparent 2px) 0 0/13px 11px,#b98352;
  box-shadow: inset 0 0 0 .55em #7c4a24,inset 0 0 0 .65em #5b3418,inset 0 .4em 1em .55em rgba(0,0,0,.25),0 1em 1.8em -1em rgba(0,0,0,.5);
}

.uvq15-pin .nt {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  display: grid;
  align-content: center;
  aspect-ratio: 1;
  padding: .6em;
  color: #292524;
  background: linear-gradient(170deg,rgba(255,255,255,.35),transparent 40%),var(--c);
  transform: rotate(var(--r)) translateY(-.2em);
  box-shadow: .3em .8em 1em -.3em rgba(0,0,0,.45);
  transform-origin: 50% .5em;
  transition: transform calc(0.45s / var(--k)) cubic-bezier(.22,1,.36,1),box-shadow calc(0.45s / var(--k)) cubic-bezier(.22,1,.36,1);
}

.uvq15-pin .nt:hover {
  transform: rotate(calc(var(--r) * 1.4)) translateY(-.4em);
  box-shadow: .4em 1.1em 1.2em -.3em rgba(0,0,0,.45);
}

.uvq15-pin .nt:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.uvq15-pin .tx {
  font: 600 .8em/1.25 "Segoe Print","Bradley Hand","Chalkboard SE","Comic Sans MS",cursive;
  text-align: center;
}

.uvq15-pin .nt[aria-pressed="true"] {
  transform: rotate(calc(var(--r) * .25));
  box-shadow: .1em .25em .35em -.1em rgba(0,0,0,.4);
}

.uvq15-pin .pn {
  position: absolute;
  left: 50%;
  top: .15em;
  width: 1em;
  height: 1em;
  margin-left: -.5em;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%,color-mix(in srgb,var(--c1) 40%,#fff),var(--c1) 55%,color-mix(in srgb,var(--c1) 55%,#000));
  box-shadow: .15em .3em .3em rgba(0,0,0,.45);
  opacity: 0;
  transform: translateY(-2.2em) scale(1.6);
}

.uvq15-pin .nt[aria-pressed="true"] .pn {
  opacity: 1;
  transform: none;
}

.uvq15-pin .nt.in .pn {
  animation: uvq15-pin-in calc(0.45s / var(--k)) cubic-bezier(.5,0,.75,0) both;
}

.uvq15-pin .nt.in {
  animation: uvq15-pin-hit calc(0.6s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq15-pin .nt.out .pn {
  animation: uvq15-pin-out calc(0.45s / var(--k)) cubic-bezier(.25,.1,.25,1) both;
}

.uvq15-pin .nt.out {
  animation: uvq15-pin-sw calc(0.9s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

@keyframes uvq15-pin-in {
  0% {
    opacity: 0;
    transform: translateY(-2.2em) scale(1.6);
  }
  30% {
    opacity: 1;
  }
  80% {
    transform: translateY(.1em) scale(.95);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes uvq15-pin-hit {
  0%,55% {
    transform: rotate(var(--r)) translateY(-.2em);
  }
  70% {
    transform: rotate(calc(var(--r) * .2)) translateY(.1em) scale(.98);
  }
  100% {
    transform: rotate(calc(var(--r) * .25));
  }
}

@keyframes uvq15-pin-out {
  0% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: translate(.6em,-2em) rotate(40deg);
  }
}

@keyframes uvq15-pin-sw {
  0% {
    transform: rotate(calc(var(--r) * .25));
  }
  30% {
    transform: rotate(calc(var(--r) * -1.6)) translateY(-.2em);
  }
  55% {
    transform: rotate(calc(var(--r) * 1.6)) translateY(-.2em);
  }
  78% {
    transform: rotate(calc(var(--r) * .7)) translateY(-.2em);
  }
  100% {
    transform: rotate(var(--r)) translateY(-.2em);
  }
}

.uvq15-pin .hd {
  margin: 0;
  font-size: .75em;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
}

@media (prefers-reduced-motion:reduce) {
  .uvq15-pin,.uvq15-pin *,.uvq15-pin *::before,.uvq15-pin *::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) {
  el.addEventListener("click",e=>{const b=e.target.closest(".nt");if(!b)return;const on=b.getAttribute("aria-pressed")!=="true";b.setAttribute("aria-pressed",String(on));b.classList.remove("in","out");void b.offsetWidth;b.classList.add(on?"in":"out")})
}

export default function Mi27PinNote() {
  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": "#dc2626",
          "--c2": "#fef08a",
          "--s": "16px",
          "--k": "1",
          "--fg": "#1d1d1f",
          "--bg": "#f5f5f7",
        } as CSSProperties}
      >
        <div className="uvq15-pin"><div className="bd"><button type="button" className="nt" style={{ "--c": "var(--c2)", "--r": "-5deg" } as CSSProperties} aria-pressed="false"><span className="pn" aria-hidden="true"></span><span className="tx">Buy bread and coffee</span></button><button type="button" className="nt" style={{ "--c": "#fbcfe8", "--r": "4deg" } as CSSProperties} aria-pressed="false"><span className="pn" aria-hidden="true"></span><span className="tx">Call Ana at 5</span></button><button type="button" className="nt" style={{ "--c": "#bbf7d0", "--r": "-2deg" } as CSSProperties} aria-pressed="false"><span className="pn" aria-hidden="true"></span><span className="tx">Logo ideas</span></button></div><p className="hd">Press a note to pin it</p></div>
      </div>
    </>
  );
}
```

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