# Synth waveform selector

> An analogue synth panel with wooden cheeks: each key lights its LED and draws its waveform on the scope.

- Category: [Radio buttons](https://library.aimran.es/components/radios)
- Built with: HTML + CSS
- Live editor: https://library.aimran.es/blocks/uv-rd-synth-osc
- Library: AIMRAN Library (https://library.aimran.es), free, no sign-up, by Aimran Oukham

## Where to use it

Built like the front of a vintage analogue synthesiser, this radio group has walnut side cheeks, cream keys with sine, triangle, saw and square icons, and a red LED above each one. The chosen waveform scrolls across a small phosphor oscilloscope drawn with SVG paths, so the choice is both heard in your head and seen. Great for audio tools and music apps.

The main color drives the LEDs and the secondary color the scope trace, so amber and green or red and cyan both read well. Swap the four options for filters, effects or presets and keep the labels to a single short word.

## Code

### HTML

```html
<fieldset class="uvq04-osc"><legend>Oscillator 1</legend><div class="pn"><div class="sc" aria-hidden="true"><svg viewBox="0 0 200 60" preserveAspectRatio="none"><g class="w sin"><path vector-effect="non-scaling-stroke" d="M0 30C8 4 17 4 25 30S42 56 50 30S67 4 75 30S92 56 100 30S117 4 125 30S142 56 150 30S167 4 175 30S192 56 200 30S217 4 225 30S242 56 250 30S267 4 275 30S292 56 300 30"/></g><g class="w tri"><path vector-effect="non-scaling-stroke" d="M0 30L12.5 6L37.5 54L50 30L62.5 6L87.5 54L100 30L112.5 6L137.5 54L150 30L162.5 6L187.5 54L200 30L212.5 6L237.5 54L250 30L262.5 6L287.5 54L300 30"/></g><g class="w saw"><path vector-effect="non-scaling-stroke" d="M0 54L50 6V54L100 6V54L150 6V54L200 6V54L250 6V54L300 6V54"/></g><g class="w sq"><path vector-effect="non-scaling-stroke" d="M0 6H25V54H50V6H75V54H100V6H125V54H150V6H175V54H200V6H225V54H250V6H275V54H300V6"/></g></svg></div><div class="bt"><label><input type="radio" name="uvq04-osc"><i class="led" aria-hidden="true"></i><span class="ky"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M2 12C5 3 9 3 12 12S19 21 22 12"/></svg></span><span class="nm">Sine</span></label><label><input type="radio" name="uvq04-osc"><i class="led" aria-hidden="true"></i><span class="ky"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M2 12L7 5L17 19L22 12"/></svg></span><span class="nm">Triangle</span></label><label><input type="radio" name="uvq04-osc" checked><i class="led" aria-hidden="true"></i><span class="ky"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M2 18L12 6V18L22 6V18"/></svg></span><span class="nm">Saw</span></label><label><input type="radio" name="uvq04-osc"><i class="led" aria-hidden="true"></i><span class="ky"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M2 17V7H12V17H22V7"/></svg></span><span class="nm">Square</span></label></div></div></fieldset>
```

### CSS

```css
.uvq04-osc {
  --c1: #ff6a13;
  --c2: #38f2c7;
  --s: 16px;
  /* tamaño */
  --k: 1;
  /* velocidad */
  --fg: #1d1d1f;
  /* texto */
  --bg: #f5f5f7;
  /* fondo */
}

.uvq04-osc {
  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;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.uvq04-osc legend {
  padding: 0;
  margin: 0 0 .8em;
  font-weight: 700;
}

.uvq04-osc .pn {
  width: 18.5em;
  padding: .9em 1.5em 1em;
  border-radius: .6em;
  background: repeating-linear-gradient(90deg,rgba(0,0,0,.18) 0 1px,transparent 1px 5px) 0 0/.7em 100% no-repeat,repeating-linear-gradient(90deg,rgba(0,0,0,.18) 0 1px,transparent 1px 5px) 100% 0/.7em 100% no-repeat,linear-gradient(90deg,#6b3d1e 0 .7em,#252321 .7em calc(100% - .7em),#6b3d1e 0);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08),0 1.2em 2em -1em rgba(0,0,0,.6);
}

.uvq04-osc .sc {
  height: 4.2em;
  border-radius: .4em;
  overflow: hidden;
  background: linear-gradient(90deg,color-mix(in srgb,var(--c2) 12%,transparent) 1px,transparent 1px) 0 0/12.5% 100%,linear-gradient(color-mix(in srgb,var(--c2) 12%,transparent) 1px,transparent 1px) 0 0/100% 25%,radial-gradient(circle,#0b1f1a,#040c0a);
  box-shadow: inset 0 0 1em rgba(0,0,0,.8),0 0 0 .2em #121110;
}

.uvq04-osc svg {
  display: block;
}

.uvq04-osc .sc svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.uvq04-osc .w {
  opacity: 0;
  transition: opacity calc(0.25s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq04-osc .w path {
  fill: none;
  stroke: var(--c2);
  stroke-width: 2;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 3px var(--c2));
  animation: uvq04-osc calc(0.9s / var(--k)) linear infinite;
}

.uvq04-osc .bt {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: .5em;
  margin-top: .9em;
}

.uvq04-osc label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45em;
  cursor: pointer;
}

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

.uvq04-osc .led {
  width: .5em;
  height: .5em;
  border-radius: 50%;
  background: #3a1a0c;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.6);
  transition: background calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1),box-shadow calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq04-osc .ky {
  display: grid;
  place-items: center;
  width: 2.6em;
  height: 2.4em;
  border-radius: .3em;
  background: linear-gradient(#f2ece2,#cfc6b8);
  box-shadow: 0 .25em 0 #8d8578,0 .4em .5em -.1em rgba(0,0,0,.5);
  transition: transform calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1),box-shadow calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq04-osc .ky svg {
  width: 1.4em;
  height: 1.4em;
  fill: none;
  stroke: #2a2724;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.uvq04-osc .nm {
  font-size: .58em;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #bdb5aa;
}

.uvq04-osc label:hover .ky {
  background: linear-gradient(#fff8ee,#d9d0c2);
}

.uvq04-osc label:active .ky,.uvq04-osc input:checked ~ .ky {
  transform: translateY(.18em);
  box-shadow: 0 .07em 0 #8d8578,0 .15em .3em -.1em rgba(0,0,0,.5);
}

.uvq04-osc input:checked + .led {
  background: var(--c1);
  box-shadow: 0 0 .5em var(--c1),0 0 1em color-mix(in srgb,var(--c1) 60%,transparent);
}

.uvq04-osc input:checked ~ .nm {
  color: #fff;
}

.uvq04-osc input:focus-visible ~ .ky {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

.uvq04-osc:has(label:nth-of-type(1) input:checked) .w.sin {
  opacity: 1;
}

.uvq04-osc:has(label:nth-of-type(2) input:checked) .w.tri {
  opacity: 1;
}

.uvq04-osc:has(label:nth-of-type(3) input:checked) .w.saw {
  opacity: 1;
}

.uvq04-osc:has(label:nth-of-type(4) input:checked) .w.sq {
  opacity: 1;
}

@keyframes uvq04-osc {
  to {
    transform: translateX(-50px);
  }
}

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

### React

```tsx
import type { CSSProperties } from "react";

const css = `
.uvq04-osc {
  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;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.uvq04-osc legend {
  padding: 0;
  margin: 0 0 .8em;
  font-weight: 700;
}

.uvq04-osc .pn {
  width: 18.5em;
  padding: .9em 1.5em 1em;
  border-radius: .6em;
  background: repeating-linear-gradient(90deg,rgba(0,0,0,.18) 0 1px,transparent 1px 5px) 0 0/.7em 100% no-repeat,repeating-linear-gradient(90deg,rgba(0,0,0,.18) 0 1px,transparent 1px 5px) 100% 0/.7em 100% no-repeat,linear-gradient(90deg,#6b3d1e 0 .7em,#252321 .7em calc(100% - .7em),#6b3d1e 0);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08),0 1.2em 2em -1em rgba(0,0,0,.6);
}

.uvq04-osc .sc {
  height: 4.2em;
  border-radius: .4em;
  overflow: hidden;
  background: linear-gradient(90deg,color-mix(in srgb,var(--c2) 12%,transparent) 1px,transparent 1px) 0 0/12.5% 100%,linear-gradient(color-mix(in srgb,var(--c2) 12%,transparent) 1px,transparent 1px) 0 0/100% 25%,radial-gradient(circle,#0b1f1a,#040c0a);
  box-shadow: inset 0 0 1em rgba(0,0,0,.8),0 0 0 .2em #121110;
}

.uvq04-osc svg {
  display: block;
}

.uvq04-osc .sc svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.uvq04-osc .w {
  opacity: 0;
  transition: opacity calc(0.25s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq04-osc .w path {
  fill: none;
  stroke: var(--c2);
  stroke-width: 2;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 3px var(--c2));
  animation: uvq04-osc calc(0.9s / var(--k)) linear infinite;
}

.uvq04-osc .bt {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: .5em;
  margin-top: .9em;
}

.uvq04-osc label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45em;
  cursor: pointer;
}

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

.uvq04-osc .led {
  width: .5em;
  height: .5em;
  border-radius: 50%;
  background: #3a1a0c;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.6);
  transition: background calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1),box-shadow calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq04-osc .ky {
  display: grid;
  place-items: center;
  width: 2.6em;
  height: 2.4em;
  border-radius: .3em;
  background: linear-gradient(#f2ece2,#cfc6b8);
  box-shadow: 0 .25em 0 #8d8578,0 .4em .5em -.1em rgba(0,0,0,.5);
  transition: transform calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1),box-shadow calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq04-osc .ky svg {
  width: 1.4em;
  height: 1.4em;
  fill: none;
  stroke: #2a2724;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.uvq04-osc .nm {
  font-size: .58em;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #bdb5aa;
}

.uvq04-osc label:hover .ky {
  background: linear-gradient(#fff8ee,#d9d0c2);
}

.uvq04-osc label:active .ky,.uvq04-osc input:checked ~ .ky {
  transform: translateY(.18em);
  box-shadow: 0 .07em 0 #8d8578,0 .15em .3em -.1em rgba(0,0,0,.5);
}

.uvq04-osc input:checked + .led {
  background: var(--c1);
  box-shadow: 0 0 .5em var(--c1),0 0 1em color-mix(in srgb,var(--c1) 60%,transparent);
}

.uvq04-osc input:checked ~ .nm {
  color: #fff;
}

.uvq04-osc input:focus-visible ~ .ky {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

.uvq04-osc:has(label:nth-of-type(1) input:checked) .w.sin {
  opacity: 1;
}

.uvq04-osc:has(label:nth-of-type(2) input:checked) .w.tri {
  opacity: 1;
}

.uvq04-osc:has(label:nth-of-type(3) input:checked) .w.saw {
  opacity: 1;
}

.uvq04-osc:has(label:nth-of-type(4) input:checked) .w.sq {
  opacity: 1;
}

@keyframes uvq04-osc {
  to {
    transform: translateX(-50px);
  }
}

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

export default function RdSynthOsc() {
  return (
    <>
      <style>{css}</style>
      <div
        style={{
          "--c1": "#ff6a13",
          "--c2": "#38f2c7",
          "--s": "16px",
          "--k": "1",
          "--fg": "#1d1d1f",
          "--bg": "#f5f5f7",
        } as CSSProperties}
      >
        <fieldset className="uvq04-osc"><legend>Oscillator 1</legend><div className="pn"><div className="sc" aria-hidden="true"><svg viewBox="0 0 200 60" preserveAspectRatio="none"><g className="w sin"><path vectorEffect="non-scaling-stroke" d="M0 30C8 4 17 4 25 30S42 56 50 30S67 4 75 30S92 56 100 30S117 4 125 30S142 56 150 30S167 4 175 30S192 56 200 30S217 4 225 30S242 56 250 30S267 4 275 30S292 56 300 30" /></g><g className="w tri"><path vectorEffect="non-scaling-stroke" d="M0 30L12.5 6L37.5 54L50 30L62.5 6L87.5 54L100 30L112.5 6L137.5 54L150 30L162.5 6L187.5 54L200 30L212.5 6L237.5 54L250 30L262.5 6L287.5 54L300 30" /></g><g className="w saw"><path vectorEffect="non-scaling-stroke" d="M0 54L50 6V54L100 6V54L150 6V54L200 6V54L250 6V54L300 6V54" /></g><g className="w sq"><path vectorEffect="non-scaling-stroke" d="M0 6H25V54H50V6H75V54H100V6H125V54H150V6H175V54H200V6H225V54H250V6H275V54H300V6" /></g></svg></div><div className="bt"><label><input type="radio" name="uvq04-osc" /><i className="led" aria-hidden="true"></i><span className="ky"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M2 12C5 3 9 3 12 12S19 21 22 12" /></svg></span><span className="nm">Sine</span></label><label><input type="radio" name="uvq04-osc" /><i className="led" aria-hidden="true"></i><span className="ky"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M2 12L7 5L17 19L22 12" /></svg></span><span className="nm">Triangle</span></label><label><input type="radio" name="uvq04-osc" checked={true} /><i className="led" aria-hidden="true"></i><span className="ky"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M2 18L12 6V18L22 6V18" /></svg></span><span className="nm">Saw</span></label><label><input type="radio" name="uvq04-osc" /><i className="led" aria-hidden="true"></i><span className="ky"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M2 17V7H12V17H22V7" /></svg></span><span className="nm">Square</span></label></div></div></fieldset>
      </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 “Synth waveform selector” block (Radio buttons) from AIMRAN Library to my project.

## What it is
An analogue synth panel with wooden cheeks: each key lights its LED and draws its waveform on the scope.

## Chosen settings
- Main color: #ff6a13
- Secondary color: #38f2c7
- Size: 16px (from 12 to 24px)
- Speed: 1x (from 0.5 to 2x)
- Text: "Oscilador 1"

## 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
import type { CSSProperties } from "react";

const css = `
.uvq04-osc {
  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;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.uvq04-osc legend {
  padding: 0;
  margin: 0 0 .8em;
  font-weight: 700;
}

.uvq04-osc .pn {
  width: 18.5em;
  padding: .9em 1.5em 1em;
  border-radius: .6em;
  background: repeating-linear-gradient(90deg,rgba(0,0,0,.18) 0 1px,transparent 1px 5px) 0 0/.7em 100% no-repeat,repeating-linear-gradient(90deg,rgba(0,0,0,.18) 0 1px,transparent 1px 5px) 100% 0/.7em 100% no-repeat,linear-gradient(90deg,#6b3d1e 0 .7em,#252321 .7em calc(100% - .7em),#6b3d1e 0);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08),0 1.2em 2em -1em rgba(0,0,0,.6);
}

.uvq04-osc .sc {
  height: 4.2em;
  border-radius: .4em;
  overflow: hidden;
  background: linear-gradient(90deg,color-mix(in srgb,var(--c2) 12%,transparent) 1px,transparent 1px) 0 0/12.5% 100%,linear-gradient(color-mix(in srgb,var(--c2) 12%,transparent) 1px,transparent 1px) 0 0/100% 25%,radial-gradient(circle,#0b1f1a,#040c0a);
  box-shadow: inset 0 0 1em rgba(0,0,0,.8),0 0 0 .2em #121110;
}

.uvq04-osc svg {
  display: block;
}

.uvq04-osc .sc svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.uvq04-osc .w {
  opacity: 0;
  transition: opacity calc(0.25s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq04-osc .w path {
  fill: none;
  stroke: var(--c2);
  stroke-width: 2;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 3px var(--c2));
  animation: uvq04-osc calc(0.9s / var(--k)) linear infinite;
}

.uvq04-osc .bt {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: .5em;
  margin-top: .9em;
}

.uvq04-osc label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45em;
  cursor: pointer;
}

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

.uvq04-osc .led {
  width: .5em;
  height: .5em;
  border-radius: 50%;
  background: #3a1a0c;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.6);
  transition: background calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1),box-shadow calc(0.2s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq04-osc .ky {
  display: grid;
  place-items: center;
  width: 2.6em;
  height: 2.4em;
  border-radius: .3em;
  background: linear-gradient(#f2ece2,#cfc6b8);
  box-shadow: 0 .25em 0 #8d8578,0 .4em .5em -.1em rgba(0,0,0,.5);
  transition: transform calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1),box-shadow calc(0.15s / var(--k)) cubic-bezier(.25,.1,.25,1);
}

.uvq04-osc .ky svg {
  width: 1.4em;
  height: 1.4em;
  fill: none;
  stroke: #2a2724;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.uvq04-osc .nm {
  font-size: .58em;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #bdb5aa;
}

.uvq04-osc label:hover .ky {
  background: linear-gradient(#fff8ee,#d9d0c2);
}

.uvq04-osc label:active .ky,.uvq04-osc input:checked ~ .ky {
  transform: translateY(.18em);
  box-shadow: 0 .07em 0 #8d8578,0 .15em .3em -.1em rgba(0,0,0,.5);
}

.uvq04-osc input:checked + .led {
  background: var(--c1);
  box-shadow: 0 0 .5em var(--c1),0 0 1em color-mix(in srgb,var(--c1) 60%,transparent);
}

.uvq04-osc input:checked ~ .nm {
  color: #fff;
}

.uvq04-osc input:focus-visible ~ .ky {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

.uvq04-osc:has(label:nth-of-type(1) input:checked) .w.sin {
  opacity: 1;
}

.uvq04-osc:has(label:nth-of-type(2) input:checked) .w.tri {
  opacity: 1;
}

.uvq04-osc:has(label:nth-of-type(3) input:checked) .w.saw {
  opacity: 1;
}

.uvq04-osc:has(label:nth-of-type(4) input:checked) .w.sq {
  opacity: 1;
}

@keyframes uvq04-osc {
  to {
    transform: translateX(-50px);
  }
}

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

export default function RdSynthOsc() {
  return (
    <>
      <style>{css}</style>
      <div
        style={{
          "--c1": "#ff6a13",
          "--c2": "#38f2c7",
          "--s": "16px",
          "--k": "1",
          "--fg": "#1d1d1f",
          "--bg": "#f5f5f7",
        } as CSSProperties}
      >
        <fieldset className="uvq04-osc"><legend>Oscillator 1</legend><div className="pn"><div className="sc" aria-hidden="true"><svg viewBox="0 0 200 60" preserveAspectRatio="none"><g className="w sin"><path vectorEffect="non-scaling-stroke" d="M0 30C8 4 17 4 25 30S42 56 50 30S67 4 75 30S92 56 100 30S117 4 125 30S142 56 150 30S167 4 175 30S192 56 200 30S217 4 225 30S242 56 250 30S267 4 275 30S292 56 300 30" /></g><g className="w tri"><path vectorEffect="non-scaling-stroke" d="M0 30L12.5 6L37.5 54L50 30L62.5 6L87.5 54L100 30L112.5 6L137.5 54L150 30L162.5 6L187.5 54L200 30L212.5 6L237.5 54L250 30L262.5 6L287.5 54L300 30" /></g><g className="w saw"><path vectorEffect="non-scaling-stroke" d="M0 54L50 6V54L100 6V54L150 6V54L200 6V54L250 6V54L300 6V54" /></g><g className="w sq"><path vectorEffect="non-scaling-stroke" d="M0 6H25V54H50V6H75V54H100V6H125V54H150V6H175V54H200V6H225V54H250V6H275V54H300V6" /></g></svg></div><div className="bt"><label><input type="radio" name="uvq04-osc" /><i className="led" aria-hidden="true"></i><span className="ky"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M2 12C5 3 9 3 12 12S19 21 22 12" /></svg></span><span className="nm">Sine</span></label><label><input type="radio" name="uvq04-osc" /><i className="led" aria-hidden="true"></i><span className="ky"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M2 12L7 5L17 19L22 12" /></svg></span><span className="nm">Triangle</span></label><label><input type="radio" name="uvq04-osc" checked={true} /><i className="led" aria-hidden="true"></i><span className="ky"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M2 18L12 6V18L22 6V18" /></svg></span><span className="nm">Saw</span></label><label><input type="radio" name="uvq04-osc" /><i className="led" aria-hidden="true"></i><span className="ky"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M2 17V7H12V17H22V7" /></svg></span><span className="nm">Square</span></label></div></div></fieldset>
      </div>
    </>
  );
}
```

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