Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@rmwc/button
Advanced tools
Buttons communicate the action that will occur when the user touches them.
Buttons communicate the action that will occur when the user touches them.
<Button label="Button" />
<>
<Button label="Icon" icon="favorite" />
<Button label="Trailing" trailingIcon="keyboard_arrow_right" />
<Button label="Loading" icon={<CircularProgress />} />
</>
<>
<Button label="Raised" raised />
<Button label="Unelevated" unelevated />
<Button label="Outlined" outlined />
<Button label="Dense" dense />
<Button label="No Ripple" ripple={false} />
</>
<>
<Button label="Danger" danger raised />
<Button label="Danger" danger outlined />
<Button label="Danger" danger />
</>
<>
<Button
label="With Theme"
raised
theme={['secondaryBg', 'onSecondary']}
/>
{/**
This example uses "accent" to control the color of the Ripple.
See the documentation on Ripples.
*/}
<Button label="With Theme" theme="secondary" />
</>
<Button>
{/** Alternatively pass content as children */}
As Children
</Button>
<>
{/** Wrapping a button in TouchTargetWrapper will automatically set its `touch` prop to true. */}
<TouchTargetWrapper>
<Button>Touch Accessible</Button>
</TouchTargetWrapper>
</>
The Button component.
Name | Type | Description |
---|---|---|
children | ReactNode | Content specified as children. |
danger | boolean | Used to indicate a dangerous action. |
dense | boolean | Make the Button dense. |
disabled | boolean | Make the button disabled |
icon | IconPropT | An Icon for the Button |
label | any | Content specified as a label prop. |
outlined | boolean | Make the button outlined. |
raised | boolean | Make the Button raised. |
ripple | RipplePropT | Adds a ripple effect to the component |
touch | boolean | Makes the button more touch friendly. This will automatically be set true if used inside of TouchTargetWrapper. |
trailingIcon | IconPropT | A trailing icon for the Button |
unelevated | boolean | Make the button unelevated. |
14.3.4 (2024-09-23)
FAQs
Buttons communicate the action that will occur when the user touches them.
The npm package @rmwc/button receives a total of 3,781 weekly downloads. As such, @rmwc/button popularity was classified as popular.
We found that @rmwc/button demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.