Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@smui/select
Advanced tools
Select menus provide the user with a choice between multiple items.
npm install --save-dev @smui/select
The latest SMUI v3 beta had a lot of changes, and these docs haven't been caught up yet. You should check out the demo page's code to see the latest usage.
<Select
bind:value={fruitChoice}
label="Fruit"
anchor$class="select-width"
menu$class="select-width"
>
<Option value="" />
{#each fruits as fruit}
<Option value={fruit}>{fruit}</Option>
{/each}
</Select>
<script>
import Select, { Option } from '@smui/select';
let fruits = ['Apple', 'Orange', 'Banana', 'Mango'];
let fruitChoice = '';
</script>
<style>
* :global(.select-width) {
min-width: 200px;
}
</style>
in action: https://sveltematerialui.com/demo/select
demo code: https://github.com/hperrin/svelte-material-ui/blob/master/site/src/routes/demo/select/
todo...
See Dropdown menu in the Material design spec.
See Select in MDC-Web for information about the upstream library's architecture.
3.0.0-beta.4 (2021-04-12)
FAQs
Svelte Material UI - Select
The npm package @smui/select receives a total of 6,666 weekly downloads. As such, @smui/select popularity was classified as popular.
We found that @smui/select 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.