File Tree Icons

These icons are used by the file tree component to represent different file types and tools.

Overview

The Icon component renders SVG icons from a built-in icon set. Icons are used throughout the framework in headers, social links, navigation, and content notices.

Props

PropTypeDescription
namestringIcon identifier from the built-in set
labelstringAccessible label (renders as aria-label)
colorstringCSS color value
sizestringCSS size value (width and height)

These icons are used in navigation and directional UI:

Icon NameUsage
up-caretCollapsible sections
down-caretDropdown menus
right-caretSidebar expand
left-caretBack navigation
up-arrowScroll to top
down-arrowScroll down indicator
right-arrowForward, next page
left-arrowBack, previous page

Action Icons

Icon NameUsage
pencilEdit actions
penEdit page link
documentFile/page reference
add-documentCreate new page
settingSettings/configuration
externalExternal links
downloadDownload actions
cloud-downloadCloud download
copyCopy to clipboard
translateLanguage/i18n

UI Icons

Icon NameUsage
barsHamburger menu
closeClose/dismiss
magnifierSearch
forward-slashSearch shortcut hint

Theme Icons

Icon NameUsage
moonDark theme
sunLight theme
laptopAuto/system theme

Status Icons

Icon NameUsage
informationInfo notices
warningWarning notices
errorError/danger notices
approve-checkSuccess/check
approve-check-circleSuccess (circled)
questionHelp/unknown
question-circleHelp (circled)

Content Icons

Icon NameUsage
rocketGetting started
starFeatured/favorites
puzzlePlugins/extensions
open-bookDocumentation
notesNotes/guides
code-branchGit/version control
list-formatLists/formatting
commentComments
comment-altAlternative comments
heartFavorites/likes

Device Icons

Icon NameUsage
clockTime/scheduling
desktopDesktop view
mobile-androidMobile view
windowWindow/browser
databaseData storage
serverServer/hosting
padlockSecurity/auth

Social & Brand Icons

Icon NameUsage
githubGitHub
gitlabGitLab
bitbucketBitbucket
discordDiscord
twitterTwitter
x.comX (formerly Twitter)
mastodonMastodon
youtubeYouTube
linkedinLinkedIn
twitchTwitch
instagramInstagram
facebookFacebook
redditReddit
telegramTelegram
slackSlack
codePenCodePen
codebergCodeberg
threadsThreads
blueSkyBluesky
stackOverflowStack Overflow
rssRSS feed
emailEmail
phonePhone
signalSignal
matrixMatrix
patreonPatreon
farcasterFarcaster
gitterGitter
azureDevOpsAzure DevOps
microsoftTeamsMicrosoft Teams
openCollectiveOpen Collective
hackerOneHackerOne
discourseDiscourse
zulipZulip
pinterestPinterest
tiktokTikTok
googlePlayColorGoogle Play
googlePlayGoogle Play (monochrome)

Technology Icons

Icon NameUsage
astroAstro framework
solidjsSolidJS
alpineAlpine.js
pnpmpnpm package manager
biomeBiome toolchain
mdxMDX format
appleApple/macOS
linuxLinux
homebrewHomebrew
nixNix
starlightStarlight

Usage in Config

Icons are referenced by name in qwik-docs.config.ts for social links:

social: [
  { icon: 'github', label: 'GitHub', href: 'https://github.com/...' },
  { icon: 'discord', label: 'Discord', href: 'https://discord.gg/...' },
  { icon: 'twitter', label: 'Twitter', href: 'https://twitter.com/...' },
]

Usage in Hero Actions

Icons can be added to hero action buttons:

hero:
  actions:
    - text: View Source
      link: https://github.com/...
      icon: github