ui-dev

Solid

This skill MUST be used whenever the task involves UI development, renderer code changes, adding or modifying components, creating modals or dialogs, working with CSS styles, building new UI features, or touching any file in src/renderer/. Use this skill when the user asks to "add a button", "create a modal", "add a dropdown", "update the sidebar", "style a component", "add a new UI feature", or any renderer/frontend work.

Web & Frontend 1,077 stars 137 forks Updated today MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# UI Development Guide This project uses **vanilla TypeScript DOM manipulation** — no framework. All UI lives in `src/renderer/`. Follow the patterns and reuse the components documented below. ## Custom Dropdown / Select **Never use native `<select>`.** Always use the custom select component: ```typescript import { createCustomSelect } from './components/custom-select'; const select = createCustomSelect('my-select', [ { value: 'a', label: 'Option A' }, { value: 'b', label: 'Option B' }, { value: 'c', label: 'Disabled', disabled: true }, ], 'a'); // default value // select.getValue() — get current value // select.destroy() — cleanup ``` - **File**: `src/renderer/components/custom-select.ts` - **CSS classes**: `.custom-select`, `.custom-select-trigger`, `.custom-select-dropdown`, `.custom-select-item` - Supports keyboard navigation (Arrow keys, Enter, Escape, Tab) ## Modals Use `showModal()` for generic modals with form fields: ```typescript import { showModal, closeModal, setModalError } from './components/modal'; showModal('My Title', [ { id: 'name', label: 'Name', type: 'text', placeholder: 'Enter name' }, { id: 'option', label: 'Option', type: 'select', options: [...] }, { id: 'enabled', label: 'Enable feature', type: 'checkbox' }, ], (values) => { // values is Record<string, string> if (!values.name) { setModalError('name', 'Name is required'); return; } // ... handle confirm closeModal(); }); ``` - **File**: `src/renderer/componen...

Details

Author
elirantutia
Repository
elirantutia/vibeyard
Created
2 months ago
Last Updated
today
Language
TypeScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Listed

swe-developing-frontend-ui

UI development skill covering design token usage, shadcn/ui + Radix composition patterns, accessibility requirements, anti-patterns catalog, and brand context for `crud-fe-ts-nextjs` and `crud-fs-ts-nextjs`. Auto-loads when working on TSX components, CSS, or UI design tasks.

2 Updated today
wahidyankf
Web & Frontend Listed

frontend-ui-engineering

Builds production-quality UIs. Use when building or modifying user-facing interfaces. Use when creating components, implementing layouts, managing state, or when the output needs to look and feel production-quality rather than AI-generated.

2 Updated 2 days ago
nota-america
Web & Frontend Listed

frontend-ui-engineering

Builds production-quality UIs. Use when building or modifying user-facing interfaces. Use when creating components, implementing layouts, managing state, or when the output needs to look and feel production-quality rather than AI-generated.

15 Updated 3 days ago
sampleXbro
Web & Frontend Solid

frontend-ui-engineering

Builds production-quality UIs. Use when building or modifying user-facing interfaces. Use when creating components, implementing layouts, managing state, or when the output needs to look and feel production-quality rather than AI-generated.

47,560 Updated 4 days ago
addyosmani
Web & Frontend Listed

frontend-ui-engineering

Use when building or modifying user-facing interfaces. Use when creating components, implementing layouts, managing state, or when the output needs to look and feel production-quality rather than AI-generated.

2 Updated today
LLl0k0laD