Skip to content

An open source design system that's fully customizable and agent ready

TypeScript
391 B
Raw Blame
// 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}
    />
  );
}