
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@devseed-ui/collecticons
Advanced tools
This modules allows you to use the collecticons icon font with the UI Library.
Many of the components use collecticons so it is advised to include this module.
To be able to use the collecticons, the global styles must be included.
yarn add @devseed-ui/collecticons
And add the collecticons global styles to the root of your application:
lang: jsx
---
import { DevseedUiThemeProvider } from '@devseed-ui/theme-provider';
import { CollecticonsGlobalStyle } from '@devseed-ui/collecticons';
export default function App () {
return (
<DevseedUiThemeProvider>
<CollecticonsGlobalStyle />
<Home title="Ui Library" />
</DevseedUiThemeProvider>
);
}
Some components use collecticons directly and you don't have to do anything. Others, like the Button allow you to pick an icon through a prop.
span: 3
---
<Button
variation="base-raised-light"
size="small"
title="Sample button"
onClick={() => {}}
useIcon="brand-collecticons"
>
Click Me
</Button>
span: 3
---
<DevseedUiThemeProvider>
<CollecticonsGlobalStyle />
<Button
variation="base-raised-light"
size="small"
title="Sample button"
onClick={() => {}}
useIcon="brand-collecticons"
>
Click Me
</Button>
</DevseedUiThemeProvider>
You can also use the icon as part of a pseudo element with styled-components.
lang: js
---
import collecticon from '@devseed-ui/collecticons';
const Icon = styled.span`
::before {
${collecticon('trash-bin')}
}
`;
The easiest way to know a collecticon's name is to visit [collecticons.io](http://collecticons.io/) and clicking the icon you want.
Its name will be copied to your clipboard. 😉
FAQs
devseed UI Kit Collecticons
The npm package @devseed-ui/collecticons receives a total of 39 weekly downloads. As such, @devseed-ui/collecticons popularity was classified as not popular.
We found that @devseed-ui/collecticons demonstrated a not healthy version release cadence and project activity because the last version was released 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.