dui

Guide frontend development with DUI components and design tokens.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/deepfuturenow/dui --skill dui
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dui
Source: https://github.com/deepfuturenow/dui/tree/main/skills/dui
Command: npx skills add https://github.com/deepfuturenow/dui --skill dui

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

DUI provides a cohesive, design-token driven UI framework built on Lit web components, enabling teams to rapidly assemble accessible, consistent interfaces with less boilerplate.

Core Features & Use Cases

  • Component catalog: leverage 57 component families to assemble dashboards, forms, and UIs with consistent theming.
  • Theming & tokens: apply a 4-primitives OKLCH color system and design tokens for scalable theming and dark mode.
  • Inspector workflows: utilize runtime inspection and mutation workflows when @dui/inspector is available to prototype and export changes.
  • End-to-end UI patterns: compose real-world blocks (cards, charts, maps, data tables) using a standardized component set.

Quick Start

Install DUI in your project and start importing the needed components, e.g. import "@deepfuture/dui-components/button" to begin using dui-button.

Frequently Asked Questions about dui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build web component interfaces using design tokens?

Build web component interfaces using design tokens by importing Lit-based components and applying CSS custom properties for theming. This enforces best practices like ::part root and token-driven theming to assemble consistent UIs with less boilerplate.

What is a design token driven UI framework and when do I need one?

A design token driven UI framework uses predefined CSS custom properties to standardize theming across components. You need one when assembling accessible, consistent interfaces at scale, reducing boilerplate while maintaining cohesive visual systems.

How do I apply dark mode theming with an OKLCH color system?

Apply dark mode theming with an OKLCH color system by utilizing a 4-primitives color framework and design tokens. This scalable theming approach allows seamless switching between light and dark modes across all component families.

Can I use runtime inspection to prototype and export UI component changes?

Use runtime inspection to prototype and export UI component changes when the inspector package is available. It enables mutation workflows that allow you to inspect components at runtime and export modifications directly to your project.

Does this Lit web component framework support composing complex data tables and dashboards?

This Lit web component framework supports composing complex data tables and dashboards through a catalog of 57 component families. You can assemble real-world blocks like cards, charts, maps, and data tables using a standardized component set.

What are the limitations of using CSS custom properties for token-driven theming?

Limitations of using CSS custom properties for token-driven theming include dependency on browser support for CSS shadow parts and the need for strict adherence to ::part root conventions to maintain consistent styling across component boundaries.