# Folded paper toast

> The notice arrives folded in three like a letter and opens one fold at a time, with shading on every crease.

- Category: [Toasts](https://library.aimran.es/components/toasts)
- Built with: HTML + CSS
- Live editor: https://library.aimran.es/blocks/uv-toast-origami-unfold
- Library: AIMRAN Library (https://library.aimran.es), free, no sign-up, by Aimran Oukham

## Where to use it

A shared note feels more like a letter when it unfolds. This toast is three paper panels nested inside each other: the header shows first, then the middle panel swings down from behind with a 3D rotation and the action strip follows, each with a shadow that fades as it flattens. Closing folds it back in reverse order. Good for shared documents, messages and gentle invitations.

The main color is the avatar and main button, the second the paper. Keep each panel to one idea, title, preview and actions, and adjust the transition delays if you add or remove a fold.

## Code

### HTML

```html
<div class="uvq09-ori"><button type="button" class="fire">Show again</button><div class="tt" role="status"><div class="p p1"><span class="av" aria-hidden="true">A</span><b>Ana shared a note with you</b><div class="p p2"><p>“Ideas for the Porto trip: Lello bookshop first thing and dinner by the river.”</p><div class="p p3"><button type="button" class="x">Later</button><button type="button" class="op">Open note</button></div></div></div></div></div>
```

### CSS

```css
.uvq09-ori {
  --c1: #0f766e;
  --c2: #fbf7ee;
  --s: 16px;
  /* tamaño */
  --k: 1;
  /* velocidad */
  --fg: #1d1d1f;
  /* texto */
  --bg: #f5f5f7;
  /* fondo */
}

.uvq09-ori {
  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;
  width: 21em;
  height: 15em;
  height: 15.5em;
}

.uvq09-ori .fire {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: absolute;
  left: 50%;
  top: 1.2em;
  translate: -50% 0;
  padding: .6em 1.1em;
  border-radius: 2em;
  font-size: .82em;
  font-weight: 650;
  white-space: nowrap;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
  background: color-mix(in srgb,var(--fg) 6%,transparent);
  transition: color calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1),background calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1),scale calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq09-ori .fire:hover {
  color: var(--fg);
  background: color-mix(in srgb,var(--fg) 10%,transparent);
}

.uvq09-ori .fire:active {
  scale: .96;
}

.uvq09-ori .fire:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

.uvq09-ori .tt {
  position: absolute;
  left: 50%;
  top: 3.5em;
  width: 18em;
  translate: -50% 0;
  perspective: 50em;
  color: #2b2620;
  opacity: 0;
  transition: opacity calc(0.3s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq09-ori .tt.in {
  opacity: 1;
}

.uvq09-ori .tt.out {
  transition-delay: calc(0.8s / var(--k));
}

.uvq09-ori .p {
  background: var(--c2);
}

.uvq09-ori .p1 {
  position: relative;
  display: flex;
  align-items: center;
  gap: .7em;
  height: 3.4em;
  padding: 0 .9em;
  border-radius: .5em .5em 0 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05);
  transform-style: preserve-3d;
}

.uvq09-ori .av {
  display: grid;
  place-items: center;
  flex: none;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  font-weight: 800;
  font-size: .9em;
  color: #fff;
  background: var(--c1);
}

.uvq09-ori .p1>b {
  font-size: .86em;
  line-height: 1.25;
}

.uvq09-ori .p2,.uvq09-ori .p3 {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  transform-origin: top;
  transform: rotateX(-92deg);
  transform-style: preserve-3d;
  background: linear-gradient(rgba(0,0,0,.07),transparent .7em),var(--c2);
}

.uvq09-ori .p2 {
  height: 3.3em;
  padding: .5em .9em;
  transition: transform calc(0.55s / var(--k)) cubic-bezier(.22,1,.36,1) calc(0.35s / var(--k));
}

.uvq09-ori .p3 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .4em;
  height: 2.9em;
  padding: 0 .7em;
  border-radius: 0 0 .5em .5em;
  box-shadow: 0 1em 1.6em -.8em rgba(0,0,0,.4);
  transition: transform calc(0.55s / var(--k)) cubic-bezier(.22,1,.36,1);
}

.uvq09-ori .p2::after,.uvq09-ori .p3::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.1));
  pointer-events: none;
  transition: opacity calc(0.55s / var(--k)) cubic-bezier(.25,.1,.25,1) calc(0.35s / var(--k));
}

.uvq09-ori .p3::after {
  transition-delay: 0s;
}

.uvq09-ori .tt.in .p2 {
  transform: none;
}

.uvq09-ori .tt.in .p3 {
  transform: none;
  transition-delay: calc(0.85s / var(--k));
}

.uvq09-ori .tt.in .p2::after {
  opacity: 0;
}

.uvq09-ori .tt.in .p3::after {
  opacity: 0;
  transition-delay: calc(0.85s / var(--k));
}

.uvq09-ori .p2 p {
  margin: 0;
  font: italic .76em/1.4 Georgia,serif;
  color: #5b544a;
}

.uvq09-ori .p3 button {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  padding: .45em .8em;
  border-radius: .5em;
  font-size: .76em;
  font-weight: 750;
  transition: background calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1),scale calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq09-ori .p3 button:active {
  scale: .94;
}

.uvq09-ori .p3 button:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

.uvq09-ori .p3 .x {
  color: #5b544a;
}

.uvq09-ori .p3 .x:hover {
  background: rgba(0,0,0,.06);
}

.uvq09-ori .p3 .op {
  color: #fff;
  background: var(--c1);
}

.uvq09-ori .p3 .op:hover {
  background: color-mix(in srgb,var(--c1) 85%,#000);
}

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

### JavaScript

```js
document.querySelectorAll(".uvq09-ori").forEach(el => {
  const t=el.querySelector(".tt"),f=el.querySelector(".fire");let tm=[];const clr=()=>{tm.forEach(clearTimeout);tm=[]};const later=(fn,ms)=>tm.push(setTimeout(fn,ms));
const show=()=>{clr();t.classList.remove("in","out");void t.offsetWidth;later(()=>{t.classList.add("in");},60)};
const hide=()=>{t.classList.remove("in");t.classList.add("out")};f.addEventListener("click",show);show();t.querySelectorAll(".p3 button").forEach(b=>b.addEventListener("click",hide));return clr
});
```

### 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 = `
.uvq09-ori {
  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;
  width: 21em;
  height: 15em;
  height: 15.5em;
}

.uvq09-ori .fire {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: absolute;
  left: 50%;
  top: 1.2em;
  translate: -50% 0;
  padding: .6em 1.1em;
  border-radius: 2em;
  font-size: .82em;
  font-weight: 650;
  white-space: nowrap;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
  background: color-mix(in srgb,var(--fg) 6%,transparent);
  transition: color calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1),background calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1),scale calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq09-ori .fire:hover {
  color: var(--fg);
  background: color-mix(in srgb,var(--fg) 10%,transparent);
}

.uvq09-ori .fire:active {
  scale: .96;
}

.uvq09-ori .fire:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

.uvq09-ori .tt {
  position: absolute;
  left: 50%;
  top: 3.5em;
  width: 18em;
  translate: -50% 0;
  perspective: 50em;
  color: #2b2620;
  opacity: 0;
  transition: opacity calc(0.3s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq09-ori .tt.in {
  opacity: 1;
}

.uvq09-ori .tt.out {
  transition-delay: calc(0.8s / var(--k));
}

.uvq09-ori .p {
  background: var(--c2);
}

.uvq09-ori .p1 {
  position: relative;
  display: flex;
  align-items: center;
  gap: .7em;
  height: 3.4em;
  padding: 0 .9em;
  border-radius: .5em .5em 0 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05);
  transform-style: preserve-3d;
}

.uvq09-ori .av {
  display: grid;
  place-items: center;
  flex: none;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  font-weight: 800;
  font-size: .9em;
  color: #fff;
  background: var(--c1);
}

.uvq09-ori .p1>b {
  font-size: .86em;
  line-height: 1.25;
}

.uvq09-ori .p2,.uvq09-ori .p3 {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  transform-origin: top;
  transform: rotateX(-92deg);
  transform-style: preserve-3d;
  background: linear-gradient(rgba(0,0,0,.07),transparent .7em),var(--c2);
}

.uvq09-ori .p2 {
  height: 3.3em;
  padding: .5em .9em;
  transition: transform calc(0.55s / var(--k)) cubic-bezier(.22,1,.36,1) calc(0.35s / var(--k));
}

.uvq09-ori .p3 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .4em;
  height: 2.9em;
  padding: 0 .7em;
  border-radius: 0 0 .5em .5em;
  box-shadow: 0 1em 1.6em -.8em rgba(0,0,0,.4);
  transition: transform calc(0.55s / var(--k)) cubic-bezier(.22,1,.36,1);
}

.uvq09-ori .p2::after,.uvq09-ori .p3::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.1));
  pointer-events: none;
  transition: opacity calc(0.55s / var(--k)) cubic-bezier(.25,.1,.25,1) calc(0.35s / var(--k));
}

.uvq09-ori .p3::after {
  transition-delay: 0s;
}

.uvq09-ori .tt.in .p2 {
  transform: none;
}

.uvq09-ori .tt.in .p3 {
  transform: none;
  transition-delay: calc(0.85s / var(--k));
}

.uvq09-ori .tt.in .p2::after {
  opacity: 0;
}

.uvq09-ori .tt.in .p3::after {
  opacity: 0;
  transition-delay: calc(0.85s / var(--k));
}

.uvq09-ori .p2 p {
  margin: 0;
  font: italic .76em/1.4 Georgia,serif;
  color: #5b544a;
}

.uvq09-ori .p3 button {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  padding: .45em .8em;
  border-radius: .5em;
  font-size: .76em;
  font-weight: 750;
  transition: background calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1),scale calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq09-ori .p3 button:active {
  scale: .94;
}

.uvq09-ori .p3 button:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

.uvq09-ori .p3 .x {
  color: #5b544a;
}

.uvq09-ori .p3 .x:hover {
  background: rgba(0,0,0,.06);
}

.uvq09-ori .p3 .op {
  color: #fff;
  background: var(--c1);
}

.uvq09-ori .p3 .op:hover {
  background: color-mix(in srgb,var(--c1) 85%,#000);
}

@media (prefers-reduced-motion:reduce) {
  .uvq09-ori,.uvq09-ori *,.uvq09-ori *::before,.uvq09-ori *::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 t=el.querySelector(".tt"),f=el.querySelector(".fire");let tm=[];const clr=()=>{tm.forEach(clearTimeout);tm=[]};const later=(fn,ms)=>tm.push(setTimeout(fn,ms));
const show=()=>{clr();t.classList.remove("in","out");void t.offsetWidth;later(()=>{t.classList.add("in");},60)};
const hide=()=>{t.classList.remove("in");t.classList.add("out")};f.addEventListener("click",show);show();t.querySelectorAll(".p3 button").forEach(b=>b.addEventListener("click",hide));return clr
}

export default function ToastOrigamiUnfold() {
  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": "#0f766e",
          "--c2": "#fbf7ee",
          "--s": "16px",
          "--k": "1",
          "--fg": "#1d1d1f",
          "--bg": "#f5f5f7",
        } as CSSProperties}
      >
        <div className="uvq09-ori"><button type="button" className="fire">Show again</button><div className="tt" role="status"><div className="p p1"><span className="av" aria-hidden="true">A</span><b>Ana shared a note with you</b><div className="p p2"><p>“Ideas for the Porto trip: Lello bookshop first thing and dinner by the river.”</p><div className="p p3"><button type="button" className="x">Later</button><button type="button" className="op">Open note</button></div></div></div></div></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 “Folded paper toast” block (Toasts) from AIMRAN Library to my project.

## What it is
The notice arrives folded in three like a letter and opens one fold at a time, with shading on every crease.

## Chosen settings
- Main color: #0f766e
- Secondary color: #fbf7ee
- Size: 16px (from 12 to 24px)
- Speed: 1x (from 0.5 to 2x)
- Text: "Ana ha compartido una nota contigo"

## 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 = `
.uvq09-ori {
  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;
  width: 21em;
  height: 15em;
  height: 15.5em;
}

.uvq09-ori .fire {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: absolute;
  left: 50%;
  top: 1.2em;
  translate: -50% 0;
  padding: .6em 1.1em;
  border-radius: 2em;
  font-size: .82em;
  font-weight: 650;
  white-space: nowrap;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
  background: color-mix(in srgb,var(--fg) 6%,transparent);
  transition: color calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1),background calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1),scale calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq09-ori .fire:hover {
  color: var(--fg);
  background: color-mix(in srgb,var(--fg) 10%,transparent);
}

.uvq09-ori .fire:active {
  scale: .96;
}

.uvq09-ori .fire:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

.uvq09-ori .tt {
  position: absolute;
  left: 50%;
  top: 3.5em;
  width: 18em;
  translate: -50% 0;
  perspective: 50em;
  color: #2b2620;
  opacity: 0;
  transition: opacity calc(0.3s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq09-ori .tt.in {
  opacity: 1;
}

.uvq09-ori .tt.out {
  transition-delay: calc(0.8s / var(--k));
}

.uvq09-ori .p {
  background: var(--c2);
}

.uvq09-ori .p1 {
  position: relative;
  display: flex;
  align-items: center;
  gap: .7em;
  height: 3.4em;
  padding: 0 .9em;
  border-radius: .5em .5em 0 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05);
  transform-style: preserve-3d;
}

.uvq09-ori .av {
  display: grid;
  place-items: center;
  flex: none;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  font-weight: 800;
  font-size: .9em;
  color: #fff;
  background: var(--c1);
}

.uvq09-ori .p1>b {
  font-size: .86em;
  line-height: 1.25;
}

.uvq09-ori .p2,.uvq09-ori .p3 {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  transform-origin: top;
  transform: rotateX(-92deg);
  transform-style: preserve-3d;
  background: linear-gradient(rgba(0,0,0,.07),transparent .7em),var(--c2);
}

.uvq09-ori .p2 {
  height: 3.3em;
  padding: .5em .9em;
  transition: transform calc(0.55s / var(--k)) cubic-bezier(.22,1,.36,1) calc(0.35s / var(--k));
}

.uvq09-ori .p3 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .4em;
  height: 2.9em;
  padding: 0 .7em;
  border-radius: 0 0 .5em .5em;
  box-shadow: 0 1em 1.6em -.8em rgba(0,0,0,.4);
  transition: transform calc(0.55s / var(--k)) cubic-bezier(.22,1,.36,1);
}

.uvq09-ori .p2::after,.uvq09-ori .p3::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.1));
  pointer-events: none;
  transition: opacity calc(0.55s / var(--k)) cubic-bezier(.25,.1,.25,1) calc(0.35s / var(--k));
}

.uvq09-ori .p3::after {
  transition-delay: 0s;
}

.uvq09-ori .tt.in .p2 {
  transform: none;
}

.uvq09-ori .tt.in .p3 {
  transform: none;
  transition-delay: calc(0.85s / var(--k));
}

.uvq09-ori .tt.in .p2::after {
  opacity: 0;
}

.uvq09-ori .tt.in .p3::after {
  opacity: 0;
  transition-delay: calc(0.85s / var(--k));
}

.uvq09-ori .p2 p {
  margin: 0;
  font: italic .76em/1.4 Georgia,serif;
  color: #5b544a;
}

.uvq09-ori .p3 button {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  padding: .45em .8em;
  border-radius: .5em;
  font-size: .76em;
  font-weight: 750;
  transition: background calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1),scale calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq09-ori .p3 button:active {
  scale: .94;
}

.uvq09-ori .p3 button:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

.uvq09-ori .p3 .x {
  color: #5b544a;
}

.uvq09-ori .p3 .x:hover {
  background: rgba(0,0,0,.06);
}

.uvq09-ori .p3 .op {
  color: #fff;
  background: var(--c1);
}

.uvq09-ori .p3 .op:hover {
  background: color-mix(in srgb,var(--c1) 85%,#000);
}

@media (prefers-reduced-motion:reduce) {
  .uvq09-ori,.uvq09-ori *,.uvq09-ori *::before,.uvq09-ori *::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 t=el.querySelector(".tt"),f=el.querySelector(".fire");let tm=[];const clr=()=>{tm.forEach(clearTimeout);tm=[]};const later=(fn,ms)=>tm.push(setTimeout(fn,ms));
const show=()=>{clr();t.classList.remove("in","out");void t.offsetWidth;later(()=>{t.classList.add("in");},60)};
const hide=()=>{t.classList.remove("in");t.classList.add("out")};f.addEventListener("click",show);show();t.querySelectorAll(".p3 button").forEach(b=>b.addEventListener("click",hide));return clr
}

export default function ToastOrigamiUnfold() {
  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": "#0f766e",
          "--c2": "#fbf7ee",
          "--s": "16px",
          "--k": "1",
          "--fg": "#1d1d1f",
          "--bg": "#f5f5f7",
        } as CSSProperties}
      >
        <div className="uvq09-ori"><button type="button" className="fire">Show again</button><div className="tt" role="status"><div className="p p1"><span className="av" aria-hidden="true">A</span><b>Ana shared a note with you</b><div className="p p2"><p>“Ideas for the Porto trip: Lello bookshop first thing and dinner by the river.”</p><div className="p p3"><button type="button" className="x">Later</button><button type="button" className="op">Open note</button></div></div></div></div></div>
      </div>
    </>
  );
}
```

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