
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.
HOK-UI is a UI library for React created by HOK in beased on React-Aria and Tailwind
Use the package manager to install.
# Using npm
npm install hokui tailwindcss-react-aria-components tailwindcss-animate
# Using yarn
yarn add hokui tailwindcss-react-aria-components tailwindcss-animate
// tailwind.config.ts
import { hokTheme, hokLayout } from "hokui";
import type { Config } from "tailwindcss";
export default {
content: [
"./node_modules/hokui/dist/**/*.{js,ts,jsx,tsx}",
// your component path
],
theme: {},
plugins: [
require("tailwindcss-react-aria-components"),
require("tailwindcss-animate"),
hokTheme(),
hokLayout(),
],
} satisfies Config;
// app.tsx
import { Button } from "hokui";
import "./tailwind.css";
function App() {
return (
<div>
<Button
size="xl"
rounded="full"
>
this is Button
</Button>
</div>
);
}
export default App;
// app.tsx
import { HokUi } from "hokui";
import "./tailwind.css";
function App() {
return (
<div>
{/* locale Thai with Gregorian calendar */}
<HokUi.Provider locale="th-TH-u-ca-gregory-nu-latn">
<Button
size="xl"
rounded="full"
>
this is Button
</Button>
</HokUi.Provider>
</div>
);
}
export default App;
// app.tsx
import { HokUi, useAlert } from "hokui";
import "./tailwind.css";
function App() {
const { toast, dialog } = useAlert();
return (
<div>
{/* locale Thai with Gregorian calendar */}
<HokUi.Provider locale="th-TH-u-ca-gregory-nu-latn">
<Button
size="xl"
rounded="full"
onPress={() =>
toast({
delay: 3000,
color: "info",
render: <div>this is taost content</div>,
})
}
>
this is Button for toast
</Button>
<Button
size="xl"
rounded="full"
onPress={() =>
dialog({
type: "confirm",
variant: "success",
title: "test",
subTitle: "test",
})
}
>
this is Button for dialog
</Button>
</HokUi.Provider>
</div>
);
}
export default App;
FAQs
A UI Library created by Hok.
We found that hokui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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
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.