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/feedback/Toast.jsx
View on GitHubimport React from 'react';
export function Toast({ children, action, onAction, onClose, tone = 'default' }) {
return <div role="status" style={{ display: 'inline-flex', alignItems: 'center', gap: 16, background: 'var(--petrol)', color: 'var(--ivory)', borderRadius: 'var(--radius-md)', padding: '12px 16px', fontFamily: 'var(--font-read)', fontSize: 14, fontWeight: 600, lineHeight: 1.4, maxWidth: 440, boxSizing: 'border-box', borderLeft: 0 }}>
{tone === 'danger' && <span style={{ width: 10, height: 10, borderRadius: 2, background: 'var(--orange)', flex: 'none' }}></span>}
<span style={{ flex: 1 }}>{children}</span>
{action && <button onClick={onAction} style={{ background: 'none', border: 0, padding: '2px 0', color: 'var(--ivory)', fontFamily: 'inherit', fontSize: 14, fontWeight: 800, cursor: 'pointer', boxShadow: 'inset 0 -2px 0 var(--amber)' }}>{action}</button>}
{onClose && <button onClick={onClose} aria-label="Dismiss" style={{ background: 'none', border: 0, color: 'var(--ivory)', fontFamily: 'var(--font-code)', fontSize: 16, cursor: 'pointer', padding: 0, lineHeight: 1 }}>×</button>}
</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: 197k | 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: 197k | 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: 197k | Updated | Claude CodeCodex | Verified | Install |