Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Floating action buttons represent the primary action in a screen or app.
See MDC Floating Action Button for more information on API and Sass mixins.
See the Sass variable file for styling variables.
npm install --save-dev @smui/fab
<script>
import Fab, {Icon} from '@smui/fab';
function doSomething() {
alert('something');
}
</script>
<Fab on:click={doSomething}><Icon class="material-icons">favorite</Icon></Fab>
in action: https://sveltematerialui.com/demo/fab
demo code: https://github.com/hperrin/svelte-material-ui/blob/master/site/src/routes/demo/fab.svelte
A floating action button.
use
: []
- An array of actions and/or action/property arrays.class
: ''
- A CSS class string.ripple
: true
- Whether to implement a ripple for when the component is interacted with.color
: 'secondary'
- The FAB's color. ('primary' or 'secondary')mini
: false
- Whether to make the FAB smaller.exited
: false
- Whether the FAB is not visible. Changing this will cause the FAB to animate in/out.extended
: false
- Whether the FAB contains a label.All standard UI events are forwarded.
A text label.
See the common label readme.
A graphic icon.
See the common icon readme.
1.0.0-beta.21 (2020-04-19)
FAQs
Svelte Material UI - Floating Action Button
We found that @smui/fab 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
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.