Icons

Icons powered by Phosphor Icons. Use the generic <Icon> component with any Phosphor icon name.

Import

import { Icon } from "@gumtree/ui/icons";

Props

PropTypeDefaultDescription
name*string-Phosphor icon name (e.g. "git-branch", "star")
sizenumber16Icon size in pixels
weight"regular" | "thin" | "light" | "bold" | "fill" | "duotone""bold"Icon weight variant
classstring-Additional CSS classes

Usage

<Icon name="git-branch" size={24} />

Icons

Name16px24px32px48px
git-branch
git-commit
git-merge
git-pull-request
git-fork
book-open
star
circle-dashed
eye
lock
globe
tag
clock
user
users
gear
magnifying-glass
check
x
warning
info
trash
pencil
plus
minus
arrow-right
arrow-left
caret-down
caret-right
file
folder
code
terminal
link
clipboard
bell