Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@clayui/button
Advanced tools
import { ButtonDisplayTypes, ButtonGroup, ButtonIcon, } from '$packages/clay-button/docs/index';
You can determine how your button can be displayed using the displayType
property:
Set displayType
to unstyled
to reset all the stylings from Bootstrap 4.
If you want use the button as a link set displayType
to link
.
You can use the variant ClayButton.Group
for creating button groups:
Use the spaced
property to create spacing between buttons.
You can use the high-level component ClayButtonWithIcon
to create a button with only an icon. If you need an icon and text, you need to compose with ClayIcon
3.32.0 (2021-07-28)
dangerouslySetInnerHTML
(675910c)component-text
and component-icon
, generic names for reuse in other components (ae49f03)form-group-sm div.form-control
should be 32px tall and grow to fix content inside, similar to a textarea element (eb987a1), closes #4164container-max-width-*
classes should work with Custom Properties (b12dbf5)clay-loading-animation-variant
to use clay-css
pattern (4280c6f), closes #3987sheet-footer-btn-block
to use clay-css
pattern (5523b67), closes #3987$sheet-lg-max-width
should use fixed number instead of generating based on a $container-max-widths
value (5968bd5)dragstart
(70d78da)@clayui/core
package (1d4e4b3)theme
API to Provider (e7bae7d)map-deep-get
for getting values of deeply nested Sass map items (2b80302)showDeltasDropDown
prop (6c65f43), closes #4175FAQs
ClayButton component
The npm package @clayui/button receives a total of 2,367 weekly downloads. As such, @clayui/button popularity was classified as popular.
We found that @clayui/button demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 13 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 malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.