スキル一覧に戻る
vuralserhat86

design-components

by vuralserhat86

OS for Agents: 130+ Agentic Skills, Gemini Protocols, and Autonomous Workflows. (Antigravity System)

19🍴 9📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: design_components router_kit: FullStackKit description: Button, card, input ve icon sizing kuralları. Component boyutlandırma standartları. metadata: skillport: category: design tags: [accessibility, api integration, backend, browser apis, client-side, components, css3, debugging, deployment, design components, frameworks, frontend, fullstack, html5, javascript, libraries, node.js, npm, performance optimization, responsive design, seo, state management, testing, typescript, ui/ux, web development] - design-patterns

🧩 Design Components

Component boyutlandırma standartları.


🔘 1. Button Sizes

Small:   H:32px, P:8px/16px,  Font:14px
Medium:  H:40px, P:12px/24px, Font:16px (Default)
Large:   H:48px, P:14px/32px, Font:18px
XLarge:  H:56px, P:16px/40px, Font:20px

Button States

StateStil
DefaultBase
HoverLighten/Darken 10%, Scale 1.02
ActiveScale 0.98
FocusRing outline
DisabledOpacity 50%

📦 2. Card Sizing

Padding

TipPadding
Compact16px
Default24px
Spacious32px

Shadow (Elevation)

shadow-sm:  0 1px 3px rgba(0,0,0,0.1)
shadow-md:  0 4px 6px rgba(0,0,0,0.1)
shadow-lg:  0 10px 15px rgba(0,0,0,0.1)
shadow-xl:  0 20px 25px rgba(0,0,0,0.1)

📝 3. Input Fields

Height:  40px (default), 48px (large)
Padding: 12px / 16px (V/H)
Border:  1px solid
Radius:  4px veya 8px

Input States

StateStil
DefaultBorder: neutral-300
FocusBorder: primary-500, Ring
ErrorBorder: error-500
DisabledBackground: neutral-100

🎯 4. Icon Sizes

16px - Inline with text
20px - Buttons
24px - Standalone
32px - Feature highlights
48px - Hero sections

Icon + Text Spacing

  • Icon ve text arası: 8px

📋 5. Form Layout

Label-Input gap:     8px
Input-Input gap:     16px veya 24px
Form section gap:    32px
Submit button margin: 24px top

🔄 Workflow

Kaynak: Atomic Design Methodology & Shadcn UI Component Standards

Aşama 1: Component Definition & Atomic Audit

  • Inventory: Mevcut arayüzdeki tekrarlayan elementleri (Button, Input) tespit et ve Atom'lara ayır.
  • State Mapping: Her komponentin tüm state'lerini (Default, Hover, Active, Disabled, Loading) tanımla.
  • Accessibility (A11y): Aria-label ve role tanımlarının doğruluğunu denetle.

Aşama 2: Sizing & Variants Setup

  • Base Unit Alignment: Tüm boyutların 8-point grid (Design Tokens) sistemine uygunluğunu doğrula.
  • Variant Creation: Tailwind veya CVA (Class Variance Authority) kullanarak variant yapılarını kur.
  • Visual Consistency: Padding ve gap değerlerinin hiyerarşiye uygunluğunu kontrol et.

Aşama 3: Testing & Documentation

  • Visual Testing: Komponentin farklı tarayıcılarda ve viewports'larda görsel bütünlüğünü test et (Storybook).
  • Unit Testing: Etkileşimli komponentler (Dropdown, Modal) için logic testleri yaz.
  • Handoff: Tasarımın geliştiriciye aktarımı için dokümantasyonu (Design-to-Code) güncelle.

Kontrol Noktaları

AşamaDoğrulama
1Komponent tek bir sorumluluğa (Single Responsibility) sahip mi?
2Tüm variant'lar merkezi bir tokens dosyasından mı besleniyor?
3Screen reader testleri başarılı mı?

Design Components v1.5 - With Workflow

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です