evalstate/fast-agent / design/fast-agent-system
fast-agent-design
UnverifiedUse this skill to generate well-branded interfaces and assets for fast-agent, either for production or throwaway prototypes/mocks/etc. Contains essential design guidelines, colors, type, fonts, assets, and UI kit components for protoyping.
components/display/Table.jsx
View on GitHubimport React from 'react';
export function Table({ columns = [], rows = [], highlight, caption, footnote }) {
const cell = { padding: '10px 14px', borderBottom: '2px solid var(--line)', textAlign: 'left' };
return <div style={{ fontFamily: 'var(--font-read)', color: 'var(--petrol)' }}>
<table style={{ width: '100%', borderCollapse: 'collapse', fontSize: 15, border: 'var(--border)', borderRadius: 'var(--radius-lg)', borderSpacing: 0, overflow: 'hidden' }}>
{caption && <caption style={{ textAlign: 'left', fontSize: 11, fontWeight: 800, letterSpacing: 'var(--track-label)', textTransform: 'uppercase', paddingBottom: 8 }}>{caption}</caption>}
<thead><tr>{columns.map(c => <th key={c.key} style={{ ...cell, textAlign: c.numeric ? 'right' : 'left', fontSize: 11, fontWeight: 800, letterSpacing: 'var(--track-label)', textTransform: 'uppercase', borderBottom: 'var(--border)', background: 'var(--ivory-deep)' }}>{c.label}</th>)}</tr></thead>
<tbody>{rows.map((r, i) => { const hi = highlight != null && (typeof highlight === 'function' ? highlight(r, i) : highlight === i);
return <tr key={i} style={{ background: hi ? 'var(--amber)' : 'var(--paper)' }}>{columns.map(c => <td key={c.key} style={{ ...cell, borderBottom: i === rows.length - 1 ? 0 : cell.borderBottom, textAlign: c.numeric ? 'right' : 'left', fontWeight: c.numeric ? 900 : (hi ? 800 : 500), fontVariantNumeric: 'tabular-nums' }}>{r[c.key]}</td>)}</tr>; })}</tbody>
</table>
{footnote && <div style={{ fontSize: 12, lineHeight: 1.5, color: 'var(--text-muted)', marginTop: 8 }}>{footnote}</div>}
</div>;
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |