/** * Data Display * Components for displaying data * @generated 2025-12-12T06:47:18.665658 */ export default { title: 'Components/Data Display', tags: ['autodocs'], parameters: { docs: { description: { component: 'Components for displaying data' } } } }; const styles = ` .component-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; } .component-card { border: 1px solid #e5e7eb; border-radius: 8px; padding: 1rem; background: white; } .card-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; } .card-header h3 { margin: 0; font-size: 1rem; } .radix-badge { font-size: 0.6rem; background: #dbeafe; color: #1d4ed8; padding: 0.125rem 0.375rem; border-radius: 4px; font-family: monospace; } .description { font-size: 0.8rem; color: #6b7280; margin: 0 0 0.75rem; } .variants { margin-bottom: 0.5rem; } .variant-row { font-size: 0.7rem; margin-bottom: 0.25rem; } .var-name { font-weight: 500; margin-right: 0.25rem; } .badge { display: inline-block; background: #f3f4f6; padding: 0.125rem 0.375rem; border-radius: 4px; margin-right: 0.25rem; font-family: monospace; font-size: 0.65rem; } .deps { font-size: 0.65rem; color: #9ca3af; font-family: monospace; } `; export const Overview = { name: 'Component Catalog', render: () => `

Accordion

@radix-ui/react-accordion

A vertically stacked set of interactive headings that reveal content sections

Avatar

@radix-ui/react-avatar

An image element with a fallback for user profile images

size: sm md lg

Badge

Displays a badge or label

variant: default secondary destructive outline

Carousel

A carousel with embla-carousel

deps: embla-carousel-react

Chart

Beautiful charts using Recharts

deps: recharts

Collapsible

@radix-ui/react-collapsible

An interactive component that expands/collapses content

Data Table

Powerful table with sorting, filtering, pagination

deps: @tanstack/react-table

Item

Generic list item component

Kbd

Keyboard key display

Table

Styled HTML table

Typography

Text styling components

` };