mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
37 lines
898 B
TypeScript
37 lines
898 B
TypeScript
import {
|
|
Badge,
|
|
Button,
|
|
Card,
|
|
CardAction,
|
|
CardDescription,
|
|
CardFooter,
|
|
CardHeader,
|
|
CardTitle,
|
|
Widget,
|
|
} from "@lcui/react";
|
|
|
|
export default function App() {
|
|
return (
|
|
<Card className="relative w-full max-w-sm pt-0">
|
|
<Widget className="relative h-[216px] w-full rounded-t-xl bg-slate-400">
|
|
<Widget className="absolute left-0 top-0 h-full w-full bg-black/35" />
|
|
</Widget>
|
|
<CardHeader>
|
|
<CardTitle>Design systems meetup</CardTitle>
|
|
<CardDescription>
|
|
A practical talk on component APIs, accessibility, and shipping
|
|
faster.
|
|
</CardDescription>
|
|
<CardAction>
|
|
<Badge variant="secondary">Featured</Badge>
|
|
</CardAction>
|
|
</CardHeader>
|
|
<CardFooter>
|
|
<Button className="w-full" variant="primary">
|
|
View Event
|
|
</Button>
|
|
</CardFooter>
|
|
</Card>
|
|
);
|
|
}
|