
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@tangible/ui
Advanced tools
Design system for Tangible WordPress plugins. React components, CSS custom property tokens, and CSS-only form elements.
Live Storybook: https://storybook-tangible-ui.pages.dev
npm install @tangible/ui
Some components require additional packages. Install only what you use:
| Package | Required by | Size |
|---|---|---|
@floating-ui/react | Select, MultiSelect, Combobox, Dropdown, Tooltip | ~90 KB |
@tanstack/react-table | DataTable | ~50 KB |
# If using Select, Dropdown, Tooltip, etc.
npm install @floating-ui/react
# If using DataTable
npm install @tanstack/react-table
Components without these dependencies (Button, Card, Accordion, Modal, Tabs, etc.) work with zero additional installs.
import '@tangible/ui/styles';
For WordPress plugin contexts where CSS layers can lose to unlayered theme styles:
import '@tangible/ui/styles/unlayered';
All components require the .tui-interface wrapper to access design tokens:
function App() {
return (
<div className="tui-interface">
{/* Your UI here */}
</div>
);
}
Set data-theme on the wrapper:
<div className="tui-interface" data-theme="dark">
"dark" — force dark mode"auto" — follow prefers-color-schemeimport { Button, Card, Select, SelectOption } from '@tangible/ui';
function Example() {
return (
<Card>
<Card.Body>
<Button label="Save" theme="primary" />
<Select placeholder="Choose..." onValueChange={(v) => console.log(v)}>
<Select.Trigger />
<Select.Content>
<Select.Option value="a">Option A</Select.Option>
<Select.Option value="b">Option B</Select.Option>
</Select.Content>
</Select>
</Card.Body>
</Card>
);
}
Individual component imports are available if your bundler doesn't tree-shake the barrel export:
import { Button } from '@tangible/ui/components/Button';
import { Tooltip } from '@tangible/ui/components/Tooltip';
Components are styled via CSS custom properties. Override them on .tui-interface or any ancestor:
/* Global overrides */
.tui-interface {
--tui-radius-md: 2px;
--tui-focus-ring-color: hotpink;
}
/* Scoped to a specific context */
.my-sidebar .tui-interface {
--tui-button-radius: 0;
--tui-control-height-md: 32px;
}
Each component reads its own --tui-{component}-* tokens via fallback chains. These are never defined by TUI — only read. Set them from consuming code:
.compact-form {
--tui-accordion-padding: 8px;
--tui-select-trigger-radius: 2px;
--tui-modal-spacing: 24px;
}
See each component's styles.scss header for its full token API.
All form controls share a unified sizing system:
.my-context .tui-interface {
--tui-control-height-sm: 28px;
--tui-control-height-md: 32px;
--tui-control-height-lg: 40px;
/* Optional: decouple font size from size tier */
--tui-control-font-size-sm: 13px;
--tui-control-font-size-md: 13px;
--tui-control-font-size-lg: 14px;
}
Four icon sets available via the registry: system, cred, reaction, player.
import { Icon } from '@tangible/ui';
<Icon name="system/check" />
<Icon name="reaction/clap-fill" size="lg" />
npm install
npm run storybook # Dev server on port 6006
npm run storybook # Dev server
npm run build:lib # Build library (outputs to publish/)
npm run lint # ESLint
npm run test # Unit tests (vitest, jsdom)
npm run test:storybook # Story + a11y tests (vitest, Playwright chromium)
npm run test:visual # Visual regression (Playwright)
npm run test:visual:update # Regenerate visual baselines
CLAUDE.md — Architecture, patterns, conventions, gotchasCONTEXT.md — Project background and design philosophyTIMELINE.md — Development roadmapTESTING.md — Testing strategy and infrastructureCHANGELOG.md — Release historyUnder active development. Component APIs are stabilising but may change before 1.0.
FAQs
Tangible Design System
We found that @tangible/ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.