
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@dreamworld/dw-button
Advanced tools
A button web component created using [`mwc-button`](https://www.webcomponents.org/element/@material/mwc-button)
A button web component created using mwc-button
npm install @dreamworld/dw-button
import '@dreamworld/dw-button/dw-button.js';
<dw-button label="OK"></dw-button>
Button is rendered by default in Primary color. It can be rendered in secondary, error or text color too. For that
add corresponding class (secondary
, error
and text
) to the button. e.g.
<dw-button label="OK" class="secondary"></dw-button>
it's actually main reason for creating extension of
mwc-button
.
outlined
attribute.filled
attribute.raised
attribute can be used to show elevated button. As outlined
button will never be raised, this
doesn't work with outlined
style.Add disabled
attribute to make a button disabled.
mwc-button
element.FAQs
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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.