# CheckCard

A native checkbox presented as a selectable content card.

Connect Flood once using [the installation guide](https://flood.md/docs/installation). Then import the components you use; no per-component add command is needed.

## Example

```tsx
"use client";

import { FloodRoot, CheckCard } from "@flood-md/react";
import "@flood-md/react/styles.css";

export function Example() {
  return (
    <FloodRoot>
      <CheckCard label="Product updates" description="A monthly summary of new features." name="updates" value="product" />
    </FloodRoot>
  );
}
```

## Design notes

- Uses native checkbox semantics, including mixed state, required and form reset.
- Content is noninteractive: do not nest links or actions inside a card label.

## API reference

| Prop | Values | Default |
| --- | --- | --- |
| `indeterminate` | `boolean` | `—` |
| `label` | `string` | `Required` |
| `description` | `ReactNode` | `—` |
| `icon` | `ReactNode` | `—` |
| `metadata` | `ReactNode` | `—` |
| `density` | `"compact" \| "comfortable"` | `—` |
| `Native HTML props` | `Omit<Omit<InputHTMLAttributes<HTMLInputElement>, "type" \| "size">, "label" \| "children">` | `Forwarded` |
