An open source design system that's fully customizable and agent ready
TypeScript
// Copyright (c) Meta Platforms, Inc. and affiliates.
import type {HTMLAttributes} from 'react';
import {cn} from '@/lib/utils';
export function Card({className, ...props}: HTMLAttributes<HTMLDivElement>) {
return (
<div
className={cn(
'rounded-xl border border-border bg-card text-card-foreground shadow-sm',
className,
)}
{...props}
/>
);
}