/** * 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: () => `
A vertically stacked set of interactive headings that reveal content sections
An image element with a fallback for user profile images
Displays a badge or label
A carousel with embla-carousel
Beautiful charts using Recharts
An interactive component that expands/collapses content
Powerful table with sorting, filtering, pagination
Generic list item component
Keyboard key display
Styled HTML table
Text styling components