Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@progress/kendo-svg-icons
Advanced tools
@progress/kendo-svg-icons is a package that provides a comprehensive collection of SVG icons for use in web applications. These icons are designed to be easily integrated with Kendo UI components, but they can also be used independently in any web project. The package aims to offer a wide variety of icons that are scalable and customizable to fit different design needs.
Importing and Using Icons
This feature allows you to import and use SVG icons in your React components. The icons can be easily referenced by their names and rendered within your JSX.
import { Icon } from '@progress/kendo-svg-icons';
const MyComponent = () => (
<div>
<Icon name="home" />
<Icon name="user" />
</div>
);
Customizing Icon Size and Color
This feature allows you to customize the size and color of the icons. You can pass size and color properties to the Icon component to adjust its appearance according to your design requirements.
import { Icon } from '@progress/kendo-svg-icons';
const MyComponent = () => (
<div>
<Icon name="home" size="24px" color="blue" />
<Icon name="user" size="32px" color="red" />
</div>
);
Using Icons with Kendo UI Components
This feature demonstrates how to use the SVG icons with Kendo UI components. In this example, an icon is used within a Kendo UI Button component to enhance its visual appeal.
import { Button } from '@progress/kendo-react-buttons';
import { Icon } from '@progress/kendo-svg-icons';
const MyComponent = () => (
<Button icon={<Icon name="save" />}>Save</Button>
);
react-icons is a popular package that provides a wide range of icons from various icon libraries such as Font Awesome, Material Design, and more. It offers a similar functionality to @progress/kendo-svg-icons but with a broader selection of icon sets.
heroicons is a set of free, MIT-licensed high-quality SVG icons for you to use in your web projects. It offers a different style of icons compared to @progress/kendo-svg-icons and is often used for Tailwind CSS projects.
fontawesome-svg-core is the core package for using Font Awesome icons as SVGs. It provides a vast collection of icons and is highly customizable, similar to @progress/kendo-svg-icons, but with the extensive Font Awesome library.
This package contains the Kendo UI SVG icons definitions and metadata.
FAQs
Unknown package
We found that @progress/kendo-svg-icons 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.