
Security News
AI Agent Lands PRs in Major OSS Projects, Targets Maintainers via Cold Outreach
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.
@rubriclab/fabric-ui
Advanced tools
A small, typed React UI kit built on Radix UI and Tailwind CSS. Tree‑shakable, accessible, and designed to drop into modern Next.js apps.
# with bun
bun add @rubriclab/fabric-ui
# with npm
npm i @rubriclab/fabric-ui
# with pnpm
pnpm add @rubriclab/fabric-ui
Peer requirements:
Recommended: Tailwind CSS for styling (tailwindcss, postcss, autoprefixer).
Ensure Tailwind CSS is set up in your app (see Tailwind docs). Components render with utility classNames and look best with your Tailwind theme.
Import components directly from the package:
import { Button, Container, Form, Input } from '@rubriclab/fabric-ui'
export const Example = () => {
return (
<Container>
<Form>
<Input placeholder="Title" />
<Button type="submit" label="Save" />
</Form>
</Container>
)
}
Notes:
Icon uses names from lucide-react (e.g. "Check", "AlertCircle"). size is in Tailwind units (1 = 4px).Browse the src/components directory for props and more examples.
This library relies on a small set of Tailwind tokens that map to CSS variables. Components use classes like bg-background, text-foreground, border-border, bg-accent, text-destructive, etc., and a few spots reference CSS variables directly (e.g., charts use var(--background), var(--foreground), var(--border), var(--hover)).
Required tokens/variables:
--background--foreground--primary--accent--accent-foreground (recommended so selected items render readable text)--border--hover--destructive--muted--muted-foregroundRecommended setup with Tailwind v4 (@theme inline) in your global CSS:
:root {
--background: #ffffff;
--foreground: #171717;
--primary: oklch(54.6% 0.245 262.881);
--accent: oklch(96.53% 0.004 262.56);
--border: oklch(86.68% 0.017 261.56);
--hover: oklch(92.05% 0.008 262.67);
--destructive: oklch(62.72% 0.233 29.22);
--muted: oklch(98.27% 0.001 95.47);
--muted-foreground: oklch(13.68% 0.034 0.09);
/* Optional but recommended */
--accent-foreground: #111111;
}
@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
--primary: oklch(54.6% 0.245 262.881);
--accent: oklch(21.41% 0.007 89.49 / 60%);
--border: oklch(26.98% 0.009 89.63);
--hover: oklch(21.41% 0.007 89.49);
--destructive: oklch(62.72% 0.233 29.22);
--muted: oklch(15.48% 0.006 89.58);
--muted-foreground: oklch(86.68% 0.017 261.56);
/* Optional but recommended */
--accent-foreground: #fafafa;
}
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
--color-primary: var(--primary);
--color-border: var(--border);
--color-hover: var(--hover);
--color-destructive: var(--destructive);
--color-muted: var(--muted);
--color-muted-foreground: var(--muted-foreground);
}
Using Tailwind v3 instead? Map tokens in tailwind.config.{js,ts} to the same CSS variables:
// tailwind.config.ts
import type { Config } from 'tailwindcss'
export default {
content: ['./src/**/*.{ts,tsx,js,jsx}'],
theme: {
extend: {
colors: {
background: 'var(--background)',
foreground: 'var(--foreground)',
primary: 'var(--primary)',
accent: 'var(--accent)',
'accent-foreground': 'var(--accent-foreground)',
border: 'var(--border)',
hover: 'var(--hover)',
destructive: 'var(--destructive)',
muted: 'var(--muted)',
'muted-foreground': 'var(--muted-foreground)'
}
}
},
plugins: []
} satisfies Config
Notes:
Select, DropdownMenu) also use Radix UI internal variables like --radix-select-trigger-height; you do not need to define these.accent-foreground isn’t provided, elements with text-accent-foreground may inherit an unintended color. Defining it ensures good contrast on selected/active states.All component props are exported via TypeScript types:
import type { ButtonProps } from '@rubriclab/fabric-ui'
Conventional commits automatically bump the version and update the changelog. If your local hooks didn’t run, try:
bun prepare
Apache-2.0 © Rubric Lab
See LICENSE for details.
FAQs
UI library
The npm package @rubriclab/fabric-ui receives a total of 0 weekly downloads. As such, @rubriclab/fabric-ui popularity was classified as not popular.
We found that @rubriclab/fabric-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.

Security News
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.

Research
/Security News
Chrome extension CL Suite by @CLMasters neutralizes 2FA for Facebook and Meta Business accounts while exfiltrating Business Manager contact and analytics data.

Security News
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.