Toolverse
All skills

component-builder

by svelte-society

Create UI components using tailwind-variants for type-safe styling. Use when creating or editing components in src/lib/ui/.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Frontend

About this skill

Create UI components using tailwind-variants for type-safe styling. Use when creating or editing components in src/lib/ui/.

How to use

  1. Zainstaluj skill component-builder w swoim projekcie Svelte. Skill zawiera dokumentację wzorca tailwind-variants używanego do tworzenia komponentów UI w katalogu src/lib/ui/. 2. Przed utworzeniem nowego komponentu zapoznaj się z plikami referencyjnymi: Button.svelte i button.variants.ts (przykład podstawowy), Tag.svelte i tag.variants.ts (warianty złożone) oraz ContentCard.svelte i contentCard.variants.ts (warianty wielowymiarowe). 3. Utwórz dwa pliki dla każdego komponentu: plik wariantów (componentName.variants.ts) zawierający definicje stylów z użyciem tv() z tailwind-variants oraz plik komponentu (ComponentName.svelte) importujący warianty i typy. 4. W pliku wariantów zdefiniuj bazowe klasy, wymiary wariantów (np. primary, secondary), rozmiary (sm, md, lg) oraz warianty domyślne. Wyeksportuj typy dla każdego wymiaru wariantu. 5. W komponencie Svelte zaimportuj warianty i typy, następnie przekaż props (variant, size) do funkcji wariantów, aby wygenerować ostateczne klasy CSS. 6. Użyj tego skilla gdy tworzysz nowe komponenty w src/lib/ui/, refaktoryzujesz istniejące komponenty lub dodajesz nowe warianty do już istniejących elementów.

Related skills

landing-page-guide-v2

by bear2u

Create distinctive, high-converting landing pages that combine proven conversion elements with exceptional design quality. Build beautiful, memorable landing pages using Next.js 14+ and ShadCN UI that avoid generic AI aesthetics while following the 11 essential elements

Frontend
3486

keyword-research

by openclaw

Discovers high-value keywords with search intent analysis, difficulty assessment, and content opportunity mapping. Essential for starting any SEO or GEO content strategy.

Frontend
24138

markitdown

by K-Dense-AI

Convert various file formats (PDF, Office documents, images, audio, web content, structured data) to Markdown optimized for LLM processing. Use when converting documents to markdown, extracting text from PDFs/Office files, transcribing audio, performing OCR on images, extracting

Frontend
75173

interactive-dashboard-builder

by anthropics

Build self-contained interactive HTML dashboards with Chart.js, dropdown filters, and professional styling. Use when creating dashboards, building interactive reports, or generating shareable HTML files with charts and filters that work without a server.

Frontend
2298

google-official-seo-guide

by littleben

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

Frontend
101196

svg-precision

by dkyazzentwatwa

Deterministic SVG generation, validation, and rendering. Use for icons, diagrams, charts, UI mockups, or technical drawings requiring structural correctness and cross-viewer compatibility.

Frontend
233466