snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
20
apps/v4/examples/aria/tabs-icons.tsx
Normal file
20
apps/v4/examples/aria/tabs-icons.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import { AppWindowIcon, CodeIcon } from "lucide-react"
|
||||
|
||||
import { Tabs, TabsList, TabsTrigger } from "@/styles/aria-nova/ui/tabs"
|
||||
|
||||
export function TabsIcons() {
|
||||
return (
|
||||
<Tabs defaultSelectedKey="preview">
|
||||
<TabsList>
|
||||
<TabsTrigger id="preview">
|
||||
<AppWindowIcon />
|
||||
Preview
|
||||
</TabsTrigger>
|
||||
<TabsTrigger id="code">
|
||||
<CodeIcon />
|
||||
Code
|
||||
</TabsTrigger>
|
||||
</TabsList>
|
||||
</Tabs>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user