Every Angular component library I've used made me install a massive package just to get a modal and a table. You pull in one thing and suddenly your bundle has 40 components you'll never touch, a design system you'll fight against, and CSS specificity wars that make you question your career choices.
I always wanted a library where you just npm install @bloc-ui/modal and get a modal. That's it. No peer dependencies dragging in the entire kitchen. No design opinions you didn't ask for. Just structure, behavior, and accessibility. You bring your own styles.
So I built Bloc UI.
Every component is its own package or a secondary entry point. You install exactly what you use, nothing more. Tree-shaking actually works because there's nothing to shake. You never pulled it in to begin with.
On the CSS side, every color goes through CSS custom properties with neutral grey fallbacks, so it works out of the box but you can skin it however you want. All visual styles sit inside :where() + @layer (zero specificity), so your classes, Tailwind utilities, or design tokens always win. No !important hacks. Components inject their own CSS layer order at runtime, so there's no config on your end. Just install and import.
Checkbox, toggle, radio, date picker, and autocomplete all implement ControlValueAccessor. Works with Tailwind v4.
What's in (20+ components):
Stable: Button, Checkbox, Input, Radio, Spinner, Toggle, Modal, Table, Toast, Date Picker, Tabs, Tooltip, Alert, Autocomplete, Virtual Scroll, Accordion, Pagination, Select, Slider, Badge, Progress, Skeleton, Textarea, Text Highlight
Experimental: Layout, Video Player
Install:
# All-in-one
npm install @bloc-ui/kit
# Or pick what you need
npm install @bloc-ui/core @bloc-ui/modal @bloc-ui/table
- Live docs & demos: https://ui.bloc-verse.com/
- GitHub: https://github.com/debasish1996/BLOC-UI
- Try it in StackBlitz: https://stackblitz.com/github/debasish1996/BLOC-UI
- npm: https://www.npmjs.com/package/@bloc-ui/kit
MIT licensed, solo-maintained. If this is the kind of thing you've been looking for too, a star on GitHub would really mean a lot.
Would love to hear your thoughts, especially around the API design and what components you'd like to see next.
Top comments (0)