Security News
vlt Debuts New JavaScript Package Manager and Serverless Registry at NodeConf EU
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
@rmwc/button
Advanced tools
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"
ripple={{ accent: true }}
/>
</>
<Button>
{/** Alternatively pass content as children */}
As Children
</Button>
The Button component.
Name | Type | Description |
---|---|---|
children | React.ReactNode | Content specified as children. |
danger | undefined | false | true | Used to indicate a dangerous action. |
dense | undefined | false | true | Make the Button dense. |
disabled | undefined | false | true | Make the button disabled |
icon | RMWC.IconPropT | An Icon for the Button |
label | React.ReactNode | any | Content specified as a label prop. |
outlined | undefined | false | true | Make the button outlined. |
raised | undefined | false | true | Make the Button raised. |
ripple | RipplePropT | Adds a ripple effect to the component |
trailingIcon | RMWC.IconPropT | A trailing icon for the Button |
unelevated | undefined | false | true | Make the button unelevated. |
FAQs
Buttons communicate the action that will occur when the user touches them.
The npm package @rmwc/button receives a total of 3,966 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.
Security News
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
Security News
Research
The Socket Research Team uncovered a malicious Python package typosquatting the popular 'fabric' SSH library, silently exfiltrating AWS credentials from unsuspecting developers.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.