
Research
/Security News
Contagious Interview Campaign Escalates With 67 Malicious npm Packages and New Malware Loader
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
@smui/card
Advanced tools
A container for media and actions.
npm install --save-dev @smui/card
https://sveltematerialui.com/demo/card
A card.
use
: []
- An array of Svelte actions and/or arrays of an action and its options.class
: ''
- A CSS class string.variant
: 'raised'
- The card's style variant. ('raised' or 'outlined')padded
: false
- Whether to apply padding to the card. You can also use a Content
component to achieve the same effect.A fragment used as a content area within a card.
Equivalent to the ClassAdder
with Div
common component.
Note that you can supply your own component to a ClassAdder
based component. You can use this to create things like list cards.
An interactive portion of the card. Meant to be the primary way to interact with the card.
use
: []
- An array of Svelte actions and/or arrays of an action and its options.class
: ''
- A CSS class string.ripple
: true
- Whether to implement a ripple for when the component is interacted with.color
: undefined
- A color, passed to the Ripple action. ('primary', or 'secondary')padded
: false
- Whether to apply padding to the area.tabindex
: 0
- The tabindex of the area.An area of the card meant to show media content.
use
: []
- An array of Svelte actions and/or arrays of an action and its options.class
: ''
- A CSS class string.aspectRatio
: undefined
- Add styling to maintain a given aspect ratio. ('square' or '16x9')An area of the card within the media meant to show content over top of the media.
Equivalent to the ClassAdder
with Div
common component.
An area of the card containing interactive actions.
use
: []
- An array of Svelte actions and/or arrays of an action and its options.class
: ''
- A CSS class string.fullBleed
: false
- Whether to style the actions as full bleed, meaning they take up the whole width of the card.An area of the card, within Actions, containing buttons.
Equivalent to the ClassAdder
with Div
common component.
An area of the card, within Actions, containing icon buttons.
Equivalent to the ClassAdder
with Div
common component.
See Cards in the Material design spec.
See Card in MDC-Web for information about the upstream library's architecture.
8.0.0-beta.3 (2024-12-22)
FAQs
Svelte Material UI - Card
We found that @smui/card 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
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.