primitives

Provide unstyled React UI primitives for building chat interfaces.

Updated Apr 28, 2025
One-click install
npx skills add https://github.com/tim-o-private/llm-agent --skill primitives
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: primitives
Source: https://github.com/tim-o-private/llm-agent/tree/main/.agents/skills/primitives
Command: npx skills add https://github.com/tim-o-private/llm-agent --skill primitives

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a set of unstyled, composable UI components that streamline the development of custom chat interfaces, reducing boilerplate code and ensuring consistency.

Core Features & Use Cases

  • Reusable Components: Offers primitives for threads, message composition, individual messages, and action bars.
  • Customization: Designed to be styled with your own design system (e.g., Tailwind CSS) for full visual control.
  • Use Case: Quickly build a custom chat UI for your application by assembling and styling these fundamental building blocks, rather than starting from scratch.

Quick Start

Import and use the ThreadPrimitive, ComposerPrimitive, and MessagePrimitive components to build your chat interface.

Frequently Asked Questions about primitives

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

FAQPage Schema
How do I build a custom chat interface in React without starting from scratch?

You can build a custom chat interface in React by assembling unstyled, composable UI primitives for message threads, input composers, and individual messages, reducing boilerplate code and ensuring consistency.

What are unstyled React UI primitives for chat development?

Unstyled React UI primitives are foundational, component-level building blocks for chat interfaces, such as thread, composer, and message display components, designed to be styled with your own design system.

Can I use Tailwind CSS to style chat interface components?

Yes, you can use Tailwind CSS to style chat interface components. The primitives are designed to be unstyled and composable, allowing you to apply your own design system for full visual control.

Do these chat UI components follow Radix UI patterns?

Yes, the chat UI components follow Radix UI patterns. They focus on providing flexible, themeable, and unstyled primitives that facilitate custom chat UI development.

What is the best way to ensure consistency in custom chat UI development?

The best way to ensure consistency in custom chat UI development is to use a library of unstyled, composable React UI primitives. This approach reduces boilerplate code and provides reusable components for message threads and displays.

Are there limitations to using unstyled primitives for chat interfaces?

The main limitation of using unstyled primitives for chat interfaces is that they require you to implement your own styling and design system. They provide the functional structure but do not include pre-made visual themes.