Skip to content

Accessibility: Full

Translations: Not Needed

Migration Guide: Not Needed

Icon

Icon wrapper.

Basic Usage

Vue
html
<template>
  <HLIcon id="example-icon" size="28" color="#26a6a6"><UserPlus01Icon /></HLIcon>
</template>

<script setup lang="ts">
  import { HLIcon } from '@platform-ui/highrise'
  import { UserPlus01Icon } from '@gohighlevel/ghl-icons/24/outline'
</script>

Imports

ts
import { HLIcon } from '@platform-ui/highrise'
import { UserPlus01Icon } from '@gohighlevel/ghl-icons/24/outline'

Props

NameTypeDefaultDescription
id *string | undefinedundefinedThe unique identifier of the element
sizestring | number'16'Icon size.
colorstring | undefinedundefinedIcon color.
Accepts hex ('#FFF'), RGB/RGBA ('rgb(255, 0, 0)'), CSS colors ('red'), or CSS variables ('var(--primary-500)')

Slots

NameParametersDescription
default()The default slot