1k-ui-recipes
CommunityUI recipes for smoother, reliable interfaces.
Authorwanghaisheng
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides bite-sized UI recipes and patterns to fix common cross-platform UI issues in React Native and web components, enabling consistent and polished interfaces.
Core Features & Use Cases
- iOS Tab Bar Scroll Offset: dynamic padding trick to prevent content from being hidden behind the bottom tab bar.
- Smooth State Transitions with startViewTransition: defer heavy re-renders to yield smooth updates on web with a fallback on native.
- Horizontal Scroll in Collapsible Tab Headers: bidirectional gestures and programmatic tab content control to keep header and content scrolls in sync.
- Android Bottom Tab Touch Interception: a temporary GestureDetector-based workaround to bypass native tab bar touch interception (Android only).
- Keyboard Avoidance for Input Fields: keyboard-aware views and animated padding to keep inputs visible when the keyboard is shown.
- iOS Overlay Navigation Freeze: use resetAboveMainRoute to atomically clear overlay routes and avoid navigation freeze.
- Web: keyboardDismissMode handling: avoid global blur side-effects by gating on native vs web, and pausing background carousels when not visible.
Quick Start
Try applying the included UI recipes to your app by wiring up the patterns to your tab pages, headers, and inputs for a smoother cross-platform experience.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: 1k-ui-recipes Download link: https://github.com/wanghaisheng/web3-scaffold-app-monorepo/archive/main.zip#1k-ui-recipes Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.