Shared UI component library for Fobrix applications (engine.fobrix.com, statements.finopsbricks.com).
npm install github:cashflowy/lib-ui// Import from main entry
import { Button, Dialog, cn } from '@fob/lib-ui';
// Or import specific components
import { Button } from '@fob/lib-ui/ui/button';
import { cn } from '@fob/lib-ui/lib/utils';- Accordion, Alert, AlertDialog, Avatar, Badge
- Breadcrumb, Button, ButtonGroup, Calendar, Card
- Checkbox, Collapsible, Combobox, Command, Dialog
- DropdownMenu, Input, Label, Popover, Progress
- Resizable, Select, Separator, Sheet, Sidebar
- Skeleton, Slider, Sonner, Stack, Switch
- Table, Tabs, Textarea, Timeline, Toggle
- ToggleGroup, Tooltip, Typography
- DataTable (TanStack React Table wrapper)
- DateHeader
cn()- Tailwind class merger
useIsMobile()- Mobile breakpoint hook
This library requires:
- React 18+ or 19+
- Next.js 14+ or 15+
- Tailwind CSS 4+
Your app must have Tailwind configured with the same CSS variables used by shadcn/ui.
# Clone
git clone git@github.com:cashflowy/lib-ui.git
# Install dependencies
npm install