This is my submission for AI Agents Assemble Hackathon by WeMakeDevs.
Note
For Judges
I plan to continue developing this project beyond the hackathon. At the time of submission, the package was not published to npm, so it needs to be run locally.
I’ve added the local development instructions to the README after submission.
For judging purposes, you can refer to this commit, which represents the final PR before the submission deadline.
NB8 is a React component library that loosely follows the rules of neobrutalism design. Components as seem in himanshubalani.com. Built with TypeScript, it provides a set of reusable UI components that can be easily integrated into your projects.
- Neobrutalist Design: Bold colors, thick borders, and geometric shapes
- TypeScript Support: Full type safety and IntelliSense
- Easy CLI Installation: Simple command-line tool for adding components
- Modular Architecture: Import only what you need
- Responsive Design: Components that work across all devices
- Zero Dependencies: Lightweight with minimal external dependencies
- Customizable: Easy to theme and extend
Since the package hasn't been published to npm yet, follow these steps for local installation:
-
Clone the repository:
git clone https://github.com/himanshubalani/nb8.git cd nb8 -
Build the package:
npm run build
-
Link the package globally:
npm link
-
Navigate to your project:
cd /path/to/your/project -
Link NB8 to your project:
npm link nb8
-
Initialize NB8 in your project:
npx nb8 init
-
Add components:
npx nb8 add button npx nb8 add browser # Add any component you need
npx nb8 init- Initialize NB8 in your projectnpx nb8 add <component-name>- Add a specific component to your project
- AnchorButton - Styled anchor tag button
- Badge - Small status indicator
- Browser - Basic container component
- Button - Primary button component
- CodeBlock - Syntax-highlighted code display
- Polaroid - Photo frame styled component
- ProgressBar - Visual progress indicator
- ProjectCard - Card for displaying project information
- Sidebar - Navigation sidebar component
- SimpleCard - Basic card component
import { Button, Browser } from './nb8/components';
function App() {
return (
<Browser>
<Button onClick={() => console.log('Clicked!')}>
Click Me!
</Button>
</Browser>
);
}For detailed documentation and component demos, visit the docs page or run the development server in project:
npm run devNB8 loosely follows neobrutalism principles:
- Bold, high-contrast colors
- Thick, black borders
- Geometric shapes and angular designs
- Minimalist yet aggressive aesthetics
- Decorative yet functional
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the GNU GPLv3 - see the LICENSE file for details.
Himanshu Balani
- Website: himanshubalani.com
- GitHub: @himanshubalani
- This project was created as a submission for the AI Agents Assemble Hackathon by WeMakeDevs
- Inspired by neobrutalist design principles