Free Svelte icons
152 icons for Svelte 5 and SvelteKit in outline, solid, duotone and two-tone, rounded or sharp. Tree-shakeable and MIT licensed.
Install
npm i @uv-foundry/icons-svelteAlso works with pnpm, yarn and bun.
Use
<script>
import { Icon, HomeIcon, BellOffIcon } from '@uv-foundry/icons-svelte';
</script>
<Icon icon={HomeIcon} />
<Icon icon={HomeIcon} variant="solid" corner="sharp" size={16} />
<Icon icon={BellOffIcon} variant="duotone" class="text-red-600" />
<Icon icon={HomeIcon} title="Home" />SvelteKit
Server-renders with SvelteKit out of the box. Requires Svelte 5.20 or later.
Options
| Prop | Values | Default |
|---|---|---|
variant | stroke, solid, duotone, twotone | stroke |
corner | rounded, sharp | rounded |
size | pixels | 24 |
strokeWidth | 1 to 2 | adapts to size: 2.25 at 16px, 1.8 at 20px, 1.5 at 24px |
color | any CSS colour | currentColor |
title | accessible label | none (hidden from screen readers) |
All 152 icons
Click an icon for its component name, SVG code and every style. Using an AI coding tool? Connect the MCP server and it finds the right icon names for you.
- home
- search
- user
- bell
- calendar
- heart
- lock
- trash
- message
- camera
- folder
- plus
- minus
- close
- check
- chevron-left
- chevron-right
- chevron-up
- chevron-down
- arrow-left
- arrow-right
- arrow-up
- arrow-down
- menu
- more
- filter
- download
- upload
- share
- link
- edit
- copy
- eye
- star
- bookmark
- image
- play
- pause
- smartphone
- map-pin
- globe
- clock
- cart
- credit-card
- info-circle
- alert-triangle
- check-circle
- sliders
- currency-aed
- settings
- log-out
- log-in
- refresh
- undo
- redo
- external-link
- grid
- list
- layers
- bar-chart
- trending-up
- pie-chart
- file
- file-text
- clipboard
- inbox
- send
- video
- mic
- volume
- volume-off
- music
- headphones
- wifi
- battery
- monitor
- laptop
- cloud
- sun
- moon
- zap
- gift
- tag
- wallet
- receipt
- shopping-bag
- package
- users
- user-plus
- shield
- key
- unlock
- eye-off
- flag
- sparkles
- bot
- compass
- x-circle
- help-circle
- code
- terminal
- git-branch
- git-commit
- git-merge
- database
- server
- cpu
- cloud-upload
- cloud-download
- banknote
- coins
- percent
- calculator
- currency-sar
- currency-eur
- landmark
- trending-down
- store
- truck
- barcode
- ticket
- gem
- crown
- activity
- heart-pulse
- pill
- thermometer
- plus-square
- at-sign
- hash
- paperclip
- mail-open
- calendar-check
- calendar-plus
- map
- navigation
- target
- maximize
- minimize
- zoom-in
- zoom-out
- arrow-up-down
- plus-circle
- minus-circle
- toggle-left
- bell-off
- mic-off
- video-off
- wifi-off
- cloud-off
- umbrella
Questions
- Does it work with SvelteKit?
- Yes. Icons server-render and hydrate with SvelteKit with no setup.
- Which Svelte version do I need?
- Svelte 5.20 or later. The package uses runes.
- Why is there one Icon component?
- You pass the icon data to a single Icon component, which keeps the package small and tree-shakeable: only the icon data you import is bundled.
- How do I colour the icons?
- Icons use currentColor, so they follow the text colour. Use a class or the color prop.