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

@synergytek/react

v1.0.1

Published

Synergy React Component Library

Downloads

254

Readme

Synergy DMS Components

A React component library for Synergy Document Management System.

Installation

Install from npm:

npm install @synergytek/react

Or using yarn:

yarn add @synergytek/react

Or using pnpm:

pnpm add @synergytek/react

Usage

Import the global styles once in your application entry file (e.g., main.jsx or index.js):

import '@synergytek/react';

This automatically imports all the necessary Tailwind CSS styles and configurations.

Importing Components

You can import components in several ways:

// Import from the main package (includes everything)
import { Button, DataGrid, Card, Loader } from '@synergytek/react';

// Or import from specific modules
import { Button, DataGrid } from '@synergytek/react/components';
import { useDebounce } from '@synergytek/react/hooks';
import { useUser, UserProvider } from '@synergytek/react/contexts';
import { cn, formatDate } from '@synergytek/react/utils';
import { RootLayout, Navbar } from '@synergytek/react/layouts';

function App() {
  return (
    <div>
      <Button>Click me</Button>
      <Card>
        <h2>My Card</h2>
      </Card>
    </div>
  );
}

Available Components

Core Components

  • Button - Customizable button component
  • Breadcrumb - Navigation breadcrumb
  • Card - Card container
  • Columns - Column layout
  • ContextMenu - Context menu with trigger
  • DataGrid - Data grid with AG Grid
  • Dropdown - Dropdown component
  • Loader - Loading spinner
  • RadioGroup - Radio button group
  • Select - Select dropdown
  • Separator - Visual separator
  • Slider - Slider input
  • Table - Table component
  • Template - Template component
  • Text - Text component
  • Toolbar - Toolbar component
  • Icon - Icon component
  • Toaster - Toast notifications

Hooks

  • useDebounce - Debounce hook
  • useLocalStorage - Local storage hook

Contexts

  • useNavbar - Navbar context hook
  • useSidebar - Sidebar context hook
  • useUser - User context hook
  • UserProvider - User context provider
  • MenuProvider - Menu context provider
  • SidebarProvider - Sidebar context provider
  • NavbarProvider - Navbar context provider

Utilities

  • cn() - Class name merger (clsx + tailwind-merge)
  • formatDate() - Date formatting utility
  • type() - Type checking utility
  • flattenObject() - Object flattening utility
  • toTitle() - Convert string to title case

Peer Dependencies

Make sure your project has these installed:

{
  "react": "^18.2.0",
  "react-dom": "^18.2.0",
  "react-router-dom": "^7.10.1"
}

Styling

This library uses Tailwind CSS v4 and automatically handles all styling configuration.

No additional Tailwind CSS setup is required in your client project!

Simply import the package once in your entry file:

import '@synergytek/react';

This will automatically:

  • Import all necessary Tailwind CSS styles
  • Configure the theme with custom color variables
  • Set up dark mode support
  • Include all component-specific styles

If your project already uses PostCSS, the package will work seamlessly. If not, you may need to add PostCSS to your build configuration:

// postcss.config.js (optional, only if not already configured)
module.exports = {
  plugins: {
    '@tailwindcss/postcss': {},
  },
}

Versioning

This library follows Semantic Versioning.

To install a specific version:

npm install @synergytek/[email protected]

To update to the latest version:

npm update @synergytek/react

Version History

  • v1.0.3 - Optimized import structure, automatic Tailwind CSS
  • v1.0.2 - Package improvements
  • v1.0.0 - Initial release

See CHANGELOG.md for detailed version history.

Documentation

Development

This is a source-only library. Consuming applications import the source files directly.

License

MIT

Contributing

Please ensure all components follow the established patterns and include proper prop-types or TypeScript definitions.