🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@insforge/ui

Package Overview
Dependencies
Maintainers
5
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@insforge/ui

React UI component library, design tokens, and Tailwind preset for InsForge apps

latest
Source
npmnpm
Version
0.1.7
Version published
Maintainers
5
Created
Source

@insforge/ui

Shared React UI components, design tokens, and Tailwind preset used across InsForge apps.

Installation

npm install @insforge/ui

Required peer dependencies:

npm install react react-dom tailwindcss

Setup

  • Import styles once in your app entry CSS:
@import '@insforge/ui/styles.css';
  • Add the InsForge Tailwind preset:
import insforgeTailwindPreset from '@insforge/ui/tailwind-preset';

/** @type {import('tailwindcss').Config} */
export default {
  presets: [insforgeTailwindPreset],
  content: ['./src/**/*.{js,ts,jsx,tsx}'],
};
  • Use components:
import { Button, Dialog, DialogContent, DialogHeader, DialogTitle, Input } from '@insforge/ui';

export function Example() {
  return (
    <Dialog>
      <DialogContent>
        <DialogHeader>
          <DialogTitle>Update profile</DialogTitle>
        </DialogHeader>
        <Input placeholder="Name" />
        <Button className="mt-3">Save</Button>
      </DialogContent>
    </Dialog>
  );
}

Exports

  • Components: Button, Badge, Checkbox, CopyButton, Dialog, DropdownMenu, Input, InputField, MenuDialog, Pagination, SearchInput, Select, Switch, Tabs, Tooltip, CodeBlock
  • Utilities: cn
  • Styling entrypoints: @insforge/ui/styles.css, @insforge/ui/tailwind-preset

Theming

  • Token variables are provided in styles.css.
  • Dark mode is enabled by adding the dark class on a parent element.

Keywords

insforge

FAQs

Package last updated on 02 Jul 2026

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