To display your LeetCode stats on your GitHub profile or site, simply paste the following URL into your profile's README file and replace username with your actual LeetCode username
(e.g., iyehah).
![Stats](https://leetcode-status.vercel.app/api/iyehah?theme=transparent&logo=true&custom_title=Iyehah%20Hacen&logo_color=theme)
Alternatively, you can use the tag:
<img src="https://leetcode-status.vercel.app/api/iyehah?theme=transparent&logo=true&custom_title=Iyehah%20Hacen&logo_color=theme"/>
Choose from the available themes to match your profile's style:
Name | Card Preview | Graph Preview |
---|---|---|
light (Default) | ||
dark | ||
transparent |
You can customize the appearance of your stats graph using various URL parameters.
Argument | Description | Value Type |
---|---|---|
border |
Show or hide the border | boolean (default: true ) |
hide_title |
Show or hide the title | boolean (default: false ) |
custom_title |
Set a custom title text | string |
logo |
Show or hide the logo | boolean (default: true ) |
logo_color |
Set the logo color (default , theme , or your custom color) |
string (default: default ) |
animation |
Enable or disable animation | boolean (default: true ) |
animation_duration |
Set animation duration time | string (default: 2s ) |
theme |
Set the theme (e.g., dark ,light ,transparent ) |
string (default: light ) |
![Stats](https://leetcode-status.vercel.app/api/iyehah?theme=transparent&logo=true&custom_title=Iyehah%20Hacen&logo_color=%2300FF00)
- For
custom_title
, use%20
for spaces (e.g., Iyehah%20Hacen).- For
logo_color
, use%23
for the # symbol in hex codes (e.g., %2300712D for dark green).