Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@tamagui/lucide-icons
Advanced tools
React Native components for Lucide icons - native and web
This repository is a copy of the React Feather project.
The main difference between them is that this project outputs React Native SVG components that will render on React Native platforms.
npm install @tamagui/lucide-icons --save
You will also need to ensure you have installed React Native SVG into your project.
import { Camera } from '@tamagui/lucide-icons';
class MyClass extends React.Component {
render() {
return <Camera />
}
}
If you are using WebPack, you can import only one icon.
import Camera from '@tamagui/lucide-icons/dist/icons/camera';
class MyClass extends React.Component {
render() {
return <Camera />
}
}
If you can't use ES6 imports, it's possible to include icons from the compiled folder ./dist.
var Camera = require('@tamagui/lucide-icons/dist/icons/camera').default;
var MyComponent = React.createClass({
render: function () {
return (
<Camera />
);
}
});
You can also include the whole icon pack:
import * as Icon from '@tamagui/lucide-icons';
class MyClass extends React.Component {
render() {
return <Icon.Camera />
}
}
Icons can be configured with inline props:
<Icon.AlertCircle color="red" size={48} />
FAQs
React Native components for Lucide icons - native and web
The npm package @tamagui/lucide-icons receives a total of 20,520 weekly downloads. As such, @tamagui/lucide-icons popularity was classified as popular.
We found that @tamagui/lucide-icons 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.