A TUI design system for pi-mono
- 🏗️ TypeScript-based TUI component architecture
- 🔧 Mise task runner integration
- 📦 Bun/npm build tooling
- ✨ ESLint + Prettier formatting
- 🧪 Vitest testing setup
- 🚀 GitHub Actions CI/CD
- 📝 Release automation with release-please
In your pi-mono extensions, ensure you have a package.json file set up. Then, install
and import the design system:
bun add @zenobius/pi-dsimport { Grid, Flex, Sized, sized } from '@zenobius/pi-ds';-
Clone this repository:
git clone https://github.com/zenobi-us/pi-ds.git cd pi-ds -
Install dependencies:
mise setup
-
Implement your TUI components in
src/{name}.ts: -
Test your components:
mise run test #runs pi with a kitchen sink extension that uses the ds
mise run build- Build the design systemmise run test- Run testsmise run lint- Lint codemise run lint:fix- Fix linting issuesmise run format- Format code with Prettier
Contributions are welcome! Please file issues or submit pull requests on the GitHub repository.
MIT License. See the LICENSE file for details.
