assistant-ui

Component — Development skill for Claude Code

Development community

description: Create new React component Create a new component: $ARGUMENTS Follow project patterns: Location: apps/www/app/components/ (or specify subdirectory) Style: Functional component with TypeScript Props….

How to install Component

Installs to ~/.claude/commands/assistant-ui-tool-ui-component.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/assistant-ui/tool-ui/HEAD/.claude/commands/component.md -o ~/.claude/commands/assistant-ui-tool-ui-component.md

Restart Claude Code, or start a new session, for it to be picked up.

What Component does


description: Create new React component

Create a new component: $ARGUMENTS

Follow project patterns:

  • Location: apps/www/app/components/ (or specify subdirectory)
  • Style: Functional component with TypeScript
  • Props: Properly typed interface
  • Styling: Tailwind CSS classes
  • Exports: Named export (not default)
  • Accessibility: ARIA labels, keyboard navigation
  • Theme: Support light/dark mode via next-themes

Include:

  1. TypeScript interface for props
  2. J

Alternatives in Development

Full documentation available on GitHub

View Source Repository