@marketgence/ui
v2.0.0
Published
Shared UI component library for Marketgence apps
Maintainers
Readme
@marketgence/ui
Shared UI component library for all Marketgence apps.
Built on Radix UI primitives with Tailwind CSS styling.
Installation
npm install @marketgence/uiUsage
import { Button, Card, Dialog } from '@marketgence/ui';
import { cn } from '@marketgence/ui';
function MyComponent() {
return (
<Card>
<Button variant="primary">Click me</Button>
</Card>
);
}Components (49)
- Accordion
- AlertDialog
- Alert
- AspectRatio
- Avatar
- Badge
- Breadcrumb
- Button
- Calendar
- Card
- Carousel
- Chart
- Checkbox
- Collapsible
- Command
- ContextMenu
- Dialog
- Drawer
- DropdownMenu
- Form
- HoverCard
- Input
- InputOTP
- Label
- Menubar
- NavigationMenu
- Pagination
- Popover
- Progress
- RadioGroup
- Resizable
- ScrollArea
- Select
- Separator
- Sheet
- Sidebar
- Skeleton
- Slider
- Sonner (toast)
- Switch
- Table
- Tabs
- Textarea
- Toast
- Toaster
- Toggle
- ToggleGroup
- Tooltip
Hooks
useToast- Toast notificationsuseMobile- Mobile detection
Utilities
cn()- Class name merger (clsx + tailwind-merge)
Development
# Install dependencies
npm install
# Build
npm run build
# Watch mode
npm run devPublishing
npm version patch # or minor, major
npm publishUpdating Dependencies
This library uses Dependabot to automatically create PRs when Radix UI or other dependencies release updates.
License
MIT
