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

@dev-core-ui/components

v0.1.10

Published

DevCore reusable UI components

Readme

DevCore UI Components

Reusable React UI components with built-in theming support using CSS Variables.

Features

  • Atomic Design Components - 9 fully-featured UI atoms
  • Light & Dark Theme Support - Complete theme system with SCSS variables
  • CSS Variables (SSR Friendly) - No JavaScript runtime for theming
  • Works with Next.js and React - Framework agnostic
  • Easy Customization - Override theme variables at the project level
  • TypeScript Support - Full type definitions included
  • SCSS Modules - Scoped styles with CSS variables

Installation

npm install @dev-core-ui/components

Quick Start

1. Import Theme

Add the theme SCSS to your main CSS file:

@import '@dev-core-ui/components/theme/light.scss';

2. Use Components

import { Button, Input, Text } from '@dev-core-ui/components';

export default function App() {
  return (
    <div>
      <Text variant="h1">Welcome to DevCore UI</Text>
      <Input label="Email" name="email" />
      <Button variant="primary">Submit</Button>
    </div>
  );
}

Available Components

Button

Primary, secondary, ghost, and danger variants with loading and disabled states.

<Button variant="primary" disabled={false}>Click Me</Button>

Input

Text input with label, error state, and helper text.

<Input label="Email" name="email" type="email" placeholder="Enter email" />

Select

Dropdown select component with options.

<Select label="Choose" name="option">
  <option value="">Select one</option>
  <option value="1">Option 1</option>
</Select>

Checkbox

Checkbox with label and checked state.

<Checkbox label="I agree" name="agree" />

Textarea

Multi-line text input with optional rows.

<Textarea label="Message" name="message" rows={4} />

Label

Label component with optional required indicator.

<Label htmlFor="email">Email *</Label>

Text

Semantic text component for headings and paragraphs.

<Text variant="h1">Heading</Text>
<Text variant="p">Paragraph text</Text>

FileUpload

File input component with size validation.

<FileUpload label="Upload File" name="file" accept=".pdf,.doc" />

FormCard

Container card for form layouts.

<FormCard title="Contact Form">
  <Input label="Name" name="name" />
  <Button variant="primary">Submit</Button>
</FormCard>

Theming

All components use CSS variables from the theme. Customize by overriding variables:

:root {
  --colors-primary: #007bff;
  --colors-secondary: #6c757d;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

@import '@dev-core-ui/components/theme/light.scss';

Available Theme Variables

Colors: primary, secondary, success, danger, warning, info, dark, light, surface, border

Spacing: xs, sm, md, lg, xl (8px, 12px, 16px, 24px, 32px)

Typography: h1-h6, p, caption, label (font-size, font-weight, line-height)

Border Radius: sm, md, lg, xl (4px, 8px, 12px, 16px)

Shadows: xs, sm, md, lg (subtle to prominent)

Motion: fast, normal, slow with easing

Browser Support

  • Chrome/Edge (latest)
  • Firefox (latest)
  • Safari (latest)
  • Mobile browsers

License

MIT

Repository

GitHub - devcore-ui