diff --git a/api/top-langs.js b/api/top-langs.js
index 23fddbc..840f88b 100644
--- a/api/top-langs.js
+++ b/api/top-langs.js
@@ -20,6 +20,7 @@ module.exports = async (req, res) => {
bg_color,
theme,
cache_seconds,
+ layout
} = req.query;
let topLangs;
@@ -49,6 +50,7 @@ module.exports = async (req, res) => {
text_color,
bg_color,
theme,
+ layout
})
);
};
diff --git a/readme.md b/readme.md
index 8c31f4e..0f89061 100644
--- a/readme.md
+++ b/readme.md
@@ -125,6 +125,7 @@ Customization Options:
| theme | string | sets inbuilt theme | 'default' | 'default_repocard' | 'default |
| cache_seconds | number | manually set custom cache control | 1800 | 1800 | '1800' |
| count_private | boolean | counts private contributions too if enabled | false | N/A | N/A |
+| layout | string | choose a layout option | N/A | N/A | "default" |
> Note on cache: Repo cards have default cache of 30mins (1800 seconds) if the fork count & star count is less than 1k otherwise it's 2hours (7200). Also note that cache is clamped to minimum of 30min and maximum of 24hours
@@ -176,10 +177,22 @@ You can use `?hide=language1,language2` parameter to hide individual languages.
[](https://github.com/anuraghazra/github-readme-stats)
```
+### Compact Language Card Layout
+
+You can use the `&layout=compact` option to change the card design.
+
+```md
+[](https://github.com/anuraghazra/github-readme-stats)
+```
+
### Demo
[](https://github.com/anuraghazra/github-readme-stats)
+- Compact layout
+
+[](https://github.com/anuraghazra/github-readme-stats)
+
---
### All Demos
diff --git a/src/renderTopLanguages.js b/src/renderTopLanguages.js
index ae07cf1..e3c290c 100644
--- a/src/renderTopLanguages.js
+++ b/src/renderTopLanguages.js
@@ -11,11 +11,11 @@ const createProgressNode = ({ width, color, name, progress }) => {
${progress}%