Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@os-design/media
Advanced tools
Utils and hooks for using CSS media queries. Can be used without os-design.
Utils and hooks for using CSS media queries. Can be used without os-design.
media
– Generates media queries.useIsMaxWidth
– Checks whether the width of the screen is less than or equal to the specified media breakpoint (for example, sm).useIsMinWidth
– Checks whether the width of the screen is greater than or equal to the specified media breakpoint (for example, md).useIsWidth
– Checks whether the width of the screen matches the condition defined by the specified function.All hooks support SSR.
Install the package using the following command:
yarn add @os-design/media
See all the features in the Storybook.
FAQs
Utils and hooks for using CSS media queries. Can be used without os-design.
We found that @os-design/media demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.