Skip to content

docs(integrations/icons): Update code example for custom icons#6762

Open
c0lt wants to merge 1 commit into
nuxt:v4from
c0lt:patch-1
Open

docs(integrations/icons): Update code example for custom icons#6762
c0lt wants to merge 1 commit into
nuxt:v4from
c0lt:patch-1

Conversation

@c0lt

@c0lt c0lt commented Jul 21, 2026

Copy link
Copy Markdown

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

I wanted to use a custom component and followed the docs but I always got an error that my icon could not be loaded. After spending some time trying to figure out if there are problems with my icon, I found that it works when using a colon : before the icon name.

I wanted to use a custom component and followed the docs but i always got an error that my icon could not be loaded. After spending some time trying to figure out if there are problems with my icon, i found that it works when using a colon `:` before the icon name.
@c0lt
c0lt requested a review from benjamincanac as a code owner July 21, 2026 11:18
@github-actions github-actions Bot added the v4 #4488 label Jul 21, 2026
@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e1404d95-301e-43c7-a5b8-20bc87d63adb

📥 Commits

Reviewing files that changed from the base of the PR and between 8897318 and 3549bea.

📒 Files selected for processing (1)
  • docs/content/docs/1.getting-started/6.integrations/1.icons/1.nuxt.md

📝 Walkthrough

Walkthrough

Updated the Nuxt “Custom local collections” example to use i-custom:add instead of i-custom-add in the UIcon component.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the docs update for the custom icon code example.
Description check ✅ Passed The description is directly related to the documented custom icon name format change.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Jul 21, 2026

Copy link
Copy Markdown
npm i https://pkg.pr.new/@nuxt/ui@6762

commit: 3549bea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v4 #4488

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant