Production-ready React and Vue component libraries for modern web applications
This monorepo contains three complementary libraries designed to simplify UI development:
Flutter-inspired layout components for React
- React component library inspired by Flutter layout widgets
- Type-safe layouts with flexible styling (Tailwind CSS, CSS-in-JS, CSS Modules)
- Components:
Scaffold,Row,Column,Center,SlotBaseComp, and more - Perfect for building responsive, structured layouts
npm install layouts-rcLightweight overlay manager for React
- Zero-dependency, 2KB gzipped overlay management
- Hook-based API with Promise support for async flows
- SSR-safe with Next.js, Remix compatibility
- Works seamlessly with Radix UI, shadcn/ui
- Perfect for dialogs, alerts, sheets, and modals
npm install overlay-manager-rcReactive overlay manager for Vue 3
- Fully reactive with Vue 3 composition API
- 3.17KB gzipped for modern apps
- Multiple overlay stacking support
- 97%+ test coverage
- Works with Radix Vue, reka-ui, Headless UI
npm install overlay-manager-vue// Install both packages
npm install layouts-rc overlay-manager-rc
// Use layouts
import { Scaffold, Row, Column } from 'layouts-rc';
// Use overlay manager
import { useOverlayManager, OverlayContainer } from 'overlay-manager-rc';npm install overlay-manager-vue<script setup>
import { useOverlay } from 'overlay-manager-vue';
</script>Visit our interactive demo to see all packages in action:
https://layouts-rc-web.vercel.app
Each package has comprehensive documentation:
- layouts-rc: README
- overlay-manager-rc: README | Migration Guide
- overlay-manager-vue: README | API Reference | Migration Guide
This is a pnpm workspace monorepo.
- Node.js 18+
- pnpm 8+
# Clone the repository
git clone https://github.com/YuJM/layouts-rc.git
cd layouts-rc
# Install dependencies
pnpm install
# Build all packages
pnpm build
# Run tests
pnpm test# Build specific package
pnpm --filter layouts-rc build
pnpm --filter overlay-manager-rc build
pnpm --filter overlay-manager-vue build
# Test specific package
pnpm --filter overlay-manager-rc test
pnpm --filter overlay-manager-vue test
# Type check
pnpm --filter overlay-manager-rc type-checkContributions are welcome! Please feel free to submit a Pull Request.
MIT © YuJM