
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@nixopus/ui
Advanced tools
Nixopus UI component library - Pure React components for building Nixopus applications
Nixopus UI component library - Pure React components for building Nixopus applications.
npm install @nixopus/ui
# or
yarn add @nixopus/ui
# or
pnpm add @nixopus/ui
import { Button, Card, Input } from '@nixopus/ui';
function App() {
return (
<Card>
<Input placeholder="Enter text" />
<Button>Click me</Button>
</Card>
);
}
import type { ButtonProps, CardProps } from '@nixopus/ui';
const buttonProps: ButtonProps = {
variant: 'default',
children: 'Click me'
};
This package includes all pure UI components from the Nixopus design system:
This package uses Tailwind CSS v4. Make sure you have Tailwind configured in your project and include the necessary CSS variables for theming.
For Tailwind CSS v4, add the following to your main CSS file (e.g., globals.css):
@import 'tailwindcss';
/* Scan the nixopus-ui source files for classes */
@source "../../packages/nixopus-ui/src/**/*.{ts,tsx}";
/* OR if installed via npm: */
/* @source "node_modules/@nixopus/ui/src/**/*.{ts,tsx}"; */
@plugin "tailwindcss-animate";
Important: For Tailwind v4, you need to scan the source files (src/**/*.{ts,tsx}) of this package, not the built dist files, so that Tailwind can properly detect all utility classes used in the components.
Ensure you have PostCSS configured with the Tailwind plugin:
// postcss.config.mjs
const config = {
plugins: ["@tailwindcss/postcss"],
};
export default config;
Ensure your CSS includes the necessary CSS variables for theming. The components use CSS variables for colors, spacing, and other design tokens. See billing-view/app/globals.css for a complete example of CSS variable definitions.
This package includes full TypeScript support with exported types:
You can import types from the main entry point:
import type {
ButtonProps,
CardProps,
InputProps,
// ... and more
} from '@nixopus/ui';
For better tree-shaking and organization, you can import types from specific paths:
// Import component types only
import type {
ChartConfig,
CarouselApi,
BannerProps,
BadgeGroupProps
} from '@nixopus/ui/types/components';
// Import all types
import type { /* all types */ } from '@nixopus/ui/types';
This package is tree-shakeable. Import only what you need:
// Good - tree-shakeable
import { Button } from '@nixopus/ui';
// Avoid - imports everything
import * as UI from '@nixopus/ui';
Fair-Code Sustainable Use License
FAQs
Nixopus UI component library - Pure React components for building Nixopus applications
The npm package @nixopus/ui receives a total of 2 weekly downloads. As such, @nixopus/ui popularity was classified as not popular.
We found that @nixopus/ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

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.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.