Logo Icons

Icons

Cộng đồng
laguagu
icons

Tìm, lấy và cài đặt biểu tượng hoặc logo phù hợp từ đúng nguồn — biểu trưng thương hiệu, quốc kỳ, biểu tượng loại tệp (PDF, DOCX, ZIP) và biểu tượng giao diện — đồng thời giữ cho chúng nhất quán về mặt thị giác với ứng dụng. Dùng khi thư viện biểu tượng của dự án không có biểu tượng phù hợp, không tìm thấy kết quả trên svgl hoặc bạn yêu cầu cờ, biểu tượng loại tệp, logo thương hiệu hay chỉ đơn giản là "biểu tượng cho X". Hướng dẫn sử dụng API tìm kiếm Iconify (hơn 200.000 biểu tượng về cờ, loại tệp, logo và giao diện), registry shadcn svgl cho logo thương hiệu đầy màu sắc, cách chọn biểu tượng cùng phong cách và độ dày nét để biểu tượng lấy từ nơi khác không bị lạc quẻ, cũng như cách truy cập svgrepo qua tự động hóa trình duyệt khi curl và WebFetch bị chặn. Kích hoạt với "lisää ikoni", "maan lippu", "flag icon", "PDF icon", "file type icon", "brand logo", "sign in with Google/GitHub", "language switcher", "svgl", "iconify", "find an icon". Nếu cần định hướng tổng thể về giao diện thay vì tìm một biểu trưng cụ thể, hãy dùng ui-signature; nếu cần cài các thành phần shadcn nói chung, hãy dùng shadcn.

Tổng quan

Nhà phát hànhlaguagu
Kho mãclaude-code-nextjs-skills
Tên kỹ năngicons
Sao
64
Bản fork
18
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được laguagu công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Icons trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/laguagu/claude-code-nextjs-skills/tree/main/skills/icons
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/laguagu/claude-code-nextjs-skills.git /tmp/claude-code-nextjs-skills
mkdir -p .claude/skills
cp -r /tmp/claude-code-nextjs-skills/skills/icons .claude/skills/icons
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Icons trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Icons ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Icons với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Sourcing icons

An icon is wrong when it is the wrong family, not when it is the wrong shape. Pick the source by what kind of mark it is, then match it to what the app already uses.

Route by mark type

NeedSourceWhy
App UI glyph (menu, upload, search)project's existing library — Lucide in shadcn projectsnever add a second family for a glyph the current one has
Country flagIconify circle-flags / flag / flagpackreal flag geometry, MIT, no emoji-font dependency
File type (PDF, DOCX, ZIP)Iconify vscode-icons / catppuccin / material-icon-theme (colour), or lucide:file-text (mono)pick colour or mono to match the surrounding UI, not both
Brand logo, full colour, light/dark variantssvglcurated, has wordmarks and theme variants
Tech / infra logo (OpenShift, Docker, Postgres, Redis)Iconify logos (1800+, CC0), devicon, skill-iconssvgl has almost none of these; logos covers the whole stack in colour
Brand logo, monochrome long tailIconify simple-icons (3400+, CC0)covers brands svgl does not
Anything elseIconify search across all sets200k+ icons, one API

Check the project's own library first: lucide:file-text, lucide:flag, lucide:file and friends exist, and one family stays one family.

Iconify — the general engine

Public API, no auth, no key. Search returns prefix:name ids.

bash
# search everything
curl -s "https://api.iconify.design/search?query=pdf&limit=32"

# constrain to sets you actually want (this is the important flag)
curl -s "https://api.iconify.design/search?query=pdf&prefixes=vscode-icons,catppuccin,lucide"

# what is in a set / who owns the licence
curl -s "https://api.iconify.design/collections?prefixes=circle-flags,simple-icons"

# fetch the SVG itself
curl -s "https://api.iconify.design/circle-flags:fi.svg" -o public/flags/fi.svg

Browse visually at https://icon-sets.iconify.design when the user should choose. The collections response carries each set's licence — nearly all of them are permissive; Twemoji is CC BY 4.0 and needs visible attribution, which is the one that costs you something.

Iconify SVGs come out at width="1em" height="1em", and monochrome sets use currentColor — so className="size-4 text-muted-foreground" just works in Tailwind. Colour sets (vscode-icons, circle-flags, twemoji) ignore currentColor by design.

Getting them into the project

Default: write the SVG to a file and inline it. No runtime dependency, no network call, no bundle growth beyond the markup.

bash
curl -s "https://api.iconify.design/vscode-icons:file-type-pdf2.svg" -o components/icons/pdf.svg

Only reach for a package when the project needs dozens of icons from one set:

  • @iconify/react renders <Icon icon="circle-flags:fi" /> but fetches from the Iconify API at runtime — an external request per icon set, on every visitor. Do not ship that to production without saying so; pair it with @iconify-json/<prefix> offline data, or skip it.
  • unplugin-icons + @iconify-json/<prefix> compiles icons in at build time. This is the right choice for a bundler-based project pulling in a whole set.

svgl — brand logos

Still the best source for product and company logos in colour, with light/dark variants.

Register the svgl registry once in components.json, then add logos by name — svgl's docs are explicit that the full https://svgl.app/r/<name>.json URL is not passed to the CLI:

jsonc
// components.json
{ "registries": { "@svgl": "https://svgl.app/r/{name}.json" } }
bash
bunx --bun shadcn@latest add @svgl/<name>     # several names in one command, space-separated

components.json must exist — if it does not, stop and tell the user to run bunx --bun shadcn@latest init first.

Resolve the exact name before installing:

  • https://api.svgl.app?search=<query> — search
  • https://api.svgl.app/categories then https://api.svgl.app/category/<category> — browse
  • https://api.svgl.app/svg/<name>.svg — raw markup

svgl is software and brand logos only. Its categories are Software, Framework, AI, Library, Payment, Design and similar — there are no flags, no file types, no UI glyphs. ?search=finland returns SVG not found, and that is expected, not a bug: switch to Iconify rather than retrying svgl with a different phrasing.

Docs: https://svgl.app/docs/shadcn-ui

Making a borrowed icon fit

A single icon from a foreign family is the most common tell of pasted-in work. Match, in this order:

  1. Stroke vs fill — do not drop a filled icon into an outline set. Most Iconify sets ship both (teenyicons:pdf-outline / teenyicons:pdf-solid, mingcute:pdf-line / mingcute:pdf-fill); take the variant that matches.
  2. Stroke width and grid — Lucide is 24px grid, 2px stroke. Tabler and Hugeicons sit close enough to pass; Material and Carbon do not, they read thinner and boxier.
  3. Colour — a mono icon inherits currentColor; a colour icon is a logo-like object and needs the same treatment as a logo (own size, own alignment, not tinted).
  4. Optical size — colour file-type icons carry their own padding and look smaller at the same box; bump one step (size-5 against a row of size-4) and check by eye.

When mixing is unavoidable, mix by category, not per icon: all flags from one flag set, all file types from one file-type set, all UI glyphs from the project library.

Give every icon an accessible name or hide it. An icon-only button is unlabelled to a screen reader unless you add aria-label on the button — the SVG's own title does not substitute. An icon sitting next to text is decorative and repeats what the text already says: aria-hidden="true". Icon component libraries do not do this for you; inlined raw SVG certainly does not.

Flags specifically

  • Never use emoji flags (🇫🇮) when Windows is in the audience — Segoe UI Emoji ships no flag glyphs, so they render as two letters (FI). They look fine on macOS and iOS, which is exactly why this ships broken.
  • circle-flags for avatar-style circles, flagpack for rounded rectangles with a border, flag (flag-icons) for plain rectangles. Pick one and stay in it.
  • Do not search for the country name — ?query=finland returns only emoji sets (twemoji:flag-finland, openmoji:…), never the real flag sets, because those are indexed by ISO code. Construct the id directly from ISO 3166-1 alpha-2, lowercase: circle-flags:fi, flagpack:se. flag needs an explicit ratio suffix — flag:fi-4x3 or flag:fi-1x1; bare flag:fi is a 404.
  • Language flags are politically loaded — for a language switcher prefer the language name over a flag.

JSX conversion

Inlining raw SVG into JSX: stroke-width → strokeWidth, class → className, style strings → objects, <style> block rules inlined onto elements.

Rename every id per mark. Iconify serves the same mask id to every icon in a set — circle-flags:fi and circle-flags:se both arrive as <mask id="SVGuywqVbel">. Inline both into one language switcher and the second mask wins for both flags. Suffix them (SVGmask-fi, SVGmask-se) and update the matching mask="url(#…)" reference. Same trap with gradients in colour logos.

When nothing is found — svgrepo, flaticon

Neither can be fetched with curl or WebFetch. Verified 2026-08-19: svgrepo.com returns HTTP 429 to every programmatic request, browser user-agent or not; flaticon.com returns 403. Do not retry with header tricks — the block is not user-agent based.

svgrepo does work through a real browser. If browser automation is available (the claude-in-chrome tools), that is a legitimate route, not a scraping workaround — the pages render normally and same-origin fetch is allowed:

  1. Navigate to https://www.svgrepo.com/vectors/<term>/ and read the result list. Icon links have the form https://www.svgrepo.com/svg/<id>/<slug>.
  2. Open the icon page and read its LICENSE: field (shown next to COLLECTION: and UPLOADER:, e.g. CC0 License). Check it per icon — svgrepo mixes CC0, MIT, CC BY and non-commercial packs on the same site.
  3. From a page on that origin, fetch('https://www.svgrepo.com/download/<id>/<slug>.svg') returns the raw SVG (200, image/svg+xml). Write it into the project yourself.

Without browser automation, ask the user to download the file in the browser and drop the .svg in the project. Do not suggest svgapi.com — it is svgrepo's official API but starts at $9.90/mo for 5,000 calls, and without a key returns {"error": "Your domainHash is not valid."}. The free tier is a case-by-case grant for non-commercial accessibility projects only.

flaticon stays off limits: downloads need an account, and its free tier requires visible attribution in the shipped product. Ask the user for the file if they specifically want one from there.

Mixed licensing plus mixed drawing style is why both remain a last resort rather than a first stop, even where the browser route works.

Better fallbacks before giving up on Iconify: search a synonym (document for file, invoice for receipt), search unprefixed to see every set, or browse the nearest category at icon-sets.iconify.design. 200k icons is usually enough.

Local organisations, universities and public bodies are in no icon set at all — a regional university, a national research centre or a municipality returns nothing from svgl or Iconify, and that is the expected answer, not a failed search. Ask the user for the official asset, or use a lettermark in a circle. Never invent a logo for a real organisation.

Câu hỏi thường gặp

Kỹ năng AI Icons làm được gì?

Tìm, lấy và cài đặt biểu tượng hoặc logo phù hợp từ đúng nguồn — biểu trưng thương hiệu, quốc kỳ, biểu tượng loại tệp (PDF, DOCX, ZIP) và biểu tượng giao diện — đồng thời giữ cho chúng nhất quán về mặt thị giác với ứng dụng. Dùng khi thư viện biểu tượng của dự án không có biểu tượng phù hợp, không tìm thấy kết quả trên svgl hoặc bạn yêu cầu cờ, biểu tượng loại tệp, logo thương hiệu hay chỉ đơn giản là "biểu tượng cho X". Hướng dẫn sử dụng API tìm kiếm Iconify (hơn 200.000 biểu tượng về cờ, loại tệp, logo và giao diện), registry shadcn svgl cho logo thương hiệu đầy màu sắc, cách chọn biểu tư...

Vì sao nên dùng Icons trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Icons là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Icons trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/laguagu/claude-code-nextjs-skills/tree/main/skills/icons. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Icons?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Icons với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Icons với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Icons có miễn phí không?

Có. Kỹ năng này được laguagu phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇