Socket
Book a DemoInstallSign in
Socket

@asphalt-react/icontuner

Package Overview
Dependencies
Maintainers
6
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@asphalt-react/icontuner

Icontuner

latest
npmnpm
Version
2.8.1
Version published
Maintainers
6
Created
Source

Icontuner

npm npm version

Icontuner can tune the size and intent of any icon from @asphalt-react/iconpack. Use Icontuner to modify icons that are part of content, for example, to show an icon with "warning" intent when a feature is deprecated, or use a "brand" intent when the icon appears in a hero section.

Supported intents:

  • warning
  • danger
  • info
  • success
  • muted
  • brand
  • disabled
  • primary
  • secondary
  • invalid
  • inverse

Usage

import { Icontuner } from "@asphalt-react/icontuner
import { Trash } from "@asphalt-react/iconpack

<IconTuner>
   <Trash/>
</IconTuner>

Props

children

Icon from @asphalt-react/iconpack.

typerequireddefault
nodetrueN/A

size

Size of the icon. accepts xxs, xs, s, m, l, xl, xxl.

typerequireddefault
enumfalse"m"

danger

Applies danger intent color to icon.

typerequireddefault
boolfalsefalse

warning

Applies warning intent color to icon.

typerequireddefault
boolfalsefalse

info

Applies info intent color to icon.

typerequireddefault
boolfalsefalse

success

Applies success intent color to icon.

typerequireddefault
boolfalsefalse

muted

Applies muted intent color to icon.

typerequireddefault
boolfalsefalse

brand

Applies brand intent color to icon.

typerequireddefault
boolfalsefalse

disabled

Applies disabled intent color to icon.

typerequireddefault
boolfalsefalse

primary

Applies primary intent color to icon.

typerequireddefault
boolfalsefalse

secondary

Applies secondary intent color to icon.

typerequireddefault
boolfalsefalse

invalid

Applies invalid intent color to icon.

typerequireddefault
boolfalsefalse

inverse

Applies inverse intent color to icon.

typerequireddefault
boolfalsefalse

resize

Resizes icon.

typerequireddefault
boolfalsetrue

Keywords

asphalt

FAQs

Package last updated on 10 Sep 2025

Did you know?

Socket

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.

Install

Related posts