Hello, censored-style.js!

censored-style.js is a JavaScript library that allows you to apply a censorship-like style to specific text. Since it uses Web Components, it can be used with any framework, including React, Vue, and Svelte. Of course, it can also be used with Vanilla JS.

Playground

See the Pen by Kilimanjaro (@Kilimanjaro-a2) on CodePen.

There are many different types of Censorship.

Convenient functionalities are also available.