You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Consider using headless UI library like Base UI, Radix, or React Aria for the PanelUI Web.
#255
For example, currently the Button component doesn't support something like asChild in Radix or render in Base UI, which makes it less flexible when we want to render it as another element, like using a link (<a>) as a button while keeping the button styles.
I Think using headless UI is a must to help with accessibility, keyboard interactions, and other behaviors without having to implement everything from scratch.
Or maybe you can just tell your AI agent something like "follow how shadcn implements its components, but use the styling from Panel UI Native instead". Not sure about the licensing or ethical side of this tho 😅
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Would be nice if Panel UI uses headless UI llibrary ike [Base UI](https://base-ui.com/), [Radix](https://www.radix-ui.com/), or [React Aria](https://react-aria.adobe.com/) as the base instead of just native HTML elements (currently the Button is pretty much just an HTML button with styling).
For example, currently the Button component doesn't support something like
asChildin Radix orrenderin Base UI, which makes it less flexible when we want to render it as another element, like using a link (<a>) as a button while keeping the button styles.I Think using headless UI is a must to help with accessibility, keyboard interactions, and other behaviors without having to implement everything from scratch.
Or maybe you can just tell your AI agent something like "follow how shadcn implements its components, but use the styling from Panel UI Native instead". Not sure about the licensing or ethical side of this tho 😅
What do you think?
All reactions