
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
@feverus/react-custom-cursor
Advanced tools
npm i @feverus/react-custom-cursor
https://react-custom-cursor-demo.vercel.app
import { CustomCursor } from '@feverus/react-custom-cursor'
import '@feverus/react-custom-cursor/dist/style.css'
const muCursor = 'любой JSX элемент, строка или предустановленный курсор из списка ниже'
<CustomCursor cursor={muCursor}>
<>ваш компонент</>
</CustomCursor>
Название | Тип | По умолчанию | Описание |
---|---|---|---|
hoverClassName | string | style.css > .hover | Стиль курсора при наведении на <a> или <button> |
scale | number | 1 | Изменяет масштаб курсора |
rotating | boolean | 'auto' | 'onMove' | false | Без вращения |
true - Поворачивает курсор вокруг центра области. Обратите внимание, что угол в 0 радиан это направление от правого края к центру. Это важно для создания нового курсора. | |||
onMove - поворачивает курсор при движении мыши. | |||
auto - поворачивает курсор случайным образом раз в секунду. |
import { RotatingArrow } from '@feverus/react-custom-cursor'
import { LaserDot } from '@feverus/react-custom-cursor'
import { CircleWithText } from '@feverus/react-custom-cursor'
<CustomCursor cursor={<CircleWithText text={'any text'} color={'any color'} />}>
...
</CustomCursor>
Название | Тип | По умолчанию | Описание |
---|---|---|---|
text | string | '...' | Текст надписи (до 30 символоов) |
color | string | 'black' | Цвет надписи |
donutColor | string | '#eeeeee90' | Цвет подложки под текстом |
Оберните самый верхний компонент
<CustomCursor cursor={'🦝'}>
<App />
</CustomCursor>
Возможно, понадобится добавить стиль для него
#root>div {
width: 100vw;
min-height: 100vh;
}
FAQs
## Установка ``` npm i @feverus/react-custom-cursor ```
The npm package @feverus/react-custom-cursor receives a total of 7 weekly downloads. As such, @feverus/react-custom-cursor popularity was classified as not popular.
We found that @feverus/react-custom-cursor demonstrated a not healthy version release cadence and project activity because the last version was released 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
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.