Skip to content

ngAtoms/ngatoms

Repository files navigation

NgAtoms

NgAtoms

Angular UI primitives you own.
No runtime dependency — copy components directly into your project.

Documentation npm version Angular 21+ MIT license


Quick Start

# 1. Initialize your project
npx ngatoms init

# 2. Add a component
npx ngatoms add button

Components

Full docs and previews at ngatoms.com.

Component Description Tier Status
accordion Collapsible items, single or multiple mode alpha
alert Feedback messages — 5 variants alpha
avatar Image with fallback initials or icon alpha
badge Labels — 5 variants alpha
button 5 variants, 5 sizes, loading state, icon support alpha
card Container with header, content, footer slots alpha
checkbox Checked, unchecked, and indeterminate states alpha
dialog Modal using native <dialog>, focus trap, backdrop alpha
input 3 variants, 5 sizes, invalid state alpha
progress Progress bar — determinate and indeterminate alpha
radio-group Radio button group with keyboard navigation alpha
select Styled native select — 3 variants, 5 sizes alpha
separator Horizontal or vertical divider alpha
spinner Loading spinner alpha
switch Toggle switch — 3 sizes alpha
tabs Underline and pills variants, keyboard navigation alpha
textarea Multiline input with auto-resize alpha
tooltip Floating label — 4 placements, viewport clamping alpha
date-picker Calendar overlay for date selection 1 in progress
dropdown-menu Contextual action menu 1 in progress
number-input Numeric input with increment/decrement controls 1 alpha
popover Floating content anchored to a trigger 1 in progress
breadcrumb Hierarchical navigation trail 2 planned
combobox Text input with filtered dropdown 2 planned
file-upload Drag-and-drop file input zone 2 planned
pagination Page navigation controls 2 planned
slider Range slider — single and dual thumb 2 planned
stepper Multi-step wizard progress indicator 2 planned
tag-input Input that creates removable tag chips 2 planned
code-block Syntax-highlighted code display 3 planned
color-picker HSL/hex color selector 3 planned
context-menu Right-click triggered menu 3 planned
drawer Side-panel overlay 3 planned
rating Star rating input 3 planned
skeleton Placeholder loading shimmer 3 planned
timeline Vertical event timeline 3 planned
tree Collapsible tree view 3 planned

Monorepo Structure

ngatoms/
├─ packages/
│  ├─ ngatoms        # Published CLI
│  ├─ primitives     # Angular UI primitive components
│  ├─ tokens         # Design tokens / CSS variables
│  └─ utils          # Shared utilities
├─ apps/
│  └─ docs           # Documentation site → ngatoms.com
├─ registry/         # Component registry metadata
└─ tools/            # Build and publishing scripts

Development

npm install
npm run build
npm run test
npm run lint

Release Channels

Branch npm tag Description
main latest Stable
lts lts Long-term support
rc rc Release candidate

License

MIT

About

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors