File tree 4 files changed +19
-93
lines changed
4 files changed +19
-93
lines changed Original file line number Diff line number Diff line change @@ -73,9 +73,10 @@ export const docsConfig: DocsConfig = {
73
73
] ,
74
74
} ,
75
75
{
76
- title : "CLI " ,
77
- href : "/docs/cli " ,
76
+ title : "Tailwind v4 " ,
77
+ href : "/docs/tailwind-v4 " ,
78
78
items : [ ] ,
79
+ label : "New" ,
79
80
} ,
80
81
] ,
81
82
} ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -16,28 +16,28 @@ description: How to install dependencies and structure your app.
16
16
Run the ` init ` command to create a new Next.js project or to setup an existing one:
17
17
18
18
``` bash
19
- npx shadcn@latest init
19
+ npx shadcn@canary init
20
20
```
21
21
22
22
### Add components
23
23
24
24
You can now start adding components to your project.
25
25
26
26
``` bash
27
- npx shadcn@latest add " https://v3. magicui.design/r/android .json"
27
+ npx shadcn@canary add " https://magicui.design/r/globe .json"
28
28
```
29
29
30
30
### Import component
31
31
32
- The command above will add the ` Android ` component to your project. You can then import it like this:
32
+ The command above will add the ` Globe ` component to your project. You can then import it like this:
33
33
34
34
``` tsx {1,6} showLineNumbers
35
- import { Android } from " @/components/ui/android " ;
35
+ import { Globe } from " @/components/ui/globe " ;
36
36
37
37
export default function Home() {
38
38
return (
39
39
<div >
40
- <Android />
40
+ <Globe />
41
41
</div >
42
42
);
43
43
}
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Tailwind v4
3
+ description : We've released a new version of Magic UI that uses Tailwind CSS v4.
4
+ date : 2024-04-08
5
+ ---
6
+
7
+ Magic UI now supports Tailwind v4 and React 19. You can start using it today.
8
+
9
+ If you're using v3, you can head over to [ v3.magicui.design] ( https://v3.magicui.design ) to use tailwind v3.
10
+
11
+ If you're using v4, you can head over to [ magicui.design] ( https://magicui.design ) to use tailwind v4.
You can’t perform that action at this time.
0 commit comments