Getting Started
Components
- Accordion
- Alert
- Alert Dialog
- Aspect Ratio
- Autocomplete
- Avatar
- Badge
- Breadcrumb
- Button
- Button Group
- Calendar
- Card
- Carousel
- Checkbox
- Collapsible
- Combobox
- Command
- Context Menu
- Data Table
- Date Picker
- Dialog
- Dropdown Menu
- Empty
- Field
- Form Field
- Hover Card
- Icon
- Input Group
- Input OTP
- Input
- Item
- Kbd
- Label
- Menubar
- Navigation Menu
- Pagination
- Popover
- Progress
- Radio Group
- Resizable
- Scroll Area
- Select
- Separator
- Sheet
- Sidebar
- Skeleton
- Slider
- Sonner (Toast)
- Spinner
- Switch
- Table
- Tabs
- Textarea
- Toggle
- Toggle Group
- Tooltip
Stack
Health Checks
Scan your codebase for issues. Automatically fix most of them.
The spartan CLI includes a health check tool that scans your components for common issues and outdated patterns. Run it after updating spartan packages to ensure your code stays current.
ng g @spartan-ng/cli:healthcheck
nx g @spartan-ng/cli:healthcheck
What it does
The health check tool identifies issues like:
- Deprecated component APIs or import paths
- Outdated helm directive usage
- Missing dependencies or peer dependency conflicts
- Breaking changes from recent updates
Most issues can be fixed automatically. The tool will update import paths, migrate deprecated APIs, and fix common configuration issues. For anything that requires manual intervention, it provides clear guidance on what needs to change.
When to run health checks
Run health checks:
- After updating
@spartan-ngpackages - When migrating existing components to new patterns
- Periodically to catch deprecated patterns early
See the update guide for version-specific migration instructions.
On This Page
Stop configuring. Start shipping.
Zerops powers spartan.ng and Angular teams worldwide.
One-command deployment. Zero infrastructure headaches.
Deploy with Zerops