Icon

One SVG file per icon, inlined at build time so a page only carries the icons it uses. Icons inherit the text color, so they theme with the surrounding text.

UI icons

24×24 grid, filled shapes. 19 icons.

accessibility
arrow-left
arrow-right
bolt
checkmark
chevron-down
craftsmanship
devices
dribbble
expand
experience
instagram
linkedin
rocket
theme-dark
theme-light
theme-system
user
x

Service icons

80×80, one per service. Unlike UI icons they don’t follow the text color or the theme: each is a fixed color.gold.600 tile with white lines and color.gold.200 accents, which reads on both light and dark pages. Containers crop them to a circle, so keep the artwork inside the middle ~58px.

branding
ui-ux-design
web-development

Usage

UI and service icons use the same component. Each renders at its own size by default: 24px for UI icons, 80px for service icons.

---
import Icon from '../components/Icon.astro';
---
<Icon name="arrow-right" />   <!-- UI icon, 24px -->
<Icon name="web-development" /> <!-- Service icon, 80px -->

Size

Pass size to scale a UI icon. Any CSS length works; 1em matches the surrounding text.

<Icon name="arrow-right" size={16} />
<Icon name="arrow-right" />              <!-- 24px default -->
<Icon name="arrow-right" size="2rem" />
<Icon name="arrow-right" size={48} />

Color and background

Pass color to fill a UI icon with a semantic color. Add bg to set it in a circle of the matching background: brand gets color.bg.brand, positive gets color.bg.positive, negative gets color.bg.negative. The background is always a circle, and size sets its diameter.

<Icon name="checkmark" color="brand" />
<Icon name="checkmark" color="brand" bg />
<Icon name="checkmark" color="positive" bg />
<Icon name="checkmark" bg size="2.5rem" />

Props

PropTypeDefaultNotes
namestring—File name in src/icons, without .svg
sizestring | numberviewBox widthWidth and height; any CSS length. 24 for UI icons, 80 for service icons. With bg, the circle’s diameter
color'brand' | 'positive' | 'negative'—Fills with color.fill.<color>. Without it the icon follows the text color
bgbooleanfalseSets the icon in a circle filled with color.bg.<color> (color.bg.secondary without a color). The glyph sits at 2/3 of the circle
classstring—Extra classes