import { Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@ai-ui/ui"; import type { Meta, StoryObj } from "@storybook/react"; const meta = { title: "Components/Card", component: Card, args: { tone: "default", interactive: true }, argTypes: { className: { control: false }, interactive: { control: "boolean" }, tone: { control: "radio", options: ["default", "subtle", "accent"] } }, parameters: { docs: { description: { component: "Card is the base slab surface for panels, compact workflows, and supporting information blocks. It now defaults to a gentle interactive lift so common business cards feel alive by default, while `interactive={false}` remains available for deliberately static surfaces." } }, layout: "centered" }, tags: ["autodocs"] } satisfies Meta; export default meta; type Story = StoryObj; export const Playground: Story = { render: (args) => ( Routing overview Keep status, ownership, and the next action in one calm surface. This base card now carries a light hover lift by default so common workflow slabs do not feel inert. ) }; export const States: Story = { parameters: { docs: { description: { story: "Use the default interactive treatment for navigable or actionable slabs, and opt out only when the card is meant to behave like a static document section." } } }, render: () => (
Default interactive Gentle lift and internal light cue for most business cards. Good for dashboards, queues, and next-step summaries. Static document slab Opt out when the surface should read as anchored reference content. Useful for long-form notes, legal copy, and passive explanations. Accent emphasis Carry the same motion language while keeping the tonal emphasis richer. Use when the card itself is part of the call to action.
) }; export const Grid: Story = { render: () => (

Showcase slabs

Cards should feel like lit objects on a display plinth, not admin rectangles.

Default tone Standard elevated panel with the new default hover cue. Reliable baseline for most admin surfaces. Interactive accent Hover-capable treatment for navigable cards. Use sparingly for overview screens with clear primary actions.
) };