Documentation Index
Fetch the complete documentation index at: https://docs.brandfetch.com/llms.txt
Use this file to discover all available pages before exploring further.
Query logos by type
const icon = brand.logos.find(({ type }) => type === 'icon')
const logos = brand.logos.filter(({ type }) => type === 'logo')
const symbols = brand.logos.filter(({ type }) => type === 'symbols')
Query logos by theme
const logoDark = brand.logos.find(({ type, theme }) => type === 'logo' && theme === 'dark')
const logoLink = brand.logos.find(({ type, theme }) => type === 'logo' && theme === 'light')
const file = logo.formats.find(({ format }) => format === 'svg')
const priorityList = ['svg', 'webp', 'png', 'jpeg', 'jpg']
const file = priorityList.find(priorityFormat =>
logo.formats.some(({ format }) => format === priorityFormat)
)
API Reference
For more details, refer to our API Reference.