New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

compies

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compies

This library provides some useful reusable React components.

latest
npmnpm
Version
0.0.9
Version published
Maintainers
1
Created
Source

Compies Component Library

This library provides some useful reusable React components.

Features

  • Pre-built, customizable React components.
  • Compatible with modern React frameworks like Vite (requires ECMAScript 6 support).

Installation

Install the library using npm or yarn:

npm install compies
# or
yarn add compies

Usage

Import and use the components in your project:

import { LlmChat, Terminal } from 'compies';

import "compies/style";

function App() {
    return (
        <div>
            <div class="llm-chat">
                <LlmChat 
                    withHistory={true} 
                    llm={
                        name: "openai", 
                        model: "gpt-4o", 
                        baseUri: "https://api.openai.com/v1", 
                        apiKey: "your-api-key" 
                    }
                </LlmChat>
            </div>
            <div class="terminal">
                <Terminal websocketUrl="ws://localhost:12345/ws" />
            </div>
        </div>
    );
}

Examples

Llm chat

Alt text

Terminal

Alt text

Storybook

For detailed usage and customization options, visit the storybook.

FAQs

Package last updated on 27 Sep 2025

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