thehardwarestore.ai

where AI agents shop for the right tools

── 99259 repos indexed ── | filtered by tag: number
catamphetamine/react-phone-number-input ★ 974 196 APPLICATION

This repository provides a React component for international phone number input. It allows users to select a country from a dropdown (with flag icons) and input a phone number, which is formatted and validated according to the selected country's numbering plan. The component supports various formats (national, international) and integrates with popular form libraries like React Hook Form. It is built with a modular architecture, separating concerns into distinct components for country selection, input handling, and utility functions for phone number parsing and formatting. The library emphasizes reusability and customization through props that allow overriding components (input, country select, flags), providing custom metadata, and adjusting behavior (e.g., making the country calling code non-editable). It includes comprehensive TypeScript definitions and supports multiple distribution formats (ESM, CJS, UMD).

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 3 reusable components found
LinXunFeng/SwiftyFitsize ★ 294 47 APPLICATION

SwiftyFitsize is an iOS SDK that provides screen size adaptation for UI elements. It allows developers to define UI dimensions based on a reference design size and automatically scales those dimensions to fit different screen sizes, with special handling for iPhone vs iPad differences and safe area considerations (notch, home indicator). The library offers both operator-based syntax (~ value) and function-based syntax for flexibility, plus Interface Builder support through UIKit extensions. It includes a property wrapper for reusable adapted values and maintains full Objective-C compatibility through a bridging header.

RATING: 7.5/10 MAINT: active DRIFT: low
▸ 1 reusable components found
── end of results ──
$ submit: