directions-lab

Featured

Scaffold a directions lab that shows shipped UI (Today) beside 2-3 design directions, with surface tabs, theme and animation toggles and the V1 MVP hover motion, registered in design-proposals Storybook. Use for a directions page or lab, or to explore design directions next to production.

AI & Automation 114,742 stars 19046 forks Updated today MIT

Install

View on GitHub

Quality Score: 92/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

# Directions lab A directions lab is how design explorations are made in this repo: one page, one feature, Today plus two or three directions, every surface the feature appears on, and the same controls every time, so a shared link reads the same to everyone. The artifact directions lab (`ui/src/artifact-directions`) is the precedent and stays the frozen reference; this skill generates new labs in the same shape without redrawing the plumbing by hand. ## What you are making - **The page.** `ui/<slug>-directions.html` plus `ui/src/<slug>-directions/`, a second Vite entry with no backend. All state lives in the URL (`?d=&s=&theme=&chrome=&anim=`, plus `proposal=1` for the proposal palette). A registry module is the single source for the direction ids, digit keys, labels, surfaces, landing view and story id; the toolbar, keyboard, overview board and capture script read it at runtime, and `add-direction` keeps the story's per-direction export in step, so a direction is one registry entry plus one directory. - **The toolbar.** Row 1 is the directions row: the numbered directions then `0.Today` last, as a segmented control, with Theme and Animation right-aligned. Row 2 is the surfaces row: Overview plus one tab per surface. Row 2 is written only when the lab is scaffolded with more than one surface (a surface added later to a one-surface lab needs row 2 by hand, `references/lab-anatomy.md` section 8); with one surface the keyboard legend joins row 1. No...

Details

Author
paperclipai
Repository
paperclipai/paperclip
Created
8 months ago
Last Updated
today
Language
TypeScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Listed

design-lab

Build a development-only "lab" page for a UI component or section, where the person changes its design properties live with sliders, switches and presets, compares variants side by side with made-up data, and finally pastes the settings back so the real component is built from them. Use when the person wants to try, compare or "nail down" the look of a list, card, bar, heading, row, panel or any repeated piece of interface before committing to it, or says "make a lab", "style page", "playground", "let me tweak it", or "give me options to test".

1 Updated yesterday
prototype-ro
Web & Frontend Listed

lh-visual-direction

Giving an interface a look of its own instead of the default one: sourcing the direction from the product's world, writing it down, and testing it for genericness. Trigger: load before a high-fidelity mockup, a landing page, a new visual identity or an icon set for a product with no established design system, or when asked to make an interface distinctive, on-brand, or less generic. Inside an existing design system, the system is the direction: lh-visual-craft.

2 Updated 2 days ago
jrodrigopuca
Web & Frontend Listed

design-directions

Use when asked "what should this look like?", "show me design options", "pick a look and feel", "mock designs", "re-theme the app", or when starting a new UI. Offers five predefined design directions (clean neutral, bold brand, editorial, soft friendly, dense professional) as visual mocks of the project's own pages, every one checked for WCAG contrast and accessibility before it is shown, generates more on request, and turns the choice into an ADR draft and a token file. Writes mock files only, never tracked files.

0 Updated today
lloydbrian