Pré-visualização do cursor: Angry Grinch - 1 - cute-cursor.com

Pacote de cursor

Angry Grinch

Christmas Santa & GiftsAdicionado 44 vezes

Angry Grinch cursor for Chrome - festive themed pointer with seasonal hover hand. Holiday fan art pack.

Adicionar à Extensão

The Grinch is a worldwide icon of Christmas, is the titular main protagonist from the book and television special. He is the resident grouch of Whoville, living high above the Whos on Mount Crumpit with his dog Max and usually spies on them. The famous Grinch as a custom cursor for mouse and pointer from our Merry Christmas and Happy New Year 2023 custom cursors collection for Chrome.

Arquivos do cursor

Baixe o arquivo ou copie o código CSS, JavaScript, React e Roblox pronto para usar, com o hotspot correto.

Cursor - 1 - cute-cursor.com

Cursor

Baixe o arquivo ou copie o código de incorporação para o seu site, React, JavaScript ou Roblox.

Cole este CSS na sua folha de estilos. As coordenadas do hotspot já estão incluídas.

.custom-cursor {
  cursor: url('https://cute-cursor.com/cdn/packs/1262/arrow.png') 51 0, auto;
}

Cole este JavaScript para aplicar o cursor com o hotspot correto.

const CURSOR_URL = 'https://cute-cursor.com/cdn/packs/1262/arrow.png';
const HOTSPOT_X = 51;
const HOTSPOT_Y = 0;
const CURSOR_FALLBACK = 'auto';

const cursorValue = `url('${CURSOR_URL}') ${HOTSPOT_X} ${HOTSPOT_Y}, ${CURSOR_FALLBACK}`;

// Apply to the whole page
document.body.style.cursor = cursorValue;

// Or apply to a specific element
// const target = document.querySelector('.my-element');
// if (target) target.style.cursor = cursorValue;

Copie este componente React e envolva seu conteúdo com ele.

import React from 'react';

const CURSOR_URL = 'https://cute-cursor.com/cdn/packs/1262/arrow.png';
const HOTSPOT_X = 51;
const HOTSPOT_Y = 0;
const CURSOR_FALLBACK = 'auto';

export default function CustomCursor({ children, className = '', as: Tag = 'div', style = {}, ...props }) {
  const cursorStyle = {
    cursor: `url('${CURSOR_URL}') ${HOTSPOT_X} ${HOTSPOT_Y}, ${CURSOR_FALLBACK}`,
    ...style,
  };

  return (
    <Tag className={className} style={cursorStyle} {...props}>
      {children}
    </Tag>
  );
}

// Usage:
// <CustomCursor>Your content</CustomCursor>

Envie a imagem para o Roblox, substitua YOUR_ASSET_ID e cole este LocalScript.

-- Roblox custom cursor
-- Image URL: https://cute-cursor.com/cdn/packs/1262/arrow.png
-- Hotspot: 51, 0
-- Size: 128x128
-- 1. Upload the image to Roblox and copy rbxassetid
-- 2. Replace YOUR_ASSET_ID below
-- 3. Put this LocalScript in StarterPlayer > StarterPlayerScripts

local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Players = game:GetService("Players")

local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

local HOTSPOT_X = 51
local HOTSPOT_Y = 0
local CURSOR_WIDTH = 128
local CURSOR_HEIGHT = 128

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "CustomCursorGui"
screenGui.ResetOnSpawn = false
screenGui.IgnoreGuiInset = true
screenGui.DisplayOrder = 999999
screenGui.Parent = playerGui

local cursor = Instance.new("ImageLabel")
cursor.Name = "CustomCursor"
cursor.BackgroundTransparency = 1
cursor.Size = UDim2.fromOffset(CURSOR_WIDTH, CURSOR_HEIGHT)
cursor.Image = "rbxassetid://YOUR_ASSET_ID"
cursor.ZIndex = 999999
cursor.Parent = screenGui

UserInputService.MouseIconEnabled = false

RunService.RenderStepped:Connect(function()
    local mouseLocation = UserInputService:GetMouseLocation()
    cursor.Position = UDim2.fromOffset(mouseLocation.X - HOTSPOT_X, mouseLocation.Y - HOTSPOT_Y)
end)
Ponteiro - 2 - cute-cursor.com

Ponteiro

Baixe o arquivo ou copie o código de incorporação para o seu site, React, JavaScript ou Roblox.

Cole este CSS na sua folha de estilos. As coordenadas do hotspot já estão incluídas.

.custom-pointer {
  cursor: url('https://cute-cursor.com/cdn/packs/1262/hand.png') 44 0, pointer;
}

Cole este JavaScript para aplicar o cursor com o hotspot correto.

const CURSOR_URL = 'https://cute-cursor.com/cdn/packs/1262/hand.png';
const HOTSPOT_X = 44;
const HOTSPOT_Y = 0;
const CURSOR_FALLBACK = 'pointer';

const cursorValue = `url('${CURSOR_URL}') ${HOTSPOT_X} ${HOTSPOT_Y}, ${CURSOR_FALLBACK}`;

// Apply to the whole page
document.body.style.cursor = cursorValue;

// Or apply to a specific element
// const target = document.querySelector('.my-element');
// if (target) target.style.cursor = cursorValue;

Copie este componente React e envolva seu conteúdo com ele.

import React from 'react';

const CURSOR_URL = 'https://cute-cursor.com/cdn/packs/1262/hand.png';
const HOTSPOT_X = 44;
const HOTSPOT_Y = 0;
const CURSOR_FALLBACK = 'pointer';

export default function CustomPointer({ children, className = '', as: Tag = 'div', style = {}, ...props }) {
  const cursorStyle = {
    cursor: `url('${CURSOR_URL}') ${HOTSPOT_X} ${HOTSPOT_Y}, ${CURSOR_FALLBACK}`,
    ...style,
  };

  return (
    <Tag className={className} style={cursorStyle} {...props}>
      {children}
    </Tag>
  );
}

// Usage:
// <CustomPointer>Your content</CustomPointer>

Envie a imagem para o Roblox, substitua YOUR_ASSET_ID e cole este LocalScript.

-- Roblox custom cursor
-- Image URL: https://cute-cursor.com/cdn/packs/1262/hand.png
-- Hotspot: 44, 0
-- Size: 128x128
-- 1. Upload the image to Roblox and copy rbxassetid
-- 2. Replace YOUR_ASSET_ID below
-- 3. Put this LocalScript in StarterPlayer > StarterPlayerScripts

local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Players = game:GetService("Players")

local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

local HOTSPOT_X = 44
local HOTSPOT_Y = 0
local CURSOR_WIDTH = 128
local CURSOR_HEIGHT = 128

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "CustomCursorGui"
screenGui.ResetOnSpawn = false
screenGui.IgnoreGuiInset = true
screenGui.DisplayOrder = 999999
screenGui.Parent = playerGui

local cursor = Instance.new("ImageLabel")
cursor.Name = "CustomCursor"
cursor.BackgroundTransparency = 1
cursor.Size = UDim2.fromOffset(CURSOR_WIDTH, CURSOR_HEIGHT)
cursor.Image = "rbxassetid://YOUR_ASSET_ID"
cursor.ZIndex = 999999
cursor.Parent = screenGui

UserInputService.MouseIconEnabled = false

RunService.RenderStepped:Connect(function()
    local mouseLocation = UserInputService:GetMouseLocation()
    cursor.Position = UDim2.fromOffset(mouseLocation.X - HOTSPOT_X, mouseLocation.Y - HOTSPOT_Y)
end)
100% Grátis

Obtenha a extensão Cursor Changer

Gratuito para o Chrome. Instale uma vez e depois clique em Adicionar em qualquer cursor que você gostar.

Instalar no Chrome