Skip to main content
Back to registry

ui-component-patterns

supercent-io/skills-template

Design Props that are easy to use and extensible.

Installs10
Install command
npx skills add https://github.com/supercent-io/skills-template --skill ui-component-patterns
Security audits
Gen Agent Trust HubPASS
SocketFAIL
SnykPASS
About this skill
Design Props that are easy to use and extensible. Principles : Example (Button): Combine small components to build complex UI. Example (Card): A pattern for flexible customization. Example (Dropdown): Separate UI from business logic. Example (Modal): Prevent unnecessary re-renders. React.memo : useMemo & useCallback : Single Responsibility Principle : One component has one role only Props Type Definition : TypeScript interface required Accessibility : aria-*, role, tabindex, etc. Excessive props drilling : Prohibited when 5+ levels deep No Business Logic : Prohibit API calls and complex calculations in UI components Inline objects/functions : Performance degradation #UI-components #React #design-patterns #composition #TypeScript #frontend - Building Component Libraries : Creating reusable UI components - Implementing Design Systems : Applying consistent UI patterns - Complex UI : Components requiring multiple variants (Button, Modal, Dropdown) - Refactoring : Extracting duplicate code into components - Clear names - Reasonable defaults - Type definitions with TypeScript - Optional Props use optional marker (?) - Single Responsibility Principle : One component has one role only - Button handles buttons only, Form handles forms only - Props Type Definition : TypeScript interface required - Enables auto-completion - Type safety - Accessibility : aria-*, role, tabindex, etc. -...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does ui-component-patterns do?

Design Props that are easy to use and extensible.

Is ui-component-patterns good?

ui-component-patterns does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does ui-component-patterns work with?

ui-component-patterns currently lists compatibility with Agent compatibility has not been published yet..

What are alternatives to ui-component-patterns?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install ui-component-patterns?

npx skills add https://github.com/supercent-io/skills-template --skill ui-component-patterns

Related skills

More from supercent-io/skills-template

Related skills

Alternatives in Software Engineering