npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

xertica-ui

v1.9.4

Published

Xertica UI — Enterprise-grade React design system with Tailwind CSS v4, Radix UI, and AI-first documentation.

Downloads

4,301

Readme

Xertica UI

Enterprise-grade React design system built on Tailwind CSS v4, Radix UI, and Lucide Icons — with a robust AI-first documentation layer for precise LLM-driven composition and autonomous agent interaction.

npm version license


🤖 AI-First Single Source of Truth

Xertica UI is specifically designed to be consumed by AI Agents (LLMs, code assistants, autonomous agents). We provide dedicated entry points for AI context:

| File | Purpose | |---|---| | llms.txt | Standard index for AI crawlers and context-aware agents. | | llms-full.txt | Complete documentation of all 96 components in a single file for large-context LLMs. | | docs/llms.md | Master index for agents to navigate the documentation folder. |


🚀 Quick Start — CLI (Recommended)

Scaffold a full application with pre-configured routing, layout, and components:

npx xertica-ui@latest init my-app
cd my-app
npm run dev

The CLI scaffolds a complete Vite + React + TypeScript project with Portuguese UI localization and English AI-ready documentation.


📦 Installation as a Library

To add Xertica UI to an existing React project:

npm install xertica-ui

1. Import the stylesheet in your entry file (main.tsx or App.tsx):

import 'xertica-ui/style.css';

2. Wrap your app with XerticaProvider:

import { XerticaProvider } from 'xertica-ui';

function App() {
  return (
    <XerticaProvider>
      <YourApp />
    </XerticaProvider>
  );
}

🛠️ The Layout System

Xertica UI features an autonomous layout system managed by LayoutContext.

Mandatory Page Structure

Every page must use the <PageHeader> component for its title and primary actions. Never use raw h1 or div for headers.

import { PageHeader, PageHeaderHeading, Button } from 'xertica-ui';

export function MyPage() {
  return (
    <>
      <PageHeader>
        <PageHeaderHeading>Dashboard</PageHeaderHeading>
        <Button>Action</Button>
      </PageHeader>
      <div className="p-6">
        {/* Page Content */}
      </div>
    </>
  );
}

useLayout() Hook

Access the sidebar state, width, and toggle functions anywhere in the component tree:

const { sidebarWidth, isSidebarOpen, toggleSidebar } = useLayout();

🧩 Component Catalog (96 Components)

Layout & Navigation

Header · Sidebar · PageHeader · Breadcrumb · NavigationMenu · Tabs · Pagination · Accordion · Collapsible

Core Surfaces

Card · Separator · ScrollArea · AspectRatio · Resizable · Skeleton · Empty

Forms & Inputs

Form · Input · Textarea · RichTextEditor · Label · Checkbox · RadioGroup · Switch · Select · Slider · Calendar · InputOTP · FileUpload · Search

Actions & Data

Button · Toggle · ToggleGroup · Rating · Table · Badge · Avatar · Progress · StatsCard · Timeline · Stepper · TreeView · NotificationBadge · Chart

Overlays & Feedback

Dialog · AlertDialog · Sheet · Drawer · Popover · HoverCard · Tooltip · Alert · Sonner (Toast) · Command


🌟 Specialized Modules

🤖 AI Assistant

Integrated AI chat panel with workspace support.

  • XerticaAssistant · MarkdownMessage · CodeBlock · AssistantChart

🗺️ Maps & Geolocation

First-class Google Maps integration.

  • Map · RouteMap · SimpleMap · GoogleMapsLoader

🎙️ Media

  • AudioPlayer · VideoPlayer · FloatingMediaWrapper

🎨 Design Tokens

Xertica UI uses semantic CSS tokens. Never use raw colors or generic Tailwind color classes:

Background:     bg-background          text-foreground
Card surface:   bg-card                text-card-foreground
Muted area:     bg-muted               text-muted-foreground
Primary action: bg-primary             text-primary-foreground
Destructive:    bg-destructive         text-destructive-foreground
Border:         border-border

🌍 Localization

  • UI Components: Fully localized in Portuguese (pt-BR) for end-users.
  • Documentation/Code: Strictly maintained in English for AI Agent compatibility and global developer standard.

💻 Tech Stack

| Technology | Version | |---|---| | React | 18.3 | | TypeScript | 5.7 | | Tailwind CSS | 4.0 | | Vite | 6.0 | | Radix UI | Latest | | Lucide React | 0.469+ | | Vitest | 4.1 |


📜 Scripts

| Command | Description | |---|---| | npm run dev | Start development server | | npm run build | Production bundle | | npm run storybook | Launch component library documentation | | npm run test | Run unit tests via Vitest | | npm run type-check | TypeScript validation |


⚖️ License

Proprietary — Xertica AI Team.