NextUI - Next move (v2) #1035
Replies: 91 comments 118 replies
-
This is AMAZING 🎉🎉🎉🎉 |
Beta Was this translation helpful? Give feedback.
-
Awesome! Is there a time frame around this? |
Beta Was this translation helpful? Give feedback.
-
@jrgarciadev - i think this makes a lot of sense & I'm a fan 🎉 Have you seen typewind? typewind-demo.mp4Thread from the creator:https://mobile.twitter.com/Mokshit06/status/1617880004846825474 At any rate, I think tailwind css alone is already a big improvement for all the reasons you mentioned in this announcement 🎉 |
Beta Was this translation helpful? Give feedback.
-
love it! |
Beta Was this translation helpful? Give feedback.
-
I was wondering, why such an excellent project wasn't getting updates. Anyways it's a big news. Will be eagerly waiting for it to be implemented in my next project. All the best guys. 🎉👏🏻 |
Beta Was this translation helpful? Give feedback.
-
Remix ready? |
Beta Was this translation helpful? Give feedback.
-
why not use cva instead of a custom solution for variants ? |
Beta Was this translation helpful? Give feedback.
-
This is amazing, very helpful |
Beta Was this translation helpful? Give feedback.
-
This makes a lot of sense! Congrats for the timely decision. It's not easy to make such a big change |
Beta Was this translation helpful? Give feedback.
-
Can't wait for the awesome release |
Beta Was this translation helpful? Give feedback.
-
excited to look at this, I think just the API itself will become very useful |
Beta Was this translation helpful? Give feedback.
-
Really awesome, Thanks to you guys for your hardware work.🔥🔥🔥 |
Beta Was this translation helpful? Give feedback.
-
Noo wayy, please don't do it |
Beta Was this translation helpful? Give feedback.
-
Really awesome! Wondering if NextUI v2 will be framework agnostic so the community can port it to Vue, Svelte, etc etc |
Beta Was this translation helpful? Give feedback.
-
I can't wait to try this feature. ganbatte nextui team 🔥 |
Beta Was this translation helpful? Give feedback.
-
Hello @jrgarciadev, Really commendable work you and all the contributors have done. It's appreciable. I wish this UI framework achieves great success and popularity. Now, there are few issues which I noticed while checking the docs. And those are related to mobile experience. Certain components are not working on mobile devices like Accordion, Dropdown menu buttons, Group Avtar images and Tabs. These components do not respond on touch (click) event on mobile devices, whereas these are working fine on desktop browsers. In group Avatar case, when on desktop browser, when we hover over any of the Avatar it comes out, the same effect should be applied on mobile browser when we touch hold for longer it should come out. It would be a great help if we can get this fixed in upcoming updates, so that it becomes perfect UI framework to be used by its lovers like me. I'll be eagerly waiting for the next update with the fix. Thank you in advance. |
Beta Was this translation helpful? Give feedback.
-
I cannot use the table component with individual imports, as shown in the v2-docs. I get this error:
|
Beta Was this translation helpful? Give feedback.
-
Hey team! |
Beta Was this translation helpful? Give feedback.
-
I discovered an issue with the Card component. When the Card has the prop isPressable set to true and also uses the onPress={customClickFunction}, the following warning appears:
|
Beta Was this translation helpful? Give feedback.
-
Really awesome, Can't wait for release 🔥🔥🔥 |
Beta Was this translation helpful? Give feedback.
-
I am using useSWR to get data for a table. I pass the isLoading state from useSWR to the Table component. I will give an example in which form the Table component worked for me with the expected behavior.
|
Beta Was this translation helpful? Give feedback.
-
Tooltip is not working in the docs. |
Beta Was this translation helpful? Give feedback.
-
What happens with autocomplete and select? |
Beta Was this translation helpful? Give feedback.
-
I used the
|
Beta Was this translation helpful? Give feedback.
-
Hey there, thanks for the great work! Found an issue: Tabs has child "Tab" in the v2 docs, but the export member of @nextui-org/tabs is called TabItem. However, also seeing errors trying to use "TabItem" instead of Tab. |
Beta Was this translation helpful? Give feedback.
-
Hey @jrgarciadev was wondering if you wanted contributors to the V2 project. Happy to help in any way I can! |
Beta Was this translation helpful? Give feedback.
-
Beyond excited to announce NextUI v2! 🎉 https://github.com/nextui-org/nextui/releases/tag/v2.0.0 Blog post: https://nextui.org/blog/nextui-v2 |
Beta Was this translation helpful? Give feedback.
-
while coping NextUI exports navbar-related components form the page , the "NavbarMenuToggle. " ends with fullStop " . " , it should comma " , " . |
Beta Was this translation helpful? Give feedback.
-
I'm not understanding why I'm getting different results now after migrating. Was effectively all styling removed in v2? NextUI v1<Button.Group>
<Button onClick={handleUploadButton}>Upload Image</Button>
<input ref={fileUploadInputRef} hidden type="file" accept=".png, .jpg, .jpeg" onChange={handleFileUpload} />
<Button animated={false} disabled={!uploadedImage} onClick={handleClearFileUpload}>
x
</Button>
</Button.Group>
<Spacer y={0.5}></Spacer>
<Input ref={urlInputRef} type={"url"} clearable placeholder="Image from URL" onChange={(e) => updateImageURL(e.target.value)}></Input> NextUI v2<ButtonGroup>
<Button color="primary" onClick={handleUploadButton}>Upload Image</Button>
<input ref={fileUploadInputRef} hidden type="file" accept=".png, .jpg, .jpeg" onChange={handleFileUpload} />
<Button disableAnimation={false} isDisabled={!uploadedImage} onClick={handleClearFileUpload}>
x
</Button>
</ButtonGroup>
<Spacer y={0.5}></Spacer>
<Input ref={urlInputRef} type={"url"} isClearable placeholder="Image from URL" onChange={(e) => updateImageURL(e.target.value)}></Input> The differences I noticed after migrating to v2
|
Beta Was this translation helpful? Give feedback.
-
NextUI is making the switch from Stitches to Tailwindcss as our style engine. Stitches is no longer actively maintained and does not support static extraction, so NextUI is moving towards zero-runtime to better support React server components and new versions of Next.js. To make the transition smoother, we are developing Tailwind Variants, a library that will ease the transition from Stitches to TailwindCSS.
The NextUI documentation will be separated into Stitches and TailwindCSS versions, available on different domains, so users can access the legacy documentation. The work ahead is substantial and any assistance with the migration is greatly appreciated.
Thank you for your support 🙏🏻
Will it be backward compatible?
Unfortunately, the switch from Stitches to Tailwindcss will not be backward compatible. The new system requires Tailwindcss to be installed and the styling of components will be different
Will you continue to fix style-related issues?
Yes, we will continue to review and address style-related issues. Our team will make every effort to include fixes in the new version of NextUI using Tailwindcss.
Will the new version fix the Next.js 13 issues?
Yes, the switch to Tailwindcss will address the Next.js 13 compatibility issues in NextUI.
Will this change reduce the bundle size?
The switch to Tailwindcss has the potential to reduce the bundle size compared to the previous version with Stitches, but the exact impact on bundle size will depend on various factors such as the size of the implementation and usage of the library.
Will this change fix all the hydration support?
No, the switch to Tailwindcss will not necessarily fix all hydration support issues. It depends on the updates made by the react-aria team. However, our team is actively analyzing solutions to address these issues on our end.
Important Note:
We understand that this change will require significant effort on your end to refactor the existing NextUI code. However, it is important to us that NextUI remains up-to-date and compatible with the latest features of React and Next.js. For this reason, we cannot continue to work and release components on top of a non-maintained style engine (Stitches). We appreciate your understanding and support as we make this important transition to Tailwindcss.
Roadmap 🚙
https://github.com/orgs/nextui-org/projects/2/views/1?pane=issue&itemId=20037976
Storybook
https://storiesv2.nextui.org/
New Docs (WIP)
https://nextui-docs-v2.vercel.app
Next.js App Directory Template
https://github.com/nextui-org/next-app-template
Next.js Pages Directory Template
https://github.com/nextui-org/next-pages-template
Related Links:
https://beta.nextjs.org/docs/styling/css-in-js
stitchesjs/stitches#1053 (comment)
#979 (comment)
#1031
#849
Beta Was this translation helpful? Give feedback.
All reactions