{"id":18084325,"url":"https://github.com/api3dao/logos","last_synced_at":"2026-02-16T22:16:02.092Z","repository":{"id":209040657,"uuid":"723049069","full_name":"api3dao/logos","owner":"api3dao","description":"API3 logos package","archived":false,"fork":false,"pushed_at":"2025-04-10T23:25:32.000Z","size":8511,"stargazers_count":4,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T20:06:11.282Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://api3dao.github.io/logos/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/api3dao.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-24T14:57:58.000Z","updated_at":"2025-04-10T15:40:38.000Z","dependencies_parsed_at":"2024-02-05T09:24:53.714Z","dependency_job_id":"600ef521-27dc-4800-8ed3-bc14c3a1b322","html_url":"https://github.com/api3dao/logos","commit_stats":null,"previous_names":["api3dao/react-icons","api3dao/logos"],"tags_count":114,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api3dao%2Flogos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api3dao%2Flogos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api3dao%2Flogos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api3dao%2Flogos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/api3dao","download_url":"https://codeload.github.com/api3dao/logos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248625493,"owners_count":21135513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-31T15:06:31.020Z","updated_at":"2026-01-08T13:12:42.844Z","avatar_url":"https://github.com/api3dao.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Getting started\n\n## Installation\n\n```bash\npnpm add @api3/logos\nnpm i @api3/logos\nyarn add @api3/logos\n```\n\n## Usage\n\n### React\n\n```js\nimport { ChainLogo, SymbolLogo, ApiProviderLogo } from '@api3/logos';\n\n\u003cdiv\u003e\n    \u003cimg src={ChainLogo('43114')} width={50} height={50} alt=\"43114\" /\u003e\n    \u003cimg src={SymbolLogo('BTC')} width={50} height={50} alt=\"BTC\" /\u003e\n    \u003cimg src={ApiProviderLogo('nodary')} width={50} height={50} alt=\"nodary\" /\u003e\n\u003c/div\u003e;\n```\n\n### HTML\n\n```html\n\n\u003ctemplate\u003e\n    \u003cdiv\u003e\n        \u003cimg src={ChainLogo('43114')} width={50} height={50} alt='43114' /\u003e\n        \u003cimg src={SymbolLogo('BTC')} width={50} height={50} alt='BTC' /\u003e\n        \u003cimg src={ApiProviderLogo('nodary')} width={50} height={50} alt='nodary' /\u003e\n    \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\nimport { ChainLogo, SymbolLogo, ApiProviderLogo } from '@api3/logos';\n\nexport default {\n...\nmethods: {\n    getSymbolLogo(symbol) {\n      return SymbolLogo(symbol);\n    },\n    getChainLogo(chainId) {\n      return ChainLogo(chainId);\n    },\n    getApiProviderLogo(apiProvider) {\n      return ApiProviderLogo(apiProvider);\n    },\n}\n...\n}\n\u003c/script\u003e\n```\n\n## API\n\n`light` prop is optional and defaults to `false` (dark theme). `light = true` will return the light theme logo.\n\n### ChainLogo\n\n| Prop  | Type    | Description |\n| ----- | ------- | ----------- |\n| id    | string  | Chain id    |\n| light | boolean | Light theme |\n\n### SymbolLogo\n\n| Prop  | Type    | Description |\n| ----- | ------- | ----------- |\n| id    | string  | Symbol id   |\n| light | boolean | Light theme |\n\n### ApiProviderLogo\n\n| Prop  | Type    | Description |\n| ----- | ------- | ----------- |\n| id    | string  | ApiProvider |\n| light | boolean | Light theme |\n\n## Visit\n\nLive demo at [https://api3dao.github.io/logos](https://api3dao.github.io/logos)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapi3dao%2Flogos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapi3dao%2Flogos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapi3dao%2Flogos/lists"}