All projects
Tinky Framework
tinky
Build command-line interfaces with React components, laid out by the Taffy engine.
$
npm install tinky reactTypeScript
React components
Familiar JSX patterns for terminal apps.
Flexbox & Grid
Full CSS Flexbox and Grid, powered by Taffy.
Input & focus
Keyboard hooks and Tab / Shift+Tab focus.
Rich styling
Borders, backgrounds, colors and ARIA support.
app.tsx
import { render, Box, Text } from "tinky";
function App() {
return (
<Box flexDirection="column" padding={1}>
<Text color="green" bold>
Hello, Tinky!
</Text>
<Text>Build beautiful CLIs with React</Text>
</Box>
);
}
render(<App />);