- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 7.1k
 
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
There’s a CSS syntax error in the Field component from shadcn/ui.
Tailwind 4.1 throws a parsing error for some advanced selectors used in this component, such as has-[> and @md/....
These selectors don’t compile properly in the latest Tailwind version
Affected component/components
Field (and possibly related: FieldGroup, FieldLabel)
How to reproduce
Create a new Next.js 16 app with Tailwind CSS 4.1.
Add the Field component from shadcn/ui.
Start the run next build.
you'll see warning for invalid class syntax.
Codesandbox/StackBlitz link
No response
Logs
System Info
Next.js: 16
Tailwind CSS: 4.1
React: 19.2
Windows 11Before submitting
- I've made research efforts and searched the documentation
 - I've searched for existing issues
 
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working