
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
HTML-first React component library with semantic elements, multi-OS themes, and production-ready visual node editor
Tanuki UI is a styled component library based on standard HTML elements. It provides ready-to-use components while preserving HTML semantics.
npm install tanuki-ui
import { H1, P, Button } from 'tanuki-ui';
import 'tanuki-ui/style.css';
function App() {
return (
<>
<H1>Welcome to Tanuki UI</H1>
<P>A UI library where HTML elements work as they are.</P>
<Button onClick={() => alert('Hello!')}>Click me</Button>
</>
);
}
Peer Dependencies: React 18.0.0+, React DOM 18.0.0+
// Write like regular HTML
import { H1, P, Button, Input, Form } from 'tanuki-ui';
function App() {
return (
<main>
<H1>Page Title</H1>
<P>This is a paragraph. You can use it just like an HTML p element.</P>
<Form>
<Input type="text" placeholder="Enter text" />
<Button type="submit">Submit</Button>
</Form>
</main>
);
}
Components are exported with both HTML element names and semantic names:
// Both are the same component
import { P, Paragraph } from 'tanuki-ui';
import { H1, Heading } from 'tanuki-ui';
import { A, Anchor } from 'tanuki-ui';
Full TypeScript support with standard HTML attribute inheritance:
import { Button, Input } from 'tanuki-ui';
// Use HTML attributes as-is
<Button
type="submit"
disabled={loading}
onClick={handleClick}
data-testid="submit-btn"
>
Submit
</Button>
<Input
type="email"
required
placeholder="Email address"
onChange={handleChange}
/>
import { AppLayout, SidebarLayout } from 'tanuki-ui/layouts';
import 'tanuki-ui/layouts/style.css';
function App() {
return (
<AppLayout>
<SidebarLayout
sidebar={<nav>Navigation</nav>}
main={<main>Main Content</main>}
/>
</AppLayout>
);
}
import { NodeEditor } from 'tanuki-ui/extended/node-editor';
import 'tanuki-ui/extended/node-editor/style.css';
function GraphEditor() {
const [nodes, setNodes] = useState([]);
const [connections, setConnections] = useState([]);
return (
<NodeEditor
nodes={nodes}
connections={connections}
onNodesChange={setNodes}
onConnectionsChange={setConnections}
/>
);
}
Complete coverage of HTML5 semantic elements:
Content Sections
Article, Section, Nav, Main, Header, Footer, Aside, AddressText Content
H1-H6, P, Blockquote, Pre, Div, HrEmbedded Content
Image (Img), Figure, FigcaptionLists
List (Ul), ListItem (Li), Descriptions (Dl)Forms
Form, Button, Input, Textarea, Select, Label, Fieldset, LegendProgress, Meter, OutputForm Extensions
MediaInput - File uploadRangeInput - SliderSwitchInput - Toggle switchSortableList - Drag & drop sortingDialogs & Navigation
Dialog, Modal, Alert, DrawerContextualMenu, PopoverTabNav, TabBar, SidebarListLayouts
AppLayout, SidebarLayout, HeaderMainLayoutScrollView, ParavirtualScrollPanel System (Dynamic layouts)tanuki-ui/extended/node-editor provides a production-ready visual editor:
Features:
// Import theme CSS
import 'tanuki-ui/styles/monotone.css'; // Default theme
import 'tanuki-ui/styles/github-dark.css';
import 'tanuki-ui/styles/ios12.css';
// ... and more
Accessibility
monotone.css) - High contrast accessibility-focused design with clear visual hierarchy and enhanced readabilityModern
apple-liquid-glass.css) - Premium glass morphism design with translucent effects and blurDeveloper
github-dark.css) - GitHub's dark theme with professional developer-focused aestheticsvercel.css) - Geist-based palette with official neutral/brand tokens and typography updatesApple
ios12.css) - Implements Apple's Human Interface Guidelines with authentic iOS styling and dynamic color systemmacOS12.css) - Apple's design system with translucent effects and refined interface elementsandroid12.css) - Based on Material You design system with dynamic color, large touch targets, and smooth animationsmaterial-design.css) - Google's Material Design system with elevation layers and dynamic color paletteMicrosoft
windows11.css) - Modern, clean design with subtle shadows, rounded corners, and Fluent Design principlesRetro
8bit-gameconsole-rpg.css) - Authentic retro 8-bit console experience with pixel-perfect design, monochrome palette, chunky borders, and classic RPG aestheticswindows98.css) - Recreates the classic Windows 98 interface with 3D beveled controls, retro typography, and nostalgic aestheticswindows-xp.css) - Recreates the iconic Luna Blue interface with gradient buttons, rounded corners, and the classic XP aestheticGaming
handheld-console.css) - Nintendo Switch and handheld gaming aesthetics with rounded corners and vibrant colorsDesign
figma.css) - Recreates Figma's modern design system with clean typography, subtle shadows, and professional aestheticsEnterprise
aws.css) - Amazon Web Services console-inspired design with professional cloud interface aestheticsProductivity
linear.css) - Linear app-inspired modern design with clean typography and minimal interface elementsAI
openai.css) - OpenAI's clean interface styling with thoughtful typography and modern color paletteMedia
youtube.css) - Modern, clean design inspired by YouTube's interface with rounded corners, subtle shadows, and video-centric aestheticsCommunication
naver-line.css) - Inspired by LY Corporation's LINE brand with crisp white surfaces, bright green accents, and friendly messaging vibestanuki-ui): Core componentstanuki-ui/layouts): Layout componentstanuki-ui/extended/node-editor): Advanced editortanuki-ui/themes/LiquidGlassFilter): Special effectsUnlicense
# Start development environment
npm run dev:playground
# Start Storybook
npm run dev:storybook
# Build
npm run build
# Type check
npm run typecheck
# Run tests
npm test
# Lint
npm run lint
tanuki-ui/
├── src/
│ ├── bars/ # Toolbars, tab bars
│ ├── blocks/ # Icons, text blocks
│ ├── controls/ # Control components
│ ├── dialogs/ # Dialogs, modals
│ ├── elements/ # HTML basic elements
│ ├── extended/ # Extended components
│ │ └── node-editor/ # Node editor
│ ├── form/ # Form elements
│ ├── hooks/ # Custom hooks
│ ├── layouts/ # Layout components
│ ├── navigations/ # Navigation
│ └── themes/ # Theme related
├── public/
│ └── styles/ # Preset themes
└── docs/ # Documentation
FAQs
HTML-first React component library with semantic elements, multi-OS themes, and production-ready visual node editor
We found that tanuki-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

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.