Skip to main content

Icon Element

The Icon element displays Font Awesome icons. Use icons to enhance visual communication, add branding, and improve user experience.

Overview​

PropertyValue
Element Typeicon
Can Contain ChildrenNo
Icon LibraryFont Awesome 6

Use Cases​

  • Feature indicators
  • Visual accents
  • Social media links
  • Navigation hints
  • Status indicators
  • Decorative elements

Content Settings​

Icon Selection​

Choose from Font Awesome 6 icons:

Icon Styles:

StyleDescriptionExample
SolidFilled iconsfa-solid fa-star
RegularOutlined iconsfa-regular fa-star
BrandsBrand logosfa-brands fa-github

Popular Icons:

  • check — Checkmark
  • star — Star
  • heart — Heart
  • arrow-right — Arrow
  • envelope — Email
  • phone — Phone
  • location-dot — Location
  • clock — Time
  • user — User
  • gift — Gift/offer

Make the icon clickable:

PropertyDescription
URLLink destination
TargetSame window or new window

Size Settings​

Icon Size​

Set the icon size:

PresetSize
Extra Small12px
Small16px
Medium24px
Large32px
Extra Large48px
CustomAny pixel value
Responsive Sizing

Use device-specific sizes for optimal display across screens.

Color Settings​

Icon Color​

Set the icon color:

Color: #4F46E5

Common approaches:

  • Brand color for consistency
  • High contrast for visibility
  • Muted for subtle accents

Hover Color​

Color when mouse hovers (for linked icons):

Hover Color: #4338CA

Background Settings​

Background Shape​

Add a background shape:

ShapeDescription
NoneNo background
CircleCircular background
SquareSquare background
Rounded SquareRounded corners

Background Color​

Fill color for the shape:

Background: #EEF2FF

Background Size​

Size of the background shape relative to icon.

Border Settings​

Border​

Add border around icon or background:

PropertyDescription
WidthBorder thickness
ColorBorder color
StyleSolid, dashed, dotted

Border Radius​

For custom corner rounding.

Effects​

Shadow​

Add shadow to icon or background:

Shadow: 0 2px 4px rgba(0,0,0,0.1)

Rotation​

Rotate the icon:

ValueResult
0degNormal
90degRotated right
180degUpside down
-90degRotated left

Animation​

Animate the icon:

AnimationDescription
NoneStatic
SpinContinuous rotation
PulsePulsing effect
BeatHeartbeat effect
BounceBouncing effect

Layout Settings​

Alignment​

Position the icon:

OptionDescription
LeftAlign to left
CenterCenter horizontally
RightAlign to right

Margin​

Space around the icon.

Padding​

Space inside icon container.

Advanced Settings​

HTML ID​

Custom ID for targeting.

CSS Classes​

Add Font Awesome modifier classes:

ClassEffect
fa-flip-horizontalFlip horizontally
fa-flip-verticalFlip vertically
fa-rotate-90Rotate 90°
fa-fwFixed width

Examples​

Feature Checkmark​

Icon: fa-solid fa-check

Settings:

  • Size: 20px
  • Color: #22c55e (green)
  • Background: Circle
  • Background Color: #dcfce7
  • Background Size: 32px

Social Media Icon​

Icon: fa-brands fa-twitter

Settings:

Notification Bell​

Icon: fa-solid fa-bell

Settings:

  • Size: 18px
  • Color: #f59e0b
  • Animation: Bounce

Arrow Indicator​

Icon: fa-solid fa-arrow-right

Settings:

  • Size: 14px
  • Color: #4F46E5
  • Margin Left: 8px (inline with text)

Close X Icon​

Icon: fa-solid fa-xmark

Settings:

  • Size: 16px
  • Color: #64748b
  • Hover Color: #334155
  • Link: (Close Popup action)

Icon + Text Patterns​

Feature List Item​

✓ Unlimited popups

Layout:

  1. Icon (checkmark)
  2. Text element
[Twitter] [Facebook] [Instagram]

Layout: Section with columns, icon in each.

Best Practices​

  1. Consistent sizing — Use same size for related icons
  2. Meaningful icons — Icons should aid understanding
  3. Color harmony — Match your design palette
  4. Touch targets — Make clickable icons at least 44px
  5. Accessibility — Add aria-label for screen readers
  6. Don't overuse — Icons should enhance, not clutter

Finding Icons​

Browse Font Awesome icons at fontawesome.com/icons

Search tips:

  • Use descriptive terms
  • Check different styles (solid, regular, brands)
  • Preview at your target size
  • Button — Buttons with icons
  • Text — Text alongside icons
  • Image — For custom graphics