🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@promptx/desktop

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptx/desktop

PromptX Desktop - Local AI prompt management application

latest
Source
npmnpm
Version
2.2.1
Version published
Weekly downloads
10
-84.13%
Maintainers
1
Weekly downloads
 
Created
Source

AgentX UI Components

This directory contains all React components for the AgentX UI library.

Directory Structure

/layout

Layout components for structuring application UI:

  • ActivityBar - Vertical activity bar with icons
  • Header - Application header with left/center/right sections
  • MainContent - Main content area wrapper
  • Panel - Resizable panel component
  • RightSidebar - Right sidebar with collapsible functionality
  • Sidebar - Left sidebar with navigation
  • StatusBar - Bottom status bar with items

/elements

Atomic UI building blocks (previously /ui):

  • ActionBar - Action button bar
  • AgentLogo - Agent logo component
  • AppHeader - Application header variant
  • Badge - Badge/tag component
  • Button - Primary button component
  • EmptyState - Empty state placeholder
  • ImageAttachment - Image attachment display
  • Input - Text input field
  • ListItem - List item component
  • LoadingState - Loading state indicator
  • MessageAvatar - Message avatar display
  • PageHeader - Page header component
  • Popover - Popover/tooltip component
  • ScrollArea - Scrollable area wrapper
  • SearchInput - Search input field
  • TabNavigation - Tab navigation component
  • TimeAgo - Relative time display
  • TokenUsagePie - Token usage pie chart

/typography

Text rendering and formatting components:

  • DiffViewer - Code diff viewer
  • JSONRenderer - JSON syntax highlighter
  • MarkdownText - Markdown renderer with syntax highlighting

Usage

import { Button, Header, MarkdownText } from "@agentxjs/ui";

function App() {
  return (
    <div>
      <Header left={<h1>AgentX</h1>} />
      <Button>Click me</Button>
      <MarkdownText content="# Hello World" />
    </div>
  );
}

Development

All components include:

  • TypeScript definitions
  • Storybook stories (.stories.tsx)
  • Tailwind CSS styling
  • Accessibility support

To view components in Storybook:

pnpm storybook

FAQs

Package last updated on 07 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts