
Security News
The Next Open Source Security Race: Triage at Machine Speed
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.
tw-react-components
Advanced tools
A set of React components build with TailwindCSS to make a nice dashboard.
A comprehensive library of React components built with TailwindCSS for creating beautiful and responsive dashboards.
Check out the live demo to see the components in action.
# Using npm
npm install tw-react-components
# Using yarn
yarn add tw-react-components
# Using pnpm
pnpm add tw-react-components
Add the required plugins to your tailwind.config.js:
module.exports = {
content: [
// ...
'./node_modules/tw-react-components/**/*.{js,ts,jsx,tsx}',
],
plugins: [
require('@tailwindcss/forms'),
require('tailwindcss-animate'),
// Include the custom plugin from tw-react-components (optional)
require('tw-react-components/tailwindcss-plugin'),
],
};
Add the following import to your main CSS file:
@import 'tw-react-components/index.css';
This library provides a wide range of components:
Layout: Building blocks for page layouts
Layout - Main container for your applicationFlex - Flexible box layout componentBlock - Block-level layout componentCard - Container with styling and functionalityNavigation:
Navbar - Top navigation barSidebar - Side navigation componentTabs - Tabbed interface componentData Display:
Table - Regular table componentDataTable - Advanced data table with sorting and filteringList - Displaying lists of dataListSorter - Sortable list componentBadge - Small status indicatorInput & Form:
Button - Various button stylesForm - Form controls and helpersSwitch - Toggle switch componentFeedback & Overlay:
Dialog - Modal dialog boxesPopover - Content that appears over the UITooltip - Information shown on hoverSheet - Slide-in panelsSkeleton - Loading placeholdersSpinner - Loading indicatorHint - Contextual hints and tipsUtilities:
Separator - Visual dividersCollapsible - Expandable/collapsible contentDropdownMenu - Menu that appears on clickPagination - Navigate through pages of contentThemeSelector - Toggle between light and dark themesimport React from 'react';
import { Button, Card, Flex } from 'tw-react-components';
function MyComponent() {
return (
<Card className="p-4">
<h2 className="text-lg font-medium">Card Title</h2>
<p className="mt-2 text-sm text-gray-500">Card content goes here</p>
<Flex className="mt-4 justify-end gap-2">
<Button variant="outline">Cancel</Button>
<Button>Submit</Button>
</Flex>
</Card>
);
}
This project uses Nx as a build system and Yarn as a package manager.
# Install dependencies
yarn
# Start the development server
yarn start
# Build the library
yarn build
# Run tests
yarn test
# Lint the code
yarn lint
# Format the code
yarn prettier:fix
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
A set of React components build with TailwindCSS to make a nice dashboard.
The npm package tw-react-components receives a total of 32 weekly downloads. As such, tw-react-components popularity was classified as not popular.
We found that tw-react-components 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
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.

Security News
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.