
Security News
PyPI Expands Trusted Publishing to GitLab Self-Managed as Adoption Passes 25 Percent
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads
@cypress-design/vue-icon
Advanced tools
Use the <icon> component to display an icon from the cypress figma library.
2 methods exist to load this component:
The recommended:
<script setup>
import { IconBookCode } from @cypress-design/vue-icon
</script>
<template>
<IconBookCode />
</template>
The simplest:
<script setup>
import Icon from @cypress-design/vue-icon
</script>
<template>
<Icon name="book-code" />
</template>
Should you need to change the color of the icon on hover or focus prefix the props with these words.
Here, the strokeColor will change on hover from indigo to jade
<script setup>
import { IconBook } from '@cypress-design/vue-icon'
</script>
<template>
<button>
<IconBook
size="16"
strokeColor="blue-600"
hoverStrokeColor="jade-600"
/>Read
</button>
</template>
If you need the hover or focus effect to be triggered on the parent group, use interactiveColorsOnGroup.
This prop will change all the pseudo prefixes to be group focused instead of triggered by the icon itself.
To achieve the same goal, in WindiCSS, we would use group-hover: instead of hover:.
<script setup>
import { IconBook } from '@cypress-design/vue-icon'
</script>
<template>
<button class="group hover:text-jade-800">
<IconBook
size="16"
strokeColor="blue-600"
hoverStrokeColor="jade-600"
interactiveColorsOnGroup
/>Read
</button>
</template>
npm install @cypress-design/vue-icon
or with yarn
yarn add @cypress-design/vue-icon
FAQs
## Install
The npm package @cypress-design/vue-icon receives a total of 2,240 weekly downloads. As such, @cypress-design/vue-icon popularity was classified as popular.
We found that @cypress-design/vue-icon 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
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.