Toolverse
All skills

docs-demo

by remotion-dev

Add an interactive demo to the Remotion documentation. Use when creating a new u003cDemou003e component for docs pages.

Installation

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

Installation

Quick info

Category
Frontend
Views
42

About this skill

Add an interactive demo to the Remotion documentation. Use when creating a new u003cDemou003e component for docs pages.

How to use

  1. Utwórz nowy komponent React w katalogu packages/docs/components/demos/ (np. MyDemo.tsx). Komponent powinien używać hooków Remotion takich jak useCurrentFrame() i useVideoConfig() do obsługi animacji.

  2. Zarejestruj demo w pliku packages/docs/components/demos/types.ts poprzez zaimportowanie komponentu i eksportowanie obiektu DemoType z polami: id (unikatowy identyfikator), comp (twój komponent), compWidth i compHeight (wymiary kanwy, np. 1280x720), fps (liczba klatek na sekundę, zwykle 30), durationInFrames (długość animacji w klatkach), autoPlay (czy demo odtwarza się automatycznie) oraz options (tablica interaktywnych kontrolek).

  3. Dodaj demo do tablicy demos w pliku packages/docs/components/demos/index.tsx poprzez zaimportowanie stałej demo z ./types i dodanie jej do tablicy.

  4. Jeśli chcesz dodać interaktywne kontrolki, zdefiniuj je w polu options. Każda kontrolka wymaga pola name i optional (wartości: 'no', 'default-enabled' lub 'default-disabled'). Obsługiwane typy to numeric (suwak z min, max, step, default), boolean (checkbox), enum (lista rozwijana z values i default) oraz string (pole tekstowe).

  5. Wartości z kontrolek są przekazywane do komponentu jako inputProps i dostępne jako zwykłe propsy React.

  6. Użyj demo w plikach MDX dokumentacji za pomocą tagu gdzie twój-id to wartość pola id z kroku 2.

Related skills

shadcn-ui-setup

by maneeshanif

Install and configure Shadcn/ui component library with Radix UI primitives, Aceternity UI effects, set up components, and manage the component registry. Use when adding Shadcn/ui to a Next.js project or installing specific UI components for Phase 2.

Frontend
23167

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

zustand

by lobehub

Zustand state management guide. Use when working with store code (src/store/**), implementing actions, managing state, or creating slices. Triggers on Zustand store development, state management questions, or action implementation.

Frontend
36126

shadcn-ui

by josechifflet

shadcn/ui component patterns for Next.js 16 applications. This skill should be used when adding UI components, customizing component styles, composing primitives, or integrating forms with react-hook-form. Covers installation, customization, composition patterns, and

Frontend
157206

tailwind-design-system

by wshobson

Build scalable design systems with Tailwind CSS, design tokens, component libraries, and responsive patterns. Use when creating component libraries, implementing design systems, or standardizing UI patterns.

Frontend
2676

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