Skip to content

Conversation

okwasniewski
Copy link
Collaborator

Add comprehensive documentation for web platform support showing how to use platform-specific files (.web.ts/.native.ts) or custom tab bars to provide JavaScript-based tab implementations on web.

The guide includes:

  • Explanation of why web requires a different approach
  • Three implementation approaches with pros/cons
  • Code examples for each approach
  • Icon library recommendations for cross-platform support
  • Styling considerations between native and web platforms

Updated README and introduction to reference the new web platform guide.

🤖 Generated with Claude Code

PR Description

How to test?

Screenshots

Add comprehensive documentation for web platform support showing how to use platform-specific files (.web.ts/.native.ts) or custom tab bars to provide JavaScript-based tab implementations on web.

The guide includes:
- Explanation of why web requires a different approach
- Three implementation approaches with pros/cons
- Code examples for each approach
- Icon library recommendations for cross-platform support
- Styling considerations between native and web platforms

Updated README and introduction to reference the new web platform guide.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@changeset-bot
Copy link

changeset-bot bot commented Oct 20, 2025

⚠️ No Changeset found

Latest commit: 770a69d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Streamline the guide to focus only on platform-specific files (.web.ts/.native.ts) approach. Removed alternative approaches to keep the documentation concise and easier to follow.

Changes:
- Removed "Custom Tab Bar" approach
- Removed "Conditional Platform Rendering" approach
- Simplified icon support section
- Removed comparison table
- Reduced from 265 to 138 lines

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Updated web platform support guide to reflect actual icon handling patterns used in the example app:

- Show Platform.OS conditional for iOS SF Symbols vs Android/web PNG assets
- Use require() for PNG/SVG files instead of icon component libraries
- Add focused/unfocused icon pattern example
- Remove icon library examples in favor of image asset approach
- Demonstrate cross-platform pattern that works on iOS, Android, and web

This matches the patterns in apps/example/src/Examples/ directory.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
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.

2 participants