
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
waterbox-component
Advanced tools

A simple web component displaying an isometric water box.
You can use NPM to install this component.
npm i --save waterbox-component
To use this web component in your project you can utilize one of the following styles of syntax.
/* In an existing module / web component */
import 'waterbox-component';
/* At top of an application */
<script type="module" src="node_modules/waterbox-component/dist/bundle.js"></script>
/* Alternatives for top of application */
<script type="module">
import 'waterbox-component';
</script>
You can now use the component in your HTML:
<water-box value="50"></water-box>
This component is responsive. Simply set its width and height via CSS.
water-box {
width: 100px;
height: 180px;
}
| Property | Attribute | Type | Description | Example |
|---|---|---|---|---|
value | value | Number | Percentual level of water. | 50 |
strokeColor | stroke-color | String | Stroke color. | rgba(64,64,64,0.8) |
fillColor | fill-color | String | Water fill color. | rgba(192,192,225,0.8) |
boxColor | box-color | String | Box fill color. | rgba(127,127,127,0.8) |
strokeWidth | stroke-width | Number | Stroke width. | 2 |
separators | separators | Number | Number of scale separators. | 5 |
drawTop | draw-top | Boolean | Whether to draw the box ceiling. | true |
contrast | contrast | Number | Color contrast. | 15 |
MIT
FAQs
A simple web component displaying an isometric water box.
The npm package waterbox-component receives a total of 6 weekly downloads. As such, waterbox-component popularity was classified as not popular.
We found that waterbox-component demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.