@devblax/neat-ui
v0.1.0
Published
A Neat React component library
Maintainers
Readme
Neat UI
A beautiful iOS-style React component library built with TailwindCSS.
Features
- iOS-style design system
- Mobile-first components
- Dark mode support
- TypeScript support
- Tree-shakeable
- Small bundle size
Installation
npm install @neat/ui
# or
yarn add @neat/ui
# or
pnpm add @neat/uiUsage
- Add the TailwindCSS configuration:
// tailwind.config.js
module.exports = {
content: [
// ...
"./node_modules/@neat/ui/**/*.{js,ts,jsx,tsx}",
],
}- Import the styles in your app:
import '@neat/ui/styles.css'- Use the components:
import { Button, Card, Input } from '@neat/ui'
function App() {
return (
<Card>
<Card.Header>
<Card.Title>Welcome</Card.Title>
<Card.Description>Get started with Neat UI</Card.Description>
</Card.Header>
<Card.Content>
<Input label="Name" placeholder="Enter your name" />
<Button>Submit</Button>
</Card.Content>
</Card>
)
}Components
- Button - Interactive buttons with various styles and states
- Card - Content containers with flexible layouts
- Input - Form inputs with floating labels and validation states
Documentation
Visit our documentation site for detailed usage instructions and examples.
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
MIT [Your Name]
