import {Separator, Surface} from "@heroui/react";

export function WithSurface() {
  return (
    <div className="flex flex-col gap-8">
      <div className="flex flex-col gap-2">
        <Surface className="flex min-w-[320px] flex-col gap-3 rounded-3xl p-6" variant="default">
          <h3 className="text-base font-semibold text-foreground">默认表面</h3>
          <Separator />
          <p className="text-sm text-muted">表面内容</p>
        </Surface>
      </div>

      <div className="flex flex-col gap-2">
        <Surface className="flex min-w-[320px] flex-col gap-3 rounded-3xl p-6" variant="secondary">
          <h3 className="text-base font-semibold text-foreground">次要表面</h3>
          <Separator variant="secondary" />
          <p className="text-sm text-muted">表面内容</p>
        </Surface>
      </div>

      <div className="flex flex-col gap-2">
        <Surface className="flex min-w-[320px] flex-col gap-3 rounded-3xl p-6" variant="tertiary">
          <h3 className="text-base font-semibold text-foreground">第三表面</h3>
          <Separator variant="tertiary" />
          <p className="text-sm text-muted">表面内容</p>
        </Surface>
      </div>

      <div className="flex flex-col gap-2">
        <Surface
          className="flex min-w-[320px] flex-col gap-3 rounded-3xl border p-6"
          variant="transparent"
        >
          <h3 className="text-base font-semibold text-foreground">透明表面</h3>
          <Separator />
          <p className="text-sm text-muted">表面内容</p>
        </Surface>
      </div>
    </div>
  );
}
