npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@starfleet-technology/lcars

v0.0.3

Published

Star Trek LCARS (Library Computer Access/Retrieval System) UI components built with Stencil for universal web framework compatibility

Downloads

13

Readme

LCARS Web Components

npm version npm downloads license TypeScript build status Stencil Web Components LCARS Design

Authentic Star Trek LCARS (Library Computer Access/Retrieval System) UI components built with Stencil for universal web framework compatibility - Part of the Starfleet Technology LCARS Design System

🚀 Installation

npm/yarn/pnpm

# npm
npm install @starfleet-technology/lcars

# yarn
yarn add @starfleet-technology/lcars

# pnpm
pnpm add @starfleet-technology/lcars

CDN

<!-- Latest version -->
<script type="module" src="https://unpkg.com/@starfleet-technology/lcars/dist/lcars/lcars.esm.js"></script>

<!-- Specific version -->
<script type="module" src="https://unpkg.com/@starfleet-technology/[email protected]/dist/lcars/lcars.esm.js"></script>

📚 Documentation

🎯 Usage

Basic Usage

<!DOCTYPE html>
<html>
<head>
  <script type="module" src="https://unpkg.com/@starfleet-technology/lcars/dist/lcars/lcars.esm.js"></script>
</head>
<body>
  <!-- Use LCARS components directly in HTML -->
  <lcars-button color="primary">Engage</lcars-button>
</body>
</html>

Framework Integration

React

import { LcarsButton } from '@starfleet-technology/lcars/react';

export function App() {
  return (
    <div>
      <LcarsButton color="primary" onClick={() => console.log('Engage!')}>
        Engage
      </LcarsButton>
    </div>
  );
}

Vue

<template>
  <div>
    <lcars-button color="primary" @click="handleClick">
      Engage
    </lcars-button>
  </div>
</template>

<script setup>
import { LcarsButton } from '@starfleet-technology/lcars/vue';

const handleClick = () => {
  console.log('Engage!');
};
</script>

Angular

// app.module.ts
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { defineCustomElements } from '@starfleet-technology/lcars/loader';

// Define custom elements for Angular
defineCustomElements();

@NgModule({
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  // ... other module configuration
})
export class AppModule { }
<!-- app.component.html -->
<lcars-button color="primary" (click)="handleClick()">
  Engage
</lcars-button>

🧩 Components

Interactive Components

  • LcarsButton - Distinctive LCARS-style buttons with various colors and sizes

Layout Components

(Coming Soon)

  • LcarsPanel - Geometric panel containers with LCARS styling
  • LcarsGrid - LCARS-themed grid layout system
  • LcarsFrame - Outer frame containers with authentic border styling

Display Components

(Coming Soon)

  • LcarsDisplay - Data readout displays with scrolling text
  • LcarsIndicator - Status lights and indicators
  • LcarsProgressBar - Progress indicators with LCARS styling

Navigation Components

(Coming Soon)

  • LcarsTab - Tab navigation with LCARS design
  • LcarsMenu - Menu systems matching LCARS interfaces

🎨 LCARS Design System

This package implements the authentic Library Computer Access/Retrieval System (LCARS) design language from Star Trek: The Next Generation and beyond.

Design Principles

  • Functionality First: Clean, efficient interfaces that prioritize usability
  • Distinctive Typography: Custom fonts and text treatments
  • Color Coding: Consistent color usage for status and categorization
  • Geometric Shapes: Angular elements and distinctive button styles
  • Audio Feedback: Optional sound effects for enhanced immersion

Theming

/* Custom CSS properties for theming */
:root {
  --lcars-primary-color: #ff9900;
  --lcars-secondary-color: #9999ff;
  --lcars-background-color: #000000;
  --lcars-text-color: #ffcc99;
}

📖 API Reference

LcarsButton

The primary interactive component for LCARS interfaces.

interface LcarsButtonProps {
  /**
   * Color variant for the button
   */
  color?: 'default' | 'primary' | 'secondary' | 'alert' | 'warning';
  
  /**
   * Size of the button
   */
  size?: 'small' | 'medium' | 'large';
  
  /**
   * Whether the button is disabled
   */
  disabled?: boolean;
}

Properties

| Property | Type | Default | Description | |----------|------|---------|-------------| | color | string | 'default' | Button color variant (default, primary, secondary, alert, warning) | | size | string | 'medium' | Button size (small, medium, large) | | disabled | boolean | false | Whether the button is disabled |

Usage

<!-- Basic button -->
<lcars-button>Default Button</lcars-button>

<!-- Primary button -->
<lcars-button color="primary">Engage</lcars-button>

<!-- Alert button -->
<lcars-button color="alert">Red Alert</lcars-button>

<!-- Large disabled button -->
<lcars-button size="large" disabled>Offline</lcars-button>

For complete API documentation, see the API Reference.

🛠️ Development

Prerequisites

  • Node.js 18+
  • pnpm 8+

Setup

# Clone the monorepo
git clone https://github.com/starfleet-technology/lcars-webcomponents.git
cd lcars-webcomponents

# Install dependencies
pnpm install

# Build all packages
pnpm build

# Start development mode
pnpm dev

Testing

# Run all tests
pnpm test

# Run tests for this package only
pnpm test --filter="@starfleet-technology/lcars"

# Run with coverage
pnpm test:coverage

Building

# Build this package
pnpm build --filter="@starfleet-technology/lcars"

# Build with analysis
pnpm build:analyze

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Quick Start

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Add tests for new functionality
  5. Ensure all tests pass (pnpm test)
  6. Commit your changes (git commit -m 'Add amazing feature')
  7. Push to your branch (git push origin feature/amazing-feature)
  8. Open a Pull Request

🐛 Issues & Support

📦 Related Packages

🌟 Demo Applications

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🖖 Acknowledgments

  • Star Trek and LCARS are trademarks of CBS Studios Inc.
  • Inspired by the original LCARS design from Star Trek: The Next Generation
  • Built with Stencil for maximum compatibility and performance
  • Thanks to all contributors who help maintain this project

Live long and prosper 🖖

Created with ❤️ by the Starfleet Technology team