mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-02 17:08:39 +00:00
50 lines
1.2 KiB
TypeScript
50 lines
1.2 KiB
TypeScript
import { InboxIcon } from "lucide-react"
|
|
|
|
import {
|
|
Item,
|
|
ItemContent,
|
|
ItemDescription,
|
|
ItemMedia,
|
|
ItemTitle,
|
|
} from "@/styles/base-nova/ui/item"
|
|
|
|
export function ItemVariant() {
|
|
return (
|
|
<div className="flex w-full max-w-md flex-col gap-6">
|
|
<Item>
|
|
<ItemMedia variant="icon">
|
|
<InboxIcon />
|
|
</ItemMedia>
|
|
<ItemContent>
|
|
<ItemTitle>Default Variant</ItemTitle>
|
|
<ItemDescription>
|
|
Transparent background with no border.
|
|
</ItemDescription>
|
|
</ItemContent>
|
|
</Item>
|
|
<Item variant="outline">
|
|
<ItemMedia variant="icon">
|
|
<InboxIcon />
|
|
</ItemMedia>
|
|
<ItemContent>
|
|
<ItemTitle>Outline Variant</ItemTitle>
|
|
<ItemDescription>
|
|
Outlined style with a visible border.
|
|
</ItemDescription>
|
|
</ItemContent>
|
|
</Item>
|
|
<Item variant="muted">
|
|
<ItemMedia variant="icon">
|
|
<InboxIcon />
|
|
</ItemMedia>
|
|
<ItemContent>
|
|
<ItemTitle>Muted Variant</ItemTitle>
|
|
<ItemDescription>
|
|
Muted background for secondary content.
|
|
</ItemDescription>
|
|
</ItemContent>
|
|
</Item>
|
|
</div>
|
|
)
|
|
}
|