coinbase / coinbase/onchainkit

Feature Request: Chain icons and ChainDropdown component

Open
#573 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1k
Forks
520
Avg merge
32m
Merged PRs (30d)
2

Description

This example is from Uniswap and is very common for multi-chain and defi. I know we are Base-first and all, but I would personally have benefitted in apps prior to even just have icons for chains at my fingertips. It's annoying to find the exact brand asset and copy it into my codebase. I also have always made a `` component that automatically shows the right icon for a specific `chainId`.

![image](https://github.com/coinbase/onchainkit/assets/38736612/2e702e95-24ce-4745-91d5-a0e77420c4d3)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the existing React component library and the proposed ChainIcon and ChainDropdown components. Determine which chain icons and chainId behaviors are in scope from the issue, then identify how completion should be verified, since no files, tests, or exact supported-chain list are provided.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.