Registry / web-framework / ga-ui-components

ga-ui-components

JSON →
library0.0.77-alphajsnpmunverified

A React component library at version 0.0.77-alpha, built on Radix UI primitives and Tailwind CSS. Provides accessible, unstyled UI building blocks including dialogs, dropdowns, forms, tables, and tooltips. Integrates with react-hook-form and @tanstack/react-table. Currently in early alpha with frequent releases; no stable API guarantees. Differentiated by deep integration with react-hook-form and Radix accessibility.

npm install ga-ui-components
INSTALL
IMPORT
SIG · GA-UI-COMPONENTS
G
ga-ui-components
web-frameworkjavascriptv0.0.77-alpha
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18223 runs
build_error
glibc
node 18223 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Button
import { Button } from 'ga-ui-components'
const Button = require('ga-ui-components').Button
ESM only; CommonJS require not supported. Single entry point.
Dialog
import { Dialog } from 'ga-ui-components'
All components are named exports from the main index.
FormField
import { FormField } from 'ga-ui-components'
React Hook Form integration; use with useFormContext.
DataTable
import { DataTable } from 'ga-ui-components'
Wraps @tanstack/react-table; columns and data props required.

Renders a simple button component to verify the library is installed and working.

import { Button } from 'ga-ui-components'; export default function App() { return ( <div className="p-4"> <h1>Hello GA UI</h1> <Button onClick={() => alert('Clicked')}>Click me</Button> </div> ); }
Debug
Known issues
breakingThe library is in alpha (0.0.x) and exports may change without notice.
fix
Pin exact version and test upgrades.
affects: >=0.0.0
gotchaAll components require Tailwind CSS to be configured; no standard CSS is emitted.
fix
Ensure Tailwind and tailwindcss-animate are installed and configured.
affects: >=0.0.0
gotchaESM-only package; does not provide CommonJS bundles.
fix
Use a bundler that supports ESM (e.g., Vite, Next.js, Webpack with ESM).
affects: >=0.0.0
gotchaMany components are wrappers around @radix-ui primitives; refer to Radix documentation for props.
fix
Install missing Radix packages listed in peer dependencies.
affects: >=0.0.0
Errors
Common errors & fixes
Module not found: Error: Can't resolve 'ga-ui-components'
Package not installed or not added to dependencies.
fix
Run npm install ga-ui-components
Cannot use import statement outside a module
Using ESM import in a CommonJS environment.
fix
Add "type": "module" in package.json or use .mjs extension.
Upgrade
Version history
0.0.77-alphalatest on npm
Audit
Dependencies
@hookform/resolversoptionalRequired for form validation with react-hook-form
@radix-ui/react-avatarrequiredPeer dependency for Avatar component
@radix-ui/react-checkboxrequiredPeer dependency for Checkbox component
@radix-ui/react-collapsiblerequiredPeer dependency for Collapsible component
@radix-ui/react-dialogrequiredPeer dependency for Dialog component
@radix-ui/react-dropdown-menurequiredPeer dependency for DropdownMenu component
@radix-ui/react-iconsrequiredPeer dependency for icon usage
@radix-ui/react-labelrequiredPeer dependency for Label component
@radix-ui/react-popoverrequiredPeer dependency for Popover component
@radix-ui/react-radio-grouprequiredPeer dependency for RadioGroup component
@radix-ui/react-selectrequiredPeer dependency for Select component
@radix-ui/react-separatorrequiredPeer dependency for Separator component
@radix-ui/react-slotrequiredPeer dependency for Slot component
@radix-ui/react-tabsrequiredPeer dependency for Tabs component
@radix-ui/react-tooltiprequiredPeer dependency for Tooltip component
@tanstack/react-tableoptionalPeer dependency for Table component
class-variance-authorityrequiredRequired for CSS variant management
clsxrequiredUtility for conditional classNames
cmdkoptionalPeer dependency for Command component
lucide-reactrequiredPeer dependency for icons
reactrequiredPeer dependency
react-day-pickeroptionalPeer dependency for DatePicker component
react-domrequiredPeer dependency
react-hook-formrequiredPeer dependency for form components
react-router-domoptionalPeer dependency for routing components
tailwind-mergerequiredUtility for merging Tailwind classes
tailwindcss-animaterequiredPeer dependency for animation utilities
Agent activity
4 hits · last 30 days
node
4
Resources