A comprehensive design system and component library for building accessible web applications with React and Next.js. Built with React Aria Components.
npm install lora-dsA comprehensive, accessible design system built with React Aria Components, featuring 48+ production-ready components.
- 🎨 48+ Components - Complete set of UI components for modern web applications
- ♿ Accessible - Built with React Aria for WCAG compliance
- 🎠Dark/Light Mode - Automatic theme switching based on user preference
- 📦 Tree-shakeable - Import only what you need
- 🎯 TypeScript - Full type safety with TypeScript
- 💅 CSS Modules - Scoped styling without conflicts
- 🎪 Storybook - Interactive component documentation
``bash`
npm install lora-dsor
yarn add lora-dsor
pnpm add lora-ds
1. Import the global styles in your app:
`tsx`
// app/layout.tsx or pages/_app.tsx
import 'lora-ds/styles';
2. Use components:
`tsx
import { ButtonComponent } from 'lora-ds';
export default function App() {
return (
Click me
);
}
`Components
The design system includes a comprehensive color system with automatic dark/light mode support:
`css`
/ Colors available /
--primary: #F75A00
--secondary: #859448
--success, --error, --warning, --info
/ Plus dark mode variants /
All components are fully typed with TypeScript:
`tsx
import { ButtonComponent, BaseButtonProps } from 'lora-ds';
const MyButton: React.FC
return
};
``
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
Contributions are welcome! Please feel free to submit a Pull Request.
MIT © Henrique Costa
Built with:
- React Aria Components - Accessible component primitives
- Iconify - Icon framework
- Next.js - React framework
- Storybook - Component documentation