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/forms/Input.jsx
View on GitHubimport React from 'react';
export function Input({ label, hint, error, disabled = false, mono = false, id, style, ...rest }) {
const [focused, setFocused] = React.useState(false);
const iid = id || React.useId();
return <div style={{ fontFamily: 'var(--font-read)', color: 'var(--petrol)', ...style }}>
{label && <label htmlFor={iid} style={{ display: 'block', fontSize: 11, fontWeight: 800, letterSpacing: 'var(--track-label)', textTransform: 'uppercase', marginBottom: 6, color: 'var(--petrol)' }}>{label}</label>}
<input id={iid} disabled={disabled} onFocus={() => setFocused(true)} onBlur={() => setFocused(false)}
style={{ width: '100%', boxSizing: 'border-box', fontFamily: mono ? 'var(--font-code)' : 'var(--font-read)', fontSize: 15, fontWeight: 500, color: 'var(--petrol)', background: disabled ? 'var(--ivory-deep)' : 'var(--paper)', border: '2px solid ' + (error ? 'var(--orange)' : 'var(--petrol)'), borderRadius: 'var(--radius-sm)', padding: '10px 12px', outline: focused ? '3px solid var(--focus-ring)' : 'none', outlineOffset: 2, opacity: disabled ? 0.6 : 1 }} {...rest} />
{(error || hint) && <div style={{ fontSize: 12, lineHeight: 1.5, marginTop: 6, color: error ? 'var(--petrol)' : 'var(--text-muted)', fontWeight: error ? 700 : 400 }}>{error ? <span style={{ display: 'inline-block', width: 8, height: 8, background: 'var(--orange)', borderRadius: 2, marginRight: 6 }}></span> : null}{error || hint}</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: 321k | 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 |