Skip to main content

css

get_icon

def get_icon(name: str,
style: IconStyle = 'solid',
size: Optional[IconSize] = None)

Get FontAwesome icon class string. Can be used for components requiring an icon name. The size be any one of the

following:'2xs', 'xs', 'sm', 'lg', 'xl', '2xl', '1x', '2x', '3x', '4x', '5x', '6x', '7x', '8x', '9x', '10x'. Note: only free tier icons are supported.

To find an icon:

1) Navigate to https://fontawesome.com/search?m=free 2) Find the icon you want 3) Fill in name (and optionally style and size)