modelsdev 0.11.4

A fast TUI and CLI for browsing AI models, benchmarks, and coding agents
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
import { cn } from "@/utils/cn";
import type { HTMLAttributes } from "astro/types";

export interface Props extends HTMLAttributes<"div"> {
  size?: "default" | "sm";
}

const { size = "default", class: className, ...props } = Astro.props;

const classes = cn("rounded-lg border bg-card text-card-foreground", className);
---

<div class={classes} data-slot="card" data-size={size} {...props}>
  <slot />
</div>