Component Library

Self-contained, copy-paste-ready components for admin interfaces. No npm install — just copy the source into your project.

ATLAS components are designed to be copied and customized, not installed as a package. Each component below includes the full source code, a requirements list, and a usage example. Click "View full source" to see the complete, self-contained code. All components use Tailwind CSS utility classes and have zero external dependencies beyond React and lucide-react.

Button

Primary, secondary, danger, and ghost variants with sm/md/lg sizes.

Requirements:React, Tailwind CSS

Copy this component into your project and customize it. No install needed — just Tailwind CSS classes.

Input

Text input with label, placeholder, and error state.

Requirements:React, Tailwind CSS

Copy this component into your project and customize it. No install needed — just Tailwind CSS classes.

This field is required

Select

Native dropdown with label, placeholder, and chevron icon.

Requirements:React, Tailwind CSS, lucide-react (ChevronDown)

Copy this component into your project and customize it. No install needed — just Tailwind CSS classes.

Badge

Status indicators for labels, tags, and state.

Requirements:React, Tailwind CSS

Copy this component into your project and customize it. No install needed — just Tailwind CSS classes.

DefaultActivePendingErrorOutline

Toggle

Boolean switch for settings and preferences.

Requirements:React, Tailwind CSS

Copy this component into your project and customize it. No install needed — just Tailwind CSS classes.

Toast / Notification

Context-based toast system with auto-dismiss. Wrap your app in ToastProvider, then call useToast() anywhere.

Requirements:React, Tailwind CSS, lucide-react (X, CheckCircle, AlertTriangle, Info, XCircle)

Copy this component into your project and customize it. No install needed — just Tailwind CSS classes.

Empty State

Placeholder for empty lists, tables, or search results with optional action button.

Requirements:React, Tailwind CSS, lucide-react (Inbox). Also needs the Button component.

Copy this component into your project and customize it. No install needed — just Tailwind CSS classes.

No documents yet

Upload your first document to get started.

Data Table

Searchable, sortable table with pagination, row selection, and bulk actions.

Requirements:React, Tailwind CSS, lucide-react (Search, ChevronLeft, ChevronRight). Also needs Input and Button components.

Copy this component into your project and customize it. No install needed — just Tailwind CSS classes.

NameEmailRoleStatus
Alice Johnsonalice@example.comAdminActive
Bob Smithbob@example.comEditorActive
Carol Whitecarol@example.comViewerInactive
Dan Browndan@example.comEditorActive
Eve Daviseve@example.comAdminActive