# Stacked sheets with depth

> Sheets that open on top of each other: the one behind shrinks and darkens, and Escape only closes the top one.

- Category: [Overlays](https://library.aimran.es/components/overlays)
- Built with: HTML + CSS
- Live editor: https://library.aimran.es/blocks/uv-ov-stacked-sheets
- Library: AIMRAN Library (https://library.aimran.es), free, no sign-up, by Aimran Oukham

## Where to use it

Settings often go two or three levels deep, and stacked sheets keep that path visible. Each new sheet slides up while the previous one scales back, lifts a little and dims, so you can see how deep you are. Back buttons and Escape peel off one layer at a time and focus returns to the row that opened it. It suits settings, checkout steps and filters.

The main color fills the switch and the unblock buttons, and the text field names the first sheet. Add rows with data-to pointing at the next sheet, and the depth rules scale every layer for you.

## Code

### HTML

```html
<div class="uvq13-stk"><div class="pg" aria-hidden="true"><i class="h"></i><i></i><i></i><i></i><i></i><i class="s"></i></div><button type="button" class="fire" aria-haspopup="dialog">Account settings</button><div class="scr"></div><section class="sh" data-i="0" role="dialog" aria-modal="true" aria-labelledby="uvq13-stk-0"><i class="gr" aria-hidden="true"></i><header><span></span><b id="uvq13-stk-0">Account settings</b><button type="button" class="x" aria-label="Close"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7l10 10M17 7L7 17"/></svg></button></header><button type="button" class="row" data-to="1"><i class="ic" style="--c:#0ea5e9"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3l7 3v5c0 4.5-3 8-7 10-4-2-7-5.5-7-10V6z"/></svg></i><span>Privacy</span><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 6l6 6-6 6"/></svg></button><button type="button" class="row"><i class="ic" style="--c:#f43f5e"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 9.5a6 6 0 0 1 12 0c0 4.5 2 6 2 6H4s2-1.5 2-6M10 19a2 2 0 0 0 4 0"/></svg></i><span>Notifications</span><em>On</em></button><button type="button" class="row"><i class="ic" style="--c:#8b5cf6"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="8.5"/><path d="M3.5 12h17M12 3.5c2.5 2.6 3.5 5.4 3.5 8.5s-1 5.9-3.5 8.5c-2.5-2.6-3.5-5.4-3.5-8.5s1-5.9 3.5-8.5"/></svg></i><span>Language</span><em>Spanish</em></button></section><section class="sh" data-i="1" role="dialog" aria-modal="true" aria-labelledby="uvq13-stk-1"><i class="gr" aria-hidden="true"></i><header><button type="button" class="bk" aria-label="Back"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 6l-6 6 6 6"/></svg></button><b id="uvq13-stk-1">Privacy</b><span></span></header><label class="row"><span>Private profile</span><input type="checkbox" role="switch" class="sw"></label><button type="button" class="row" data-to="2"><span>Blocked accounts</span><em>2</em><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 6l6 6-6 6"/></svg></button><p class="nt">If your profile is private, only your followers will see what you post.</p></section><section class="sh" data-i="2" role="dialog" aria-modal="true" aria-labelledby="uvq13-stk-2"><i class="gr" aria-hidden="true"></i><header><button type="button" class="bk" aria-label="Back"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 6l-6 6 6 6"/></svg></button><b id="uvq13-stk-2">Blocked accounts</b><span></span></header><ul><li><span class="av" style="--c:#f97316">R</span><span class="nm">rober_88</span><button type="button" class="ub"><span class="a">Unblock</span><span class="b">Block</span></button></li><li><span class="av" style="--c:#6366f1">N</span><span class="nm">nube.gris</span><button type="button" class="ub"><span class="a">Unblock</span><span class="b">Block</span></button></li></ul></section></div>
```

### CSS

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

.uvq13-stk {
  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: 22em;
  height: 19em;
  border-radius: 1.2em;
  overflow: hidden;
  background: color-mix(in srgb,var(--fg) 3%,var(--bg));
  box-shadow: 0 0 0 1px color-mix(in srgb,var(--fg) 9%,transparent);
}

.uvq13-stk .pg {
  position: absolute;
  inset: 0;
  padding: 1.2em;
  display: grid;
  align-content: start;
  gap: .55em;
}

.uvq13-stk .pg i {
  height: .6em;
  border-radius: 1em;
  background: color-mix(in srgb,var(--fg) 6%,transparent);
}

.uvq13-stk .pg .h {
  width: 45%;
  height: 1em;
  margin-bottom: .4em;
  background: color-mix(in srgb,var(--fg) 12%,transparent);
}

.uvq13-stk .pg .s {
  width: 60%;
}

.uvq13-stk .scr {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: rgba(10,12,20,.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity calc(0.3s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq13-stk.open .scr {
  opacity: 1;
  pointer-events: auto;
}

.uvq13-stk .fire {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: absolute;
  right: 1em;
  top: 1em;
  z-index: 1;
  padding: .55em .95em;
  border-radius: 2em;
  font-size: .78em;
  font-weight: 650;
  color: var(--bg);
  background: var(--fg);
  transition: transform calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq13-stk .fire:active {
  transform: scale(.96);
}

.uvq13-stk button:focus-visible,.uvq13-stk a:focus-visible,.uvq13-stk input:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

.uvq13-stk .sh {
  position: absolute;
  left: .7em;
  right: .7em;
  top: 3.6em;
  bottom: 0;
  z-index: 5;
  box-sizing: border-box;
  padding: .5em .9em 1em;
  border-radius: 1.3em 1.3em 0 0;
  background: color-mix(in srgb,var(--fg) 2%,var(--bg));
  box-shadow: 0 0 0 1px color-mix(in srgb,var(--fg) 9%,transparent),0 1.6em 3.2em -1.2em rgba(0,0,0,.5);
  background: var(--bg);
  transform: translateY(105%);
  transform-origin: 50% 0;
  transition: transform calc(0.5s / var(--k)) cubic-bezier(.22,1,.36,1),filter calc(0.5s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq13-stk[data-l="1"] .sh[data-i="0"] {
  transform: none;
  filter: brightness(1.00);
}

.uvq13-stk[data-l="2"] .sh[data-i="0"] {
  transform: translateY(-0.8em) scale(0.94);
  filter: brightness(0.88);
}

.uvq13-stk[data-l="2"] .sh[data-i="1"] {
  transform: none;
  filter: brightness(1.00);
}

.uvq13-stk[data-l="3"] .sh[data-i="0"] {
  transform: translateY(-1.6em) scale(0.88);
  filter: brightness(0.76);
}

.uvq13-stk[data-l="3"] .sh[data-i="1"] {
  transform: translateY(-0.8em) scale(0.94);
  filter: brightness(0.88);
}

.uvq13-stk[data-l="3"] .sh[data-i="2"] {
  transform: none;
  filter: brightness(1.00);
}

.uvq13-stk .gr {
  display: block;
  width: 2.2em;
  height: .28em;
  margin: 0 auto .4em;
  border-radius: 1em;
  background: color-mix(in srgb,var(--fg) 18%,transparent);
}

.uvq13-stk header {
  display: grid;
  grid-template-columns: 1.9em 1fr 1.9em;
  align-items: center;
  margin-bottom: .5em;
}

.uvq13-stk header b {
  text-align: center;
  font-size: .92em;
}

.uvq13-stk .x,.uvq13-stk .bk {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  display: grid;
  place-items: center;
  width: 1.9em;
  height: 1.9em;
  border-radius: 50%;
  background: color-mix(in srgb,var(--fg) 6%,transparent);
}

.uvq13-stk .x svg,.uvq13-stk .bk svg {
  width: .95em;
  height: .95em;
}

.uvq13-stk .row {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  gap: .65em;
  box-sizing: border-box;
  width: 100%;
  padding: .6em .5em;
  border-radius: .7em;
  font-size: .85em;
  text-align: left;
  cursor: pointer;
  transition: background calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq13-stk .row:hover {
  background: color-mix(in srgb,var(--fg) 6%,transparent);
}

.uvq13-stk .row:active {
  background: color-mix(in srgb,var(--fg) 10%,transparent);
}

.uvq13-stk .row>span {
  flex: 1;
}

.uvq13-stk .row em {
  font-style: normal;
  font-size: .9em;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
}

.uvq13-stk .row>svg {
  width: 1em;
  height: 1em;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
}

.uvq13-stk .ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.8em;
  height: 1.8em;
  border-radius: .5em;
  color: #fff;
  background: var(--c);
}

.uvq13-stk .ic svg {
  width: 1em;
  height: 1em;
}

.uvq13-stk .sw {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  flex: none;
  width: 2.4em;
  height: 1.4em;
  margin: 0;
  border-radius: 1em;
  background: color-mix(in srgb,var(--fg) 16%,transparent);
  cursor: pointer;
  transition: background calc(0.25s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq13-stk .sw::before {
  content: "";
  position: absolute;
  left: .15em;
  top: .15em;
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 .1em .25em rgba(0,0,0,.3);
  transition: transform calc(0.3s / var(--k)) cubic-bezier(.34,1.56,.64,1);
}

.uvq13-stk .sw:checked {
  background: var(--c1);
}

.uvq13-stk .sw:checked::before {
  transform: translateX(1em);
}

.uvq13-stk .sw:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

.uvq13-stk .nt {
  margin: .4em .5em 0;
  font-size: .72em;
  line-height: 1.45;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
}

.uvq13-stk ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.uvq13-stk li {
  display: flex;
  align-items: center;
  gap: .6em;
  padding: .5em;
  font-size: .85em;
}

.uvq13-stk .av {
  display: grid;
  place-items: center;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  font-weight: 800;
  color: #fff;
  background: var(--c);
}

.uvq13-stk .nm {
  flex: 1;
  font-weight: 600;
}

.uvq13-stk .ub {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  padding: .45em .8em;
  border-radius: 2em;
  font-size: .82em;
  font-weight: 700;
  color: var(--c1);
  background: color-mix(in srgb,var(--c1) 14%,transparent);
}

.uvq13-stk .ub .b,.uvq13-stk .ub.on .a {
  display: none;
}

.uvq13-stk .ub.on .b {
  display: inline;
}

.uvq13-stk .ub.on {
  color: var(--bg);
  background: var(--fg);
}

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

### JavaScript

```js
document.querySelectorAll(".uvq13-stk").forEach(el => {
  const shs=[...el.querySelectorAll(".sh")],fire=el.querySelector(".fire"),scr=el.querySelector(".scr");let lv=0,tms=[];const from=[];const later=(f,ms)=>tms.push(setTimeout(f,ms));
const set=n=>{lv=n;el.dataset.l=String(n);el.classList.toggle("open",n>0);fire.setAttribute("aria-expanded",String(n>0));shs.forEach((s,i)=>{s.inert=i!==n-1})};
const push=(n,src,u)=>{from[n]=src;set(n+1);u&&later(()=>{const f=shs[n].querySelector("button,input");f&&f.focus({preventScroll:true})},380)};
const pop=()=>{if(!lv)return;const n=lv-1;set(n);(from[n]||fire).focus({preventScroll:true})};
const all=()=>{set(0);fire.focus({preventScroll:true})};
fire.addEventListener("click",()=>push(0,fire,true));scr.addEventListener("click",all);
el.querySelectorAll("[data-to]").forEach(b=>b.addEventListener("click",()=>push(+b.dataset.to,b,true)));
el.querySelectorAll(".bk").forEach(b=>b.addEventListener("click",pop));el.querySelector(".x").addEventListener("click",all);
el.querySelectorAll(".ub").forEach(b=>b.addEventListener("click",()=>b.classList.toggle("on")));
el.addEventListener("keydown",e=>{if(!lv)return;if(e.key==="Escape"){e.preventDefault();e.stopPropagation();pop()}else if(e.key==="Tab"){const p=shs[lv-1],f=[...p.querySelectorAll("button,input")],a=f[0],z=f[f.length-1],ac=document.activeElement;if(e.shiftKey&&(ac===a||!p.contains(ac))){e.preventDefault();z.focus()}else if(!e.shiftKey&&(ac===z||!p.contains(ac))){e.preventDefault();a.focus()}}});
set(0);later(()=>push(0,fire),500);later(()=>push(1,el.querySelector("[data-to='1']")),1300);return()=>tms.forEach(clearTimeout)
});
```

### 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 = `
.uvq13-stk {
  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: 22em;
  height: 19em;
  border-radius: 1.2em;
  overflow: hidden;
  background: color-mix(in srgb,var(--fg) 3%,var(--bg));
  box-shadow: 0 0 0 1px color-mix(in srgb,var(--fg) 9%,transparent);
}

.uvq13-stk .pg {
  position: absolute;
  inset: 0;
  padding: 1.2em;
  display: grid;
  align-content: start;
  gap: .55em;
}

.uvq13-stk .pg i {
  height: .6em;
  border-radius: 1em;
  background: color-mix(in srgb,var(--fg) 6%,transparent);
}

.uvq13-stk .pg .h {
  width: 45%;
  height: 1em;
  margin-bottom: .4em;
  background: color-mix(in srgb,var(--fg) 12%,transparent);
}

.uvq13-stk .pg .s {
  width: 60%;
}

.uvq13-stk .scr {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: rgba(10,12,20,.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity calc(0.3s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq13-stk.open .scr {
  opacity: 1;
  pointer-events: auto;
}

.uvq13-stk .fire {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: absolute;
  right: 1em;
  top: 1em;
  z-index: 1;
  padding: .55em .95em;
  border-radius: 2em;
  font-size: .78em;
  font-weight: 650;
  color: var(--bg);
  background: var(--fg);
  transition: transform calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq13-stk .fire:active {
  transform: scale(.96);
}

.uvq13-stk button:focus-visible,.uvq13-stk a:focus-visible,.uvq13-stk input:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

.uvq13-stk .sh {
  position: absolute;
  left: .7em;
  right: .7em;
  top: 3.6em;
  bottom: 0;
  z-index: 5;
  box-sizing: border-box;
  padding: .5em .9em 1em;
  border-radius: 1.3em 1.3em 0 0;
  background: color-mix(in srgb,var(--fg) 2%,var(--bg));
  box-shadow: 0 0 0 1px color-mix(in srgb,var(--fg) 9%,transparent),0 1.6em 3.2em -1.2em rgba(0,0,0,.5);
  background: var(--bg);
  transform: translateY(105%);
  transform-origin: 50% 0;
  transition: transform calc(0.5s / var(--k)) cubic-bezier(.22,1,.36,1),filter calc(0.5s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq13-stk[data-l="1"] .sh[data-i="0"] {
  transform: none;
  filter: brightness(1.00);
}

.uvq13-stk[data-l="2"] .sh[data-i="0"] {
  transform: translateY(-0.8em) scale(0.94);
  filter: brightness(0.88);
}

.uvq13-stk[data-l="2"] .sh[data-i="1"] {
  transform: none;
  filter: brightness(1.00);
}

.uvq13-stk[data-l="3"] .sh[data-i="0"] {
  transform: translateY(-1.6em) scale(0.88);
  filter: brightness(0.76);
}

.uvq13-stk[data-l="3"] .sh[data-i="1"] {
  transform: translateY(-0.8em) scale(0.94);
  filter: brightness(0.88);
}

.uvq13-stk[data-l="3"] .sh[data-i="2"] {
  transform: none;
  filter: brightness(1.00);
}

.uvq13-stk .gr {
  display: block;
  width: 2.2em;
  height: .28em;
  margin: 0 auto .4em;
  border-radius: 1em;
  background: color-mix(in srgb,var(--fg) 18%,transparent);
}

.uvq13-stk header {
  display: grid;
  grid-template-columns: 1.9em 1fr 1.9em;
  align-items: center;
  margin-bottom: .5em;
}

.uvq13-stk header b {
  text-align: center;
  font-size: .92em;
}

.uvq13-stk .x,.uvq13-stk .bk {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  display: grid;
  place-items: center;
  width: 1.9em;
  height: 1.9em;
  border-radius: 50%;
  background: color-mix(in srgb,var(--fg) 6%,transparent);
}

.uvq13-stk .x svg,.uvq13-stk .bk svg {
  width: .95em;
  height: .95em;
}

.uvq13-stk .row {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  gap: .65em;
  box-sizing: border-box;
  width: 100%;
  padding: .6em .5em;
  border-radius: .7em;
  font-size: .85em;
  text-align: left;
  cursor: pointer;
  transition: background calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq13-stk .row:hover {
  background: color-mix(in srgb,var(--fg) 6%,transparent);
}

.uvq13-stk .row:active {
  background: color-mix(in srgb,var(--fg) 10%,transparent);
}

.uvq13-stk .row>span {
  flex: 1;
}

.uvq13-stk .row em {
  font-style: normal;
  font-size: .9em;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
}

.uvq13-stk .row>svg {
  width: 1em;
  height: 1em;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
}

.uvq13-stk .ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.8em;
  height: 1.8em;
  border-radius: .5em;
  color: #fff;
  background: var(--c);
}

.uvq13-stk .ic svg {
  width: 1em;
  height: 1em;
}

.uvq13-stk .sw {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  flex: none;
  width: 2.4em;
  height: 1.4em;
  margin: 0;
  border-radius: 1em;
  background: color-mix(in srgb,var(--fg) 16%,transparent);
  cursor: pointer;
  transition: background calc(0.25s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq13-stk .sw::before {
  content: "";
  position: absolute;
  left: .15em;
  top: .15em;
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 .1em .25em rgba(0,0,0,.3);
  transition: transform calc(0.3s / var(--k)) cubic-bezier(.34,1.56,.64,1);
}

.uvq13-stk .sw:checked {
  background: var(--c1);
}

.uvq13-stk .sw:checked::before {
  transform: translateX(1em);
}

.uvq13-stk .sw:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

.uvq13-stk .nt {
  margin: .4em .5em 0;
  font-size: .72em;
  line-height: 1.45;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
}

.uvq13-stk ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.uvq13-stk li {
  display: flex;
  align-items: center;
  gap: .6em;
  padding: .5em;
  font-size: .85em;
}

.uvq13-stk .av {
  display: grid;
  place-items: center;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  font-weight: 800;
  color: #fff;
  background: var(--c);
}

.uvq13-stk .nm {
  flex: 1;
  font-weight: 600;
}

.uvq13-stk .ub {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  padding: .45em .8em;
  border-radius: 2em;
  font-size: .82em;
  font-weight: 700;
  color: var(--c1);
  background: color-mix(in srgb,var(--c1) 14%,transparent);
}

.uvq13-stk .ub .b,.uvq13-stk .ub.on .a {
  display: none;
}

.uvq13-stk .ub.on .b {
  display: inline;
}

.uvq13-stk .ub.on {
  color: var(--bg);
  background: var(--fg);
}

@media (prefers-reduced-motion:reduce) {
  .uvq13-stk,.uvq13-stk *,.uvq13-stk *::before,.uvq13-stk *::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 shs=[...el.querySelectorAll(".sh")],fire=el.querySelector(".fire"),scr=el.querySelector(".scr");let lv=0,tms=[];const from=[];const later=(f,ms)=>tms.push(setTimeout(f,ms));
const set=n=>{lv=n;el.dataset.l=String(n);el.classList.toggle("open",n>0);fire.setAttribute("aria-expanded",String(n>0));shs.forEach((s,i)=>{s.inert=i!==n-1})};
const push=(n,src,u)=>{from[n]=src;set(n+1);u&&later(()=>{const f=shs[n].querySelector("button,input");f&&f.focus({preventScroll:true})},380)};
const pop=()=>{if(!lv)return;const n=lv-1;set(n);(from[n]||fire).focus({preventScroll:true})};
const all=()=>{set(0);fire.focus({preventScroll:true})};
fire.addEventListener("click",()=>push(0,fire,true));scr.addEventListener("click",all);
el.querySelectorAll("[data-to]").forEach(b=>b.addEventListener("click",()=>push(+b.dataset.to,b,true)));
el.querySelectorAll(".bk").forEach(b=>b.addEventListener("click",pop));el.querySelector(".x").addEventListener("click",all);
el.querySelectorAll(".ub").forEach(b=>b.addEventListener("click",()=>b.classList.toggle("on")));
el.addEventListener("keydown",e=>{if(!lv)return;if(e.key==="Escape"){e.preventDefault();e.stopPropagation();pop()}else if(e.key==="Tab"){const p=shs[lv-1],f=[...p.querySelectorAll("button,input")],a=f[0],z=f[f.length-1],ac=document.activeElement;if(e.shiftKey&&(ac===a||!p.contains(ac))){e.preventDefault();z.focus()}else if(!e.shiftKey&&(ac===z||!p.contains(ac))){e.preventDefault();a.focus()}}});
set(0);later(()=>push(0,fire),500);later(()=>push(1,el.querySelector("[data-to='1']")),1300);return()=>tms.forEach(clearTimeout)
}

export default function OvStackedSheets() {
  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": "#ccfbf1",
          "--s": "16px",
          "--k": "1",
          "--fg": "#1d1d1f",
          "--bg": "#f5f5f7",
        } as CSSProperties}
      >
        <div className="uvq13-stk"><div className="pg" aria-hidden="true"><i className="h"></i><i></i><i></i><i></i><i></i><i className="s"></i></div><button type="button" className="fire" aria-haspopup="dialog">Account settings</button><div className="scr"></div><section className="sh" data-i="0" role="dialog" aria-modal="true" aria-labelledby="uvq13-stk-0"><i className="gr" aria-hidden="true"></i><header><span></span><b id="uvq13-stk-0">Account settings</b><button type="button" className="x" aria-label="Close"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true"><path d="M7 7l10 10M17 7L7 17" /></svg></button></header><button type="button" className="row" data-to="1"><i className="ic" style={{ "--c": "#0ea5e9" } as CSSProperties}><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true"><path d="M12 3l7 3v5c0 4.5-3 8-7 10-4-2-7-5.5-7-10V6z" /></svg></i><span>Privacy</span><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true"><path d="M9 6l6 6-6 6" /></svg></button><button type="button" className="row"><i className="ic" style={{ "--c": "#f43f5e" } as CSSProperties}><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true"><path d="M6 9.5a6 6 0 0 1 12 0c0 4.5 2 6 2 6H4s2-1.5 2-6M10 19a2 2 0 0 0 4 0" /></svg></i><span>Notifications</span><em>On</em></button><button type="button" className="row"><i className="ic" style={{ "--c": "#8b5cf6" } as CSSProperties}><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="8.5" /><path d="M3.5 12h17M12 3.5c2.5 2.6 3.5 5.4 3.5 8.5s-1 5.9-3.5 8.5c-2.5-2.6-3.5-5.4-3.5-8.5s1-5.9 3.5-8.5" /></svg></i><span>Language</span><em>Spanish</em></button></section><section className="sh" data-i="1" role="dialog" aria-modal="true" aria-labelledby="uvq13-stk-1"><i className="gr" aria-hidden="true"></i><header><button type="button" className="bk" aria-label="Back"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true"><path d="M15 6l-6 6 6 6" /></svg></button><b id="uvq13-stk-1">Privacy</b><span></span></header><label className="row"><span>Private profile</span><input type="checkbox" role="switch" className="sw" /></label><button type="button" className="row" data-to="2"><span>Blocked accounts</span><em>2</em><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true"><path d="M9 6l6 6-6 6" /></svg></button><p className="nt">If your profile is private, only your followers will see what you post.</p></section><section className="sh" data-i="2" role="dialog" aria-modal="true" aria-labelledby="uvq13-stk-2"><i className="gr" aria-hidden="true"></i><header><button type="button" className="bk" aria-label="Back"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true"><path d="M15 6l-6 6 6 6" /></svg></button><b id="uvq13-stk-2">Blocked accounts</b><span></span></header><ul><li><span className="av" style={{ "--c": "#f97316" } as CSSProperties}>R</span><span className="nm">rober_88</span><button type="button" className="ub"><span className="a">Unblock</span><span className="b">Block</span></button></li><li><span className="av" style={{ "--c": "#6366f1" } as CSSProperties}>N</span><span className="nm">nube.gris</span><button type="button" className="ub"><span className="a">Unblock</span><span className="b">Block</span></button></li></ul></section></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 “Stacked sheets with depth” block (Overlays) from AIMRAN Library to my project.

## What it is
Sheets that open on top of each other: the one behind shrinks and darkens, and Escape only closes the top one.

## Chosen settings
- Main color: #0f766e
- Secondary color: #ccfbf1
- Size: 16px (from 12 to 24px)
- Speed: 1x (from 0.5 to 2x)
- Text: "Ajustes de la cuenta"

## 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 = `
.uvq13-stk {
  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: 22em;
  height: 19em;
  border-radius: 1.2em;
  overflow: hidden;
  background: color-mix(in srgb,var(--fg) 3%,var(--bg));
  box-shadow: 0 0 0 1px color-mix(in srgb,var(--fg) 9%,transparent);
}

.uvq13-stk .pg {
  position: absolute;
  inset: 0;
  padding: 1.2em;
  display: grid;
  align-content: start;
  gap: .55em;
}

.uvq13-stk .pg i {
  height: .6em;
  border-radius: 1em;
  background: color-mix(in srgb,var(--fg) 6%,transparent);
}

.uvq13-stk .pg .h {
  width: 45%;
  height: 1em;
  margin-bottom: .4em;
  background: color-mix(in srgb,var(--fg) 12%,transparent);
}

.uvq13-stk .pg .s {
  width: 60%;
}

.uvq13-stk .scr {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: rgba(10,12,20,.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity calc(0.3s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq13-stk.open .scr {
  opacity: 1;
  pointer-events: auto;
}

.uvq13-stk .fire {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: absolute;
  right: 1em;
  top: 1em;
  z-index: 1;
  padding: .55em .95em;
  border-radius: 2em;
  font-size: .78em;
  font-weight: 650;
  color: var(--bg);
  background: var(--fg);
  transition: transform calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq13-stk .fire:active {
  transform: scale(.96);
}

.uvq13-stk button:focus-visible,.uvq13-stk a:focus-visible,.uvq13-stk input:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

.uvq13-stk .sh {
  position: absolute;
  left: .7em;
  right: .7em;
  top: 3.6em;
  bottom: 0;
  z-index: 5;
  box-sizing: border-box;
  padding: .5em .9em 1em;
  border-radius: 1.3em 1.3em 0 0;
  background: color-mix(in srgb,var(--fg) 2%,var(--bg));
  box-shadow: 0 0 0 1px color-mix(in srgb,var(--fg) 9%,transparent),0 1.6em 3.2em -1.2em rgba(0,0,0,.5);
  background: var(--bg);
  transform: translateY(105%);
  transform-origin: 50% 0;
  transition: transform calc(0.5s / var(--k)) cubic-bezier(.22,1,.36,1),filter calc(0.5s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq13-stk[data-l="1"] .sh[data-i="0"] {
  transform: none;
  filter: brightness(1.00);
}

.uvq13-stk[data-l="2"] .sh[data-i="0"] {
  transform: translateY(-0.8em) scale(0.94);
  filter: brightness(0.88);
}

.uvq13-stk[data-l="2"] .sh[data-i="1"] {
  transform: none;
  filter: brightness(1.00);
}

.uvq13-stk[data-l="3"] .sh[data-i="0"] {
  transform: translateY(-1.6em) scale(0.88);
  filter: brightness(0.76);
}

.uvq13-stk[data-l="3"] .sh[data-i="1"] {
  transform: translateY(-0.8em) scale(0.94);
  filter: brightness(0.88);
}

.uvq13-stk[data-l="3"] .sh[data-i="2"] {
  transform: none;
  filter: brightness(1.00);
}

.uvq13-stk .gr {
  display: block;
  width: 2.2em;
  height: .28em;
  margin: 0 auto .4em;
  border-radius: 1em;
  background: color-mix(in srgb,var(--fg) 18%,transparent);
}

.uvq13-stk header {
  display: grid;
  grid-template-columns: 1.9em 1fr 1.9em;
  align-items: center;
  margin-bottom: .5em;
}

.uvq13-stk header b {
  text-align: center;
  font-size: .92em;
}

.uvq13-stk .x,.uvq13-stk .bk {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  display: grid;
  place-items: center;
  width: 1.9em;
  height: 1.9em;
  border-radius: 50%;
  background: color-mix(in srgb,var(--fg) 6%,transparent);
}

.uvq13-stk .x svg,.uvq13-stk .bk svg {
  width: .95em;
  height: .95em;
}

.uvq13-stk .row {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  gap: .65em;
  box-sizing: border-box;
  width: 100%;
  padding: .6em .5em;
  border-radius: .7em;
  font-size: .85em;
  text-align: left;
  cursor: pointer;
  transition: background calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq13-stk .row:hover {
  background: color-mix(in srgb,var(--fg) 6%,transparent);
}

.uvq13-stk .row:active {
  background: color-mix(in srgb,var(--fg) 10%,transparent);
}

.uvq13-stk .row>span {
  flex: 1;
}

.uvq13-stk .row em {
  font-style: normal;
  font-size: .9em;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
}

.uvq13-stk .row>svg {
  width: 1em;
  height: 1em;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
}

.uvq13-stk .ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.8em;
  height: 1.8em;
  border-radius: .5em;
  color: #fff;
  background: var(--c);
}

.uvq13-stk .ic svg {
  width: 1em;
  height: 1em;
}

.uvq13-stk .sw {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  flex: none;
  width: 2.4em;
  height: 1.4em;
  margin: 0;
  border-radius: 1em;
  background: color-mix(in srgb,var(--fg) 16%,transparent);
  cursor: pointer;
  transition: background calc(0.25s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq13-stk .sw::before {
  content: "";
  position: absolute;
  left: .15em;
  top: .15em;
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 .1em .25em rgba(0,0,0,.3);
  transition: transform calc(0.3s / var(--k)) cubic-bezier(.34,1.56,.64,1);
}

.uvq13-stk .sw:checked {
  background: var(--c1);
}

.uvq13-stk .sw:checked::before {
  transform: translateX(1em);
}

.uvq13-stk .sw:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

.uvq13-stk .nt {
  margin: .4em .5em 0;
  font-size: .72em;
  line-height: 1.45;
  color: color-mix(in srgb,var(--fg) 55%,transparent);
}

.uvq13-stk ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.uvq13-stk li {
  display: flex;
  align-items: center;
  gap: .6em;
  padding: .5em;
  font-size: .85em;
}

.uvq13-stk .av {
  display: grid;
  place-items: center;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  font-weight: 800;
  color: #fff;
  background: var(--c);
}

.uvq13-stk .nm {
  flex: 1;
  font-weight: 600;
}

.uvq13-stk .ub {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  padding: .45em .8em;
  border-radius: 2em;
  font-size: .82em;
  font-weight: 700;
  color: var(--c1);
  background: color-mix(in srgb,var(--c1) 14%,transparent);
}

.uvq13-stk .ub .b,.uvq13-stk .ub.on .a {
  display: none;
}

.uvq13-stk .ub.on .b {
  display: inline;
}

.uvq13-stk .ub.on {
  color: var(--bg);
  background: var(--fg);
}

@media (prefers-reduced-motion:reduce) {
  .uvq13-stk,.uvq13-stk *,.uvq13-stk *::before,.uvq13-stk *::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 shs=[...el.querySelectorAll(".sh")],fire=el.querySelector(".fire"),scr=el.querySelector(".scr");let lv=0,tms=[];const from=[];const later=(f,ms)=>tms.push(setTimeout(f,ms));
const set=n=>{lv=n;el.dataset.l=String(n);el.classList.toggle("open",n>0);fire.setAttribute("aria-expanded",String(n>0));shs.forEach((s,i)=>{s.inert=i!==n-1})};
const push=(n,src,u)=>{from[n]=src;set(n+1);u&&later(()=>{const f=shs[n].querySelector("button,input");f&&f.focus({preventScroll:true})},380)};
const pop=()=>{if(!lv)return;const n=lv-1;set(n);(from[n]||fire).focus({preventScroll:true})};
const all=()=>{set(0);fire.focus({preventScroll:true})};
fire.addEventListener("click",()=>push(0,fire,true));scr.addEventListener("click",all);
el.querySelectorAll("[data-to]").forEach(b=>b.addEventListener("click",()=>push(+b.dataset.to,b,true)));
el.querySelectorAll(".bk").forEach(b=>b.addEventListener("click",pop));el.querySelector(".x").addEventListener("click",all);
el.querySelectorAll(".ub").forEach(b=>b.addEventListener("click",()=>b.classList.toggle("on")));
el.addEventListener("keydown",e=>{if(!lv)return;if(e.key==="Escape"){e.preventDefault();e.stopPropagation();pop()}else if(e.key==="Tab"){const p=shs[lv-1],f=[...p.querySelectorAll("button,input")],a=f[0],z=f[f.length-1],ac=document.activeElement;if(e.shiftKey&&(ac===a||!p.contains(ac))){e.preventDefault();z.focus()}else if(!e.shiftKey&&(ac===z||!p.contains(ac))){e.preventDefault();a.focus()}}});
set(0);later(()=>push(0,fire),500);later(()=>push(1,el.querySelector("[data-to='1']")),1300);return()=>tms.forEach(clearTimeout)
}

export default function OvStackedSheets() {
  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": "#ccfbf1",
          "--s": "16px",
          "--k": "1",
          "--fg": "#1d1d1f",
          "--bg": "#f5f5f7",
        } as CSSProperties}
      >
        <div className="uvq13-stk"><div className="pg" aria-hidden="true"><i className="h"></i><i></i><i></i><i></i><i></i><i className="s"></i></div><button type="button" className="fire" aria-haspopup="dialog">Account settings</button><div className="scr"></div><section className="sh" data-i="0" role="dialog" aria-modal="true" aria-labelledby="uvq13-stk-0"><i className="gr" aria-hidden="true"></i><header><span></span><b id="uvq13-stk-0">Account settings</b><button type="button" className="x" aria-label="Close"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true"><path d="M7 7l10 10M17 7L7 17" /></svg></button></header><button type="button" className="row" data-to="1"><i className="ic" style={{ "--c": "#0ea5e9" } as CSSProperties}><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true"><path d="M12 3l7 3v5c0 4.5-3 8-7 10-4-2-7-5.5-7-10V6z" /></svg></i><span>Privacy</span><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true"><path d="M9 6l6 6-6 6" /></svg></button><button type="button" className="row"><i className="ic" style={{ "--c": "#f43f5e" } as CSSProperties}><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true"><path d="M6 9.5a6 6 0 0 1 12 0c0 4.5 2 6 2 6H4s2-1.5 2-6M10 19a2 2 0 0 0 4 0" /></svg></i><span>Notifications</span><em>On</em></button><button type="button" className="row"><i className="ic" style={{ "--c": "#8b5cf6" } as CSSProperties}><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="8.5" /><path d="M3.5 12h17M12 3.5c2.5 2.6 3.5 5.4 3.5 8.5s-1 5.9-3.5 8.5c-2.5-2.6-3.5-5.4-3.5-8.5s1-5.9 3.5-8.5" /></svg></i><span>Language</span><em>Spanish</em></button></section><section className="sh" data-i="1" role="dialog" aria-modal="true" aria-labelledby="uvq13-stk-1"><i className="gr" aria-hidden="true"></i><header><button type="button" className="bk" aria-label="Back"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true"><path d="M15 6l-6 6 6 6" /></svg></button><b id="uvq13-stk-1">Privacy</b><span></span></header><label className="row"><span>Private profile</span><input type="checkbox" role="switch" className="sw" /></label><button type="button" className="row" data-to="2"><span>Blocked accounts</span><em>2</em><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true"><path d="M9 6l6 6-6 6" /></svg></button><p className="nt">If your profile is private, only your followers will see what you post.</p></section><section className="sh" data-i="2" role="dialog" aria-modal="true" aria-labelledby="uvq13-stk-2"><i className="gr" aria-hidden="true"></i><header><button type="button" className="bk" aria-label="Back"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true"><path d="M15 6l-6 6 6 6" /></svg></button><b id="uvq13-stk-2">Blocked accounts</b><span></span></header><ul><li><span className="av" style={{ "--c": "#f97316" } as CSSProperties}>R</span><span className="nm">rober_88</span><button type="button" className="ub"><span className="a">Unblock</span><span className="b">Block</span></button></li><li><span className="av" style={{ "--c": "#6366f1" } as CSSProperties}>N</span><span className="nm">nube.gris</span><button type="button" className="ub"><span className="a">Unblock</span><span className="b">Block</span></button></li></ul></section></div>
      </div>
    </>
  );
}
```

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