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.
@smui/touch-target
Advanced tools
A touch target is the area that extends beyond the visible boundary of an interactive element that still responds to touch inputs. According to the Material Design spec, touch targets should be no less than 48px x 48px in size. SMUI provides a touch
prop on the following components that will increased their touch target.
This component provides a wrapper to ensure that collapsing margins don't cause touch targets to overlap.
npm install --save-dev @smui/touch-target
https://sveltematerialui.com/demo/touch-target
A fragment used as a touch target wrapper.
Equivalent to the ClassAdder
with Div
common component.
See Layout and typography in the Material design spec.
See Touch Target in MDC-Web for information about the upstream library's architecture.
8.0.0-beta.2 (2024-12-13)
FAQs
Svelte Material UI - Touch Target
The npm package @smui/touch-target receives a total of 1,985 weekly downloads. As such, @smui/touch-target popularity was classified as popular.
We found that @smui/touch-target 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.