assets lets you look up Discord’s bundled images and icons by name. At startup it indexes every bundled asset by name, so you can ask for 'ChatIcon' and get the correct id for the current build.Discord ships each image and icon as a Metro module that exports a numeric id, and the app resolves that id into an image. Components that render an icon take the id. Ids change between Discord versions, so a hardcoded id is unreliable.
Look up an asset by name and type (png or svg). The type defaults to png.
import { assets } from '@unbound-app/api';const icon = assets.getByName('ChatIcon'); // full asset recordconst id = assets.getIDByName('ChatIcon'); // just the idconst byId = assets.getByID(id); // back the other way
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Unbound","colors":{"primary":"#c74050","light":"#c74050","dark":"#c74050"},"logo":{"light":"https://mintcdn.com/eternal/WYMTYR4nXSwGw7NX/logo/light.svg?fit=max\u0026auto=format\u0026n=WYMTYR4nXSwGw7NX\u0026q=85\u0026s=440b92dafc3e9b2bcca7696084a930ad","dark":"https://mintcdn.com/eternal/WYMTYR4nXSwGw7NX/logo/dark.svg?fit=max\u0026auto=format\u0026n=WYMTYR4nXSwGw7NX\u0026q=85\u0026s=fc16fd5f3d396b11a61067772bcce535"},"favicon":"https://mintcdn.com/eternal/WYMTYR4nXSwGw7NX/logo/dark.svg?fit=max\u0026auto=format\u0026n=WYMTYR4nXSwGw7NX\u0026q=85\u0026s=fc16fd5f3d396b11a61067772bcce535","api":{"mdx":{"auth":{"method":"bearer"}}},"appearance":{"default":"dark","strict":true},"background":{"decoration":"grid","color":{"light":"#fcfcfc","dark":"#0c0c0c"}},"footer":{"socials":{"x":"https://twitter.com/UnboundClient","github":"https://github.com/unbound-app","discord":"https://discord.gg/unbound"}},"search":{"prompt":"Search documentation..."},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Discord Community","icon":"discord","href":"https://discord.gg/unbound"},{"anchor":"GitHub","icon":"github","href":"https://github.com/unbound-app"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"eternal","hasAudioNarration":false,"actualSubdomain":"eternal","customDomains":["docs.unbound.rip"],"gitSource":{"type":"github","owner":"marioparaschiv","repo":"unbound","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae3a15fac183a8709c48ee3","collectionId":"97161a57-f001-4f5e-b313-5a51bfef7d52","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae3a15fac183a8709c48ee3"},"feedback":{"edits":true,"issues":true},"entitlements":{},"buildId":"6ae3a15fac183a8709c48ee3","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"Developer Guide","count":32},{"language":"default","tag":"API Reference","count":14},{"language":"default","tag":"User Guide","count":12},{"language":"default","tag":"Using Unbound","count":6},{"language":"default","tag":"Loader","count":5},{"language":"default","tag":"Interface","count":4},{"language":"default","tag":"Get Started","count":4},{"language":"default","tag":"Addons","count":3},{"language":"default","tag":"Development","count":3},{"language":"default","tag":"Data \u0026 Files","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"modules/assets","slug":"/modules/assets","pageMetadata":{"title":"Assets","description":"Discover Discord's bundled images and icons by name instead of hardcoding ids.","icon":"face-smile","href":"/modules/assets"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Discover Discord’s bundled images and icons by name instead of hardcoding ids.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`what-are-assets`,children:`What are assets?`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`assets`}),` lets you look up Discord’s bundled images and icons by name. At startup it indexes every bundled asset by name, so you can ask for `,_jsx(_components.code,{children:`'ChatIcon'`}),` and get the correct id for the current build.`]}),`\n`,_jsx(_components.p,{children:`Discord ships each image and icon as a Metro module that exports a numeric id, and the app resolves that id into an image. Components that render an icon take the id. Ids change between Discord versions, so a hardcoded id is unreliable.`}),`\n`,_jsx(Heading,{level:`3`,id:`looking-up-assets`,children:`Looking up assets`}),`\n`,_jsxs(_components.p,{children:[`Look up an asset by name and type (`,_jsx(_components.code,{children:`png`}),` or `,_jsx(_components.code,{children:`svg`}),`). The type defaults to `,_jsx(_components.code,{children:`png`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`assets`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@unbound-app/api'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` icon`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` assets`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getByName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'ChatIcon'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// full asset record`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` assets`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getIDByName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'ChatIcon'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// just the id`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` byId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` assets`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getByID`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// back the other way`})]}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Function`}),_jsx(_components.th,{children:`Returns`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`getByName(name, type?)`})}),_jsx(_components.td,{children:`The asset record`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`getIDByName(name, type?)`})}),_jsx(_components.td,{children:`The asset’s numeric id`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`getByID(id)`})}),_jsx(_components.td,{children:`The asset record for an id`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`getAll()`})}),_jsx(_components.td,{children:`Every indexed asset`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`find(predicate)`})}),_jsx(_components.td,{children:`The first asset matching a predicate`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`the-icons-proxy`,children:`The Icons proxy`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`assets.Icons`}),` is a shortcut for the common case of turning a name into an id. Reading any property on it returns the id for that name.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Icons`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@unbound-app/api/assets'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Icons.ChatIcon === assets.getIDByName('ChatIcon')`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Image`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` source`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Icons`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ChatIcon`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Icons`}),` is shorthand for `,_jsx(_components.code,{children:`getIDByName`}),`. Use it when you want an id inline. Use `,_jsx(_components.code,{children:`getByName`}),` when you need the full record (name, type, dimensions).`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Assets","description":"Discover Discord's bundled images and icons by name instead of hardcoding ids.","icon":"face-smile","href":"/modules/assets"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What are assets?","slug":"what-are-assets","depth":3,"children":[]},{"title":"Looking up assets","slug":"looking-up-assets","depth":3,"children":[]},{"title":"The Icons proxy","slug":"the-icons-proxy","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"eternal","siteName":"Unbound","title":"Assets - Unbound","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-13T10:06:22.121Z","originalFileLocation":"modules/assets.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Discover Discord\u0026#x27;s bundled images and icons by name instead of hardcoding ids.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Unbound\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/eternal/epz85gcrxS6sZ5iq/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/eternal/epz85gcrxS6sZ5iq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/eternal/epz85gcrxS6sZ5iq/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/eternal/epz85gcrxS6sZ5iq/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/eternal/epz85gcrxS6sZ5iq/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/eternal/epz85gcrxS6sZ5iq/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/eternal/epz85gcrxS6sZ5iq/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/eternal/epz85gcrxS6sZ5iq/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/eternal/epz85gcrxS6sZ5iq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Assets - Unbound\">\u003cmeta data-mint-head property=\"og:description\" content=\"Discover Discord\u0026#x27;s bundled images and icons by name instead of hardcoding ids.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Unbound\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.unbound.rip/modules/assets\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://eternal.mintlify.app/_mintlify/api/og/v2?division=Data+%26+Files\u0026amp;title=Assets\u0026amp;description=Discover+Discord%27s+bundled+images+and+icons+by+name+instead+of+hardcoding+ids.\u0026amp;theme=9162ba9ad2dc7f2247c4722a\u0026amp;signature=1ca204db3b0f0be4fc469f1c9ccadda7f5e91633b8c6135181bf5dabb541b4a7\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Assets - Unbound\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Discover Discord\u0026#x27;s bundled images and icons by name instead of hardcoding ids.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://eternal.mintlify.app/_mintlify/api/og/v2?division=Data+%26+Files\u0026amp;title=Assets\u0026amp;description=Discover+Discord%27s+bundled+images+and+icons+by+name+instead+of+hardcoding+ids.\u0026amp;theme=9162ba9ad2dc7f2247c4722a\u0026amp;signature=1ca204db3b0f0be4fc469f1c9ccadda7f5e91633b8c6135181bf5dabb541b4a7\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/eternal/epz85gcrxS6sZ5iq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Unbound\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#c74050\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.unbound.rip/modules/assets\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/modules/assets.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.unbound.rip/#organization\",\"name\":\"Unbound\",\"url\":\"https://docs.unbound.rip\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/eternal/WYMTYR4nXSwGw7NX/logo/light.svg?fit=max\u0026auto=format\u0026n=WYMTYR4nXSwGw7NX\u0026q=85\u0026s=440b92dafc3e9b2bcca7696084a930ad\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.unbound.rip#website\",\"name\":\"Unbound\",\"url\":\"https://docs.unbound.rip\",\"publisher\":{\"@id\":\"https://docs.unbound.rip/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.unbound.rip/modules/assets#webpage\",\"url\":\"https://docs.unbound.rip/modules/assets\",\"name\":\"Assets\",\"description\":\"Discover Discord's bundled images and icons by name instead of hardcoding ids.\",\"dateModified\":\"2026-10-13T10:06:22.121Z\",\"isPartOf\":{\"@id\":\"https://docs.unbound.rip#website\"},\"breadcrumb\":{\"@id\":\"https://docs.unbound.rip/modules/assets#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.unbound.rip/modules/assets#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.unbound.rip/modules/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Data \u0026 Files\",\"item\":\"https://docs.unbound.rip/modules/storage\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Assets\",\"item\":\"https://docs.unbound.rip/modules/assets\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.unbound.rip/modules/assets#article\",\"headline\":\"Assets\",\"name\":\"Assets\",\"description\":\"Discover Discord's bundled images and icons by name instead of hardcoding ids.\",\"url\":\"https://docs.unbound.rip/modules/assets\",\"mainEntityOfPage\":{\"@id\":\"https://docs.unbound.rip/modules/assets#webpage\"},\"dateModified\":\"2026-10-13T10:06:22.121Z\",\"publisher\":{\"@id\":\"https://docs.unbound.rip/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.unbound.rip#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Unbound\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Unbound","nav":{"global":{"anchors":[{"anchor":"Discord Community","icon":"discord","href":"https://discord.gg/unbound"},{"anchor":"GitHub","icon":"github","href":"https://github.com/unbound-app"}]},"tabs":[{"tab":"User Guide","icon":"user","pages":[{"title":"User Guide","href":"/overview"}]},{"tab":"Developer Guide","icon":"code","groups":[{"group":"Addons","icon":"puzzle-piece","pages":[{"title":"Introduction","icon":"puzzle-piece","href":"/addons/introduction"},{"title":"Creating an Addon","icon":"wand-magic-sparkles","href":"/addons/creating"},{"title":"The Manifest","icon":"circle-info","href":"/addons/manifest"}]},{"group":"Plugins","icon":"plug","pages":[{"title":"Introduction","icon":"plug","href":"/plugins/introduction"},{"title":"Patching Components","icon":"react","href":"/plugins/react-patching"},{"title":"Flux Stores","icon":"box","href":"/plugins/flux"}]},{"group":"Themes","icon":"paintbrush","pages":[{"title":"Introduction","icon":"paintbrush","href":"/themes/introduction"},{"title":"Theme Types","icon":"palette","href":"/themes/types"},{"title":"Backgrounds","icon":"image","href":"/themes/backgrounds"}]},{"group":"Icon Packs","icon":"icons","pages":[{"title":"Introduction","icon":"icons","href":"/icon-packs/introduction"}]},{"group":"Development","icon":"code","pages":[{"title":"Debugging","icon":"bug","href":"/development/debugging"},{"title":"CLI","icon":"terminal","href":"/development/cli"},{"title":"Local Builds","icon":"network-wired","href":"/development/local-builds"}]},{"group":"API Reference","icon":"folder-tree","pages":[{"title":"Introduction","icon":"folder-tree","href":"/modules/introduction"},{"group":"Modifying Discord","icon":"discord","pages":[{"title":"Metro","icon":"box-taped","href":"/modules/metro"},{"title":"Components","icon":"code","href":"/modules/components"},{"title":"Patcher","icon":"object-subtract","href":"/modules/patcher"}]},{"group":"Data \u0026 Files","icon":"hard-drive","pages":[{"title":"Storage","icon":"database","href":"/modules/storage"},{"title":"File System","description":"Read, write, and check files against the documents directory.","icon":"folder","href":"/modules/fs"},{"title":"Assets","icon":"face-smile","href":"/modules/assets"}]},{"group":"Interface","icon":"window-maximize","pages":[{"title":"Settings","description":"Register your own screens in Discord's settings navigation.","icon":"sliders","href":"/modules/settings"},{"title":"Toasts","icon":"bells","href":"/modules/toasts"},{"title":"Commands","icon":"square-terminal","href":"/modules/commands"},{"title":"i18n","icon":"globe","href":"/modules/i18n"}]},{"group":"Runtime","icon":"microchip","pages":[{"title":"Managers","icon":"layer-group","href":"/modules/managers"},{"title":"Native","icon":"file-code","href":"/modules/native"},{"title":"Utilities","icon":"wrench","href":"/modules/utilities"}]}]},{"group":"Loader","icon":"arrow-right-to-bracket","pages":[{"title":"Introduction","icon":"loader","href":"/loader/introduction"},{"title":"iOS","icon":"apple","href":"/loader/ios"},{"title":"Android","icon":"android","href":"/loader/android"},{"title":"Configuration","icon":"gear","href":"/loader/configuration"},{"title":"Settings Reference","icon":"sliders","href":"/loader/settings"}]}]}]},"title":"Assets - Unbound","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":[],"chunks":[]}