Have something to say?

Tell us how we could make the product more useful to you.

react-strict-dom - heroui web & native integration

Proposal: future exploration of react-strict-dom Background context React team announced react-strict-dom (youtube-video). This allows devs to write html-like markup in react-native: ``` import { html } from 'react-strict-dom'; function Page() { return ( Name ); } ``` Its worth exploring creating the native components in a similar markup style as the web version using react-strict-dom. This would allow: - devs to move between platforms with much more ease - (instead of context switching between the platform differences (ex: ) - help mcp/AI agents recreate a user’s app experience in react-native much more easily. Example use case: - Imagine having a component in web codebase styled with tailwind and copy-pasting it into your native app that’s using react-strict-dom and nativewind

Clifford Fajardo 7 days ago

Segmented Button

Component Name: SegmentedButton (or SegmentedControl) Description: I would like to request the addition of a Segmented Button component. It's a common UI pattern for presenting 2-5 mutually exclusive options, allowing users to switch between views, filter content, or select an item from a small set (e.g., Day/Week/Month view, List/Grid display). Why this is valuable: This component is a staple in modern design systems (like Material Design 3) and native frameworks (SwiftUI, Jetpack Compose). Adding it would: 1. Fill a gap in an otherwise excellent component library. 2. Save developers time from having to build and maintain this pattern manually with individual buttons. 3. Ensure consistency in look, feel, and accessibility across apps using HeroUI Native. Ideal API / Props (Inspiration): Ideally, it would support both single and multi-select, integrate with HeroUI's existing theme (size, color variants), and accept icons and/or text for each segment.

Faizan gondal 29 days ago

Segmented Button Component

Component Name: SegmentedButton (or SegmentedControl) Description: I would like to request the addition of a Segmented Button component. It's a common UI pattern for presenting 2-5 mutually exclusive options, allowing users to switch between views, filter content, or select an item from a small set (e.g., Day/Week/Month view, List/Grid display). Why this is valuable: This component is a staple in modern design systems (like Material Design 3) and native frameworks (SwiftUI, Jetpack Compose). Adding it would: 1. Fill a gap in an otherwise excellent component library. 2. Save developers time from having to build and maintain this pattern manually with individual buttons. 3. Ensure consistency in look, feel, and accessibility across apps using HeroUI Native. Ideal API / Props (Inspiration): Ideally, it would support both single and multi-select, integrate with HeroUI's existing theme (size, color variants), and accept icons and/or text for each segment. Example desired usage: selectedValue={view} onValueChange={setView} Day Week Month

Faizan gondal 29 days ago

Completed

Accessability

Hey folks 👋 Just wanted to drop a quick note about accessibility on Android (Didn’t get to test on iOS yet) First, the library looks insanely good. Seriously. The components feel super polished, and I’m planning to move a production app over from React Native Paper to HeroUI Native once you’re at a stable release. While playing with the demo app in Expo Go, I started messing around with Android accessibility settings (especially bigger text / font scaling), because a lot of real users run their phones like that. And I noticed a bunch of cases where things don’t hold up when text gets big: text spills out of components / gets clipped layouts don’t wrap nicely, spacing gets weird at larger sizes some components basically become unusable (overlapping, buttons/rows collapsing, etc.) It’s totally understandable at this stage lol! but I figured it’s worth flagging as an “accessibility” feature request, because it’s one of those things that can block using it in production for broader audiences. Thanks again. really excited about this library 🙏

Mordechai Tzarfati About 1 month ago

1