Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@konturio/default-icons
Advanced tools
This module contain React components which contain SVG element.
This module contain React components which contain SVG element.
SVG elements based on Material design icons and exported with Figma design tool from icon font.
{NewName}Icon.tsx
file in src/icons
directory{NewName}Icon.tsx
import React, { FC } from 'react';
const CloseIcon: FC = (props: React.SVGProps<SVGSVGElement>) => (
<svg width="14" height="14" viewBox="0 0 14 14" {...props}>
<path
d="M13.9844 1.42188L8.40625 7L13.9844 12.5781L12.5781 13.9844L7 8.40625L1.42188 13.9844L0.015625 12.5781L5.59375 7L0.015625 1.42188L1.42188 0.015625L7 5.59375L12.5781 0.015625L13.9844 1.42188Z"
fill="currentColor"
/>
</svg>
);
export default React.memo(CloseIcon);
You can get all icons from external packages as Material icons
Include popular icons in your React projects easly with react-icons, which utilizes ES6 imports that allows you to include only the icons that your project is using.
It can help you to transform SVGs into React components.
You can choose the way you prefer:
Before export icons, you will need to generate a Personal Access Token in Figma.
Copy the token. Now you can start export!
export FIGMA_TOKEN=<personalAccessToken>
or on Windows set FIGMA_TOKEN=<personalAccessToken>
npm run figma:export
You also can save this token in .env.local
file in the root with content
FIGMA_TOKEN=<personalAccessToken>
So next time you need to export icons you can run another command to reuse this token
npm run figma:export-env
FAQs
This module contain React components which contain SVG element.
We found that @konturio/default-icons demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.