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

@de-adlock/ui

v0.1.0

Published

Modern React component library for FiveM with built-in theme management

Readme

@de-adlock/ui

Modern React component library for FiveM with built-in theme management and gaming-specific components.

Installation

npm install @de-adlock/ui
# or
yarn add @de-adlock/ui
# or
pnpm add @de-adlock/ui

Quick Start

import { Button, Input, Window, ThemeProvider } from '@de-adlock/ui'
import '@de-adlock/ui/styles'

function App() {
  return (
    <ThemeProvider>
      <Window title="Game Menu" variant="glass" size="md">
        <Input 
          type="text" 
          label="Character Name" 
          placeholder="Enter name..." 
          autoIcon={true}
        />
        <Button variant="primary" glow>
          Create Character
        </Button>
      </Window>
    </ThemeProvider>
  )
}

FiveM Integration

For automatic theme synchronization with the dl-ui FiveM resource:

import { FiveMThemeProvider } from '@de-adlock/ui'
import '@de-adlock/ui/styles'

function App() {
  return (
    <FiveMThemeProvider>
      {/* Your app - theme will auto-sync with player's selection */}
    </FiveMThemeProvider>
  )
}

Complete Component List

Input Components

  • Input - All HTML5 input types with auto-icons (text, email, password, search, url, tel, number, date, time, etc.)
  • Textarea - Auto-resizing multi-line text input
  • Select - Single/Multi select dropdown with search functionality
  • FileInput - Drag & drop file upload with preview
  • Range - Customizable slider with value display
  • ColorPicker - Advanced color selection tool
  • Checkbox - Styled checkbox input
  • Radio - Radio button groups
  • Toggle - iOS-style toggle switch

UI Components

  • Button - 10+ variants (primary, secondary, success, error, warning, ghost, outline, glass, etc.)
  • Card - Content container with hover effects
  • ActionCard - Gaming menu cards with icons
  • Window - Modal/Dialog with glass morphism
  • Modal - Centered modal overlay
  • Dialog - Confirmation dialogs

Feedback Components

  • Toast & ToastContainer - Notification system
  • Alert - Inline alert messages
  • Badge - Status/count badges
  • Tooltip - Smart hover tooltips
  • WelcomeNotification - Animated welcome messages

Data Components

  • Table - Sortable data tables
  • Pagination - Page navigation
  • Bar - Progress/Health/XP/Skill bars
  • Avatar & AvatarGroup - User avatars

Layout Components

  • Tabs - Tab navigation with pills variant
  • Accordion - Collapsible content sections
  • Sidebar - Navigation sidebar with icons

Gaming-Specific Templates

  • CharacterCreation - Complete character creator with attributes
  • InventorySystem - Item management with categories
  • ThemeEditor - Live theme customization
  • BarDemo - Gaming bars showcase
  • ControlsDemo - Form controls showcase
  • LayoutDemo - Layout components showcase
  • FeedbackDemo - Feedback components showcase
  • DataDemo - Data display showcase

Theming

The library comes with 5 stunning built-in themes:

🎮 Built-in Themes

  • neon - Cyberpunk style with vibrant pink/cyan
  • sakura - Japanese cherry blossom pink theme
  • midnight - Deep blue/purple night theme
  • aurora - Northern lights cyan/purple
  • forest - Nature-inspired green theme

Custom Themes

import { createTheme, ThemeProvider } from '@deadlock/ui'

const myTheme = createTheme({
  name: 'my-theme',
  colors: {
    primary: '#ff0000',
    secondary: '#00ff00',
    // ... other colors
  }
})

function App() {
  return (
    <ThemeProvider defaultTheme={myTheme}>
      {/* Your app */}
    </ThemeProvider>
  )
}

TypeScript Support

Full TypeScript support with exported types for all components and themes.

import type { ButtonProps, Theme } from '@deadlock/ui'

License

MIT © Deadlock

Links