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

penta-ui

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

penta-ui

A modern, accessible UI component library built with React, TypeScript, and Styled Components.

latest
npmnpm
Version
0.0.10
Version published
Maintainers
1
Created
Source

UI Component Library

A modern, accessible UI component library built with React, TypeScript, and Styled Components.

Features

  • 🎨 Themeable with light/dark mode support
  • ♿ Accessible components with proper ARIA attributes
  • 📱 Responsive and mobile-friendly
  • 🔧 Easily customizable through theme configuration
  • 🧩 Modular and reusable components

Installation

npm install penta-ui

Quick Start

import React from 'react';
import { ThemeProvider, Button, Input, Container } from 'penta-ui';

function App() {
  return (
    <ThemeProvider>
      <Container>
        <h1>Hello, UI Library!</h1>
        <Input label="Username" placeholder="Enter your username" />
        <Button variant="primary">Click me</Button>
      </Container>
    </ThemeProvider>
  );
}

export default App;

Components

  • Button: A styled button component.
  • Input: A styled input field component.
  • Tabs: A styled tabs component.
  • Checkbox: A styled checkbox component.
  • ThemeProvider: A context provider for managing theme.

Theming

The library comes with a default theme, but you can customize it to match your brand:

import { ThemeProvider, defaultTheme } from 'penta-ui';

const customTheme = {
  ...defaultTheme,
  colors: {
    ...defaultTheme.colors,
    primary: '#ff6b6b',
    secondary: '#546de5'
  }
};

function App() {
  return (
    <ThemeProvider initialTheme="light" customTheme={customTheme}>
      {/* Your app content */}
    </ThemeProvider>
  );
}

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT

FAQs

Package last updated on 12 May 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