Navigationsrc/components/ui/tabs.tsx
Tabs
Layered sections of content with tab triggers.
Preview
Installation
Copy the component source into your project with `degit`. This port is intentionally not distributed as an npm package.
bunx degit https://github.com/LiasCode/shadcn-preact/src/components/ui#main ./src/components/uiUsage
import { Tabs } from "@/components/ui/tabs"
export function Example() {
return <Tabs>Tabs</Tabs>
}API Reference
ExportPurpose
TabsComposable part exported by `@/components/ui/tabs`.