mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
47 lines
1.4 KiB
TypeScript
47 lines
1.4 KiB
TypeScript
import {
|
|
Item,
|
|
ItemActions,
|
|
ItemContent,
|
|
ItemDescription,
|
|
ItemMedia,
|
|
ItemTitle,
|
|
Text,
|
|
} from "@lcui/react";
|
|
|
|
export default function Example() {
|
|
return (
|
|
<widget className="flex max-w-md flex-col gap-6">
|
|
<Item variant="outline" interactive>
|
|
<ItemMedia variant="image" className="bg-violet-400" />
|
|
<ItemContent>
|
|
<ItemTitle>Midnight City Lights - Electric Nights</ItemTitle>
|
|
<ItemDescription>Neon Dreams</ItemDescription>
|
|
</ItemContent>
|
|
<ItemActions>
|
|
<Text className="text-xs text-muted-foreground">3:45</Text>
|
|
</ItemActions>
|
|
</Item>
|
|
<Item variant="outline" interactive>
|
|
<ItemMedia variant="image" className="bg-sky-400" />
|
|
<ItemContent>
|
|
<ItemTitle>Coffee Shop Conversations - Urban Stories</ItemTitle>
|
|
<ItemDescription>The Morning Brew</ItemDescription>
|
|
</ItemContent>
|
|
<ItemActions>
|
|
<Text className="text-xs text-muted-foreground">4:05</Text>
|
|
</ItemActions>
|
|
</Item>
|
|
<Item variant="outline" interactive>
|
|
<ItemMedia variant="image" className="bg-emerald-400" />
|
|
<ItemContent>
|
|
<ItemTitle>Digital Rain - Binary Beats</ItemTitle>
|
|
<ItemDescription>Cyber Symphony</ItemDescription>
|
|
</ItemContent>
|
|
<ItemActions>
|
|
<Text className="text-xs text-muted-foreground">3:30</Text>
|
|
</ItemActions>
|
|
</Item>
|
|
</widget>
|
|
);
|
|
}
|