Data Display
v1.0.0Added in 1.0.0
A syntax-highlighted code block that builds its entire theme from a single accent color.
Pick an accent to re-shade the whole block from that one color: keywords, strings, comments, selection and the highlighted-line wash are all tints of it. Hit the copy button to put the code on the clipboard and watch the icon spring into a check. Long lines scroll sideways inside the block, and the code area is focusable so arrow keys scroll it too.
npx wingo-ui@latest add code-block