Security News
pnpm 9.5 Introduces Catalogs: Shareable Dependency Version Specifiers
pnpm 9.5 introduces a Catalogs feature, enabling shareable dependency version specifiers, reducing merge conflicts and improving support for monorepos.
@rmwc/button
Advanced tools
Readme
Buttons communicate the action that will occur when the user touches them.
Default
<Button label\="Button" />
Icons
<\>
<Button label\="Icon" icon\="favorite" />
<Button label\="Trailing" trailingIcon\="keyboard\_arrow\_right" />
<Button label\="Loading" icon\={<CircularProgress />} />
</\>
Variants
<\>
<Button label\="Raised" raised />
<Button label\="Unelevated" unelevated />
<Button label\="Outlined" outlined />
<Button label\="Dense" dense />
<Button label\="No Ripple" ripple\={false} />
</\>
Danger
<\>
<Button label\="Danger" danger raised />
<Button label\="Danger" danger outlined />
<Button label\="Danger" danger />
</\>
Theming
<\>
<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" />
</\>
Children
<Button\>
{/\*\* Alternatively pass content as children \*/}
As Children
</Button\>
Touch Target Wrapper
<\>
{/\*\* Wrapping a button in TouchTargetWrapper will automatically set its \`touch\` prop to true. \*/}
<TouchTargetWrapper\>
<Button\>Touch Accessible</Button\>
</TouchTargetWrapper\>
</\>
FAQs
Unknown package
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 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
pnpm 9.5 introduces a Catalogs feature, enabling shareable dependency version specifiers, reducing merge conflicts and improving support for monorepos.
Security News
A threat actor on BreachForums is selling an unverified npm vulnerability for account takeover, but npm has not officially confirmed the existence of this security concern.
Security News
Cyber insurance rates are dropping as the market matures, according to a new report projecting global premiums to reach $43 billion by 2030, driven by international market uptake and growth in the SME sector.