Socket
Book a DemoInstallSign in
Socket

@buun_group/brutalist-ui

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@buun_group/brutalist-ui

A brutalist-styled component library

1.1.3
latest
Source
npmnpm
Version published
Maintainers
0
Created
Source
Precast

Brutalist UI Components

A brutalist-styled React component library that embraces raw, unpolished aesthetics

Bold typography • Stark contrasts • Geometric shapes • Raw functionality

npm version License: MIT PRs Welcome

📚 Documentation | 🎨 Live Examples

📦 Installation

npm install @buun_group/brutalist-ui
# or
yarn add @buun_group/brutalist-ui
# or
pnpm add @buun_group/brutalist-ui
# or
bun add @buun_group/brutalist-ui

🚀 Quick Start

import { Button, Card, Input } from '@buun_group/brutalist-ui';
// Styles are included with the components

function App() {
  return (
    <Card variant="brutal">
      <Card.Header>
        <h1>Welcome to Brutalist UI</h1>
      </Card.Header>
      <Card.Content>
        <Input placeholder="Enter text" variant="brutal" />
        <Button variant="brutal">Click me</Button>
      </Card.Content>
    </Card>
  );
}

🎨 Styling & Theming

The library includes all necessary CSS styles. Just import the components and use them!

Custom Theming

Override CSS variables to customize the look:

:root {
  --brutal-accent: #ff0066;          /* Change accent color */
  --brutal-border-width: 3px;        /* Thicker borders */
  --brutal-shadow: 6px 6px 0px #000; /* Bigger shadows */
  --brutal-font-display: 'Bebas Neue', cursive;
}

📖 Complete Styling Guide - Detailed documentation on theming, CSS variables, and customization.

🎨 Design Principles

PrincipleDescription
Raw AestheticsUnpolished, honest design that shows the structure
Bold TypographyStrong, impactful text that commands attention
High ContrastStark black and white with accent colors
Geometric ShapesSimple, bold shapes with thick borders
Functional FocusUtility over decoration, form follows function

📚 Components

Layout Components

ComponentDescriptionVariants
ContainerResponsive container with max-widthdefault, fluid, tight
StackFlexible stack layout with spacinghorizontal, vertical
AspectRatioMaintains aspect ratio for content-
SeparatorVisual divider between contenthorizontal, vertical

Form Components

ComponentDescriptionFeatures
ButtonInteractive button elementVariants, sizes, loading state
InputText input fieldVariants, sizes, validation
InputOTPOne-time password inputAuto-focus, paste support
TextareaMulti-line text inputAuto-resize, character count
SelectDropdown selectionNative & custom variants
CheckboxToggle selectionIndeterminate state
RadioSingle selection from groupCustom styling
SwitchToggle switchAccessible labels
SliderRange slider inputSteps, marks
ToggleToggle button groupMultiple selection
ComboboxSearchable selectFiltering, async loading

Data Display

ComponentDescriptionFeatures
TableData tableSorting, selection, pagination
CardContent containerHeader, content, footer sections
BadgeStatus indicatorVariants, sizes
AvatarUser representationImage, fallback, status
TypographyText stylingHeadings, paragraphs, links
AlertNotification messageTypes, dismissible
ToastTemporary notificationAuto-dismiss, actions

Navigation

ComponentDescriptionFeatures
NavigationSite navigationResponsive, dropdowns
SidebarSide navigationCollapsible, fixed
BreadcrumbLocation indicatorSeparators, truncation
TabsTabbed interfaceLazy loading, keyboard nav
PaginationPage navigationPage size, jump to page
TableOfContentsDocument outlineSmooth scroll, active tracking

Overlay Components

ComponentDescriptionFeatures
DialogModal dialogSizes, close on outside click
DrawerSlide-out panelPositions, overlay
PopoverFloating contentPositioning, triggers
TooltipHelpful hintsDelay, positions
HoverCardRich hover contentDelay, interactive
ContextMenuRight-click menuNested menus, shortcuts
SheetBottom sheetSwipe to dismiss, snap points
DropdownDropdown menuNested items, dividers
CommandCommand paletteSearch, shortcuts

Feedback Components

ComponentDescriptionFeatures
ProgressProgress indicatorDeterminate, indeterminate
SpinnerLoading spinnerSizes, custom animation
SkeletonLoading placeholderShapes, animation

Data Visualization

ComponentDescriptionFeatures
BarChartBar chart visualizationResponsive, tooltips
LineChartLine chart visualizationMultiple series, interpolation
PieChartPie chart visualizationLabels, animations
AreaChartArea chart visualizationStacked, gradients
ChartBase chart componentCustomizable, plugins

Interactive Components

ComponentDescriptionFeatures
AccordionCollapsible contentSingle/multiple, animations
CarouselContent sliderTouch support, indicators
ScrollAreaCustom scrollbarHorizontal/vertical scroll

Utilities

ComponentDescription
ThemeTheme provider and utilities
ShapesBrutalist SVG shapes collection

🛠️ Development

Prerequisites

  • Node.js 18+ or Bun 1.0+
  • Git

Setup

# Clone the repository
git clone https://github.com/yourusername/brutalist-components.git
cd brutalist-components/packages/components

# Install dependencies
bun install

# Start development
bun run dev

Scripts

ScriptDescription
bun run devStart development mode with watch
bun run buildBuild the library
bun run testRun tests
bun run lintRun linter
bun run type-checkCheck TypeScript types

🤝 Contributing

We love contributions! Please see our Contributing Guide for details.

📄 License

MIT © Brutalist UI Contributors

🙏 Acknowledgments

Built with:

Making the web bold, raw, and beautiful.

Keywords

react

FAQs

Package last updated on 30 Jul 2025

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.