Skip to content

Document custom SVG icons for Mobile 4.7 - #561

Draft
simonhamp wants to merge 1 commit into
mainfrom
docs/custom-icons
Draft

simonhamp wants to merge 1 commit into
mainfrom
docs/custom-icons

Conversation

@simonhamp

Copy link
Copy Markdown
Member

Docs for custom SVG icons, from NativePHP/mobile-air#544 and NativePHP/mobile-ui#132.

The main change is a new Custom icons section on the Mobile 4 icon page. It covers:

  • where the SVGs go and the naming rule
  • custom:<name> and Icon::custom() in Blade and PHP
  • the per-platform overrides
  • which SVGs convert and which fail the build
  • the system-icon fallback in Jump

The bottom nav, top bar and layouts pages each get a one-line pointer to it.

It badges the feature as 4.7, and <native:icon> as mobile-ui 0.9, since that's the next minor of each. The version test fails on a badge that isn't listed, so config/docs.php now lists 4.7, and 0.8 and 0.9 for mobile-ui. 0.8 is already released but was missing from the list.

This shouldn't merge until both packages are tagged. If the versions end up different, the badges and the config need changing to match.

I checked the pages render locally and the docs tests pass (79 passed).

🤖 Generated with Claude Code

Adds a Custom icons section to the icon page: where the SVGs go, the
naming rule, custom:<name> and Icon::custom() in Blade and PHP, the
per-platform overrides, which SVGs convert and which fail the build, and
the system-icon fallback in Jump. Bottom nav, top bar and layouts get a
one-line pointer to it.

Lists 4.7 and mobile-ui 0.8 and 0.9 as released versions so the badges
pass the version test. mobile-ui 0.8 was already out but missing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant