scaling-ui
v0.1.12
Published
A minimal, clean React component library built with Tailwind CSS
Maintainers
Readme
Scaling Components
A minimal, clean React component library built with Tailwind CSS v4. Designed to be simple and easy to use - just import and go.
Features
- Built with React 18 and Tailwind CSS v4
- Simple, dumb components with no context dependencies
- Minimal, clean design inspired by Shadcn UI and Vercel
- Easy to use - import components and they're ready to go
- Fully customizable with Tailwind classes
- ESM module format for modern bundlers
- Tree-shakeable for optimal bundle size
Installation
npm install scaling-uiUsage
Import the components and styles:
import { Button } from 'scaling-ui';
import 'scaling-ui/styles.css';
function App() {
return (
<div>
<Button variant="primary">Click me</Button>
<Button variant="secondary">Secondary</Button>
<Button variant="outline">Outline</Button>
</div>
);
}Available Components
Core Components
- Button
- Input
- Label
- Textarea
- Select
- Checkbox
- Radio Group
- Switch
Layout Components
- Card
- Separator
- Tabs
- Accordion
Feedback Components
- Alert
- Toast
- Badge
- Spinner
- Progress
- Skeleton
Navigation Components
- Breadcrumb
- Navigation Menu
- Pagination
- Sidebar
Overlay Components
- Dialog
- Drawer
- Popover
- Tooltip
- Dropdown Menu
And many more! See the component list for all available components.
Development
Setup
Clone the repository and install dependencies:
git clone <your-repo-url>
cd scaling-ui
npm installRunning the demo app
npm run devThis will start the demo application at http://localhost:5173 where you can see all components in action.
Building the library
npm run buildThis will build the library to the dist folder, ready for publishing.
Project Structure
/src
/components # All UI components
/Button
/Input
...
/lib # Utilities and helpers
index.js # Main library export
styles.css # Tailwind CSS styles
/demo
/src
/pages # Component demo pages
App.jsx # Demo app with routing
main.jsx # Demo entry point
index.html # Demo HTMLDesign Principles
- Dumb Components: All components are pure and stateless where possible, using only props (no context)
- Minimal Design: Clean, simple aesthetic inspired by the best modern UI libraries
- Tailwind First: All styling done with Tailwind CSS utilities
- Easy to Use: Import and use immediately - no complex setup required
- Composable: Components work well together and can be easily combined
Contributing
Contributions are welcome! Please see the TODO.md file for components that need implementation.
License
MIT
