
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
deku-bloxparty-box
Advanced tools
A simple Deku component to render a box with a title and children.
npm install deku-bloxparty-box
import Box from 'deku-bloxparty-box'
import element from 'virtual-element'
export function render() {
return element(Box, {class: 'SignIn-box', title: 'Sign In'}, [
dom('input', {type: 'text', name: 'username'})
dom('input', {type: 'password', name: 'password'})
dom('button', {type: 'submit'})
])
}
<div class='SignIn-box bp-Box'>
<div class='bp-Box-head'>
<span class='bp-Box-title'>Sign In</span>
</div>
<div class='bp-Box-content'>
<input type="text" name="username">
<input type="password" name="password">
<button type="submit">
</div>
</div>
If you do not include a title property the div .bp-Box-head will not be rendered.
Default styles are available in src/index.css which may be consumed by a transpiler such as PostCSS.
MIT
FAQs
A simple Deku box component
We found that deku-bloxparty-box 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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.