
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
solid-pwa-navigation
Advanced tools
A library that brings App-like navigation to PWAs and Web Apps.
This package provides routers that emulate Tab and Stack navigation behaviors.
npm install solid-pwa-navigation
<TabRouter />
is designed to handle navigation between pages that are always mounted. <StackRouter />
is designed to mimic a
stack of cards, each new page is put on top of the others and going back removes (and destroys) that page.
You can combine them to obtain the classic app experience with a bottom drawer containing the main tabs and each tab having a dedicated stack of pages.
To improve compatibility with modern mobile devices that have notches and other screen-obstructing elements, this library exports
a couple of utility components and objects that provide padding for the so-called "safe area", namely <SafeAreaScreen>
and safeAreaPaddingStyles
. This, together with viewport-fit=cover
in the viewport meta-tag, will allow you to emulate the app experience as close as possible. You consult the demo for a fully configured example.
FAQs
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.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.