The only thing our Gecko 🦎 eats is bugs! 🐛
📚 Documentation: Gecko
npm install @geckoui/geckoui
# or
pnpm add @geckoui/geckoui
# or
yarn add @geckoui/geckouinpm install react-hook-form
# or
pnpm add react-hook-form
# or
yarn add react-hook-formImport the component styles in your app:
import "@geckoui/geckoui/styles.css";If you use
tailwindcss, make sure to import the css insidelayerdirective to correctly override the styles:
@import "tailwindcss";
@layer components {
@import "@geckoui/geckoui/styles.css";
}import { Alert, Button, Input } from "@geckoui/geckoui";
function App() {
return (
<div>
<Button variant="contained" color="primary">
Click me
</Button>
<Input placeholder="Enter your name" />
<Alert variant="success" title="Operation completed successfully!" />
</div>
);
}GeckoUI uses OKLCH color values with CSS custom properties (--color-*) powered by Tailwind CSS v4. You can override colors using any CSS color format — oklch, hex, rgb, hsl, etc.
Add the .dark class to your root element:
<div className="dark">
<App />
</div>Override CSS variables to match your brand:
:root {
--color-primary-500: oklch(0.65 0.24 330);
--color-primary-600: oklch(0.55 0.22 330);
/* hex works too */
--color-primary-700: #6d28d9;
}Import after the base styles:
import "@geckoui/geckoui/styles.css";
import "./my-theme.css";Components use data-* attributes for variant/state styling:
/* Target specific variants */
.GeckoUIButton[data-variant="filled"][data-color="primary"] {
/* Your custom styles */
}
.GeckoUIInput__input {
/* Style the inner input element */
}All components are fully typed. Import types as needed:
import type { ButtonProps, InputProps } from "@geckoui/geckoui";Install the GeckoUI skill to help AI assistants (Claude Code, etc.) generate accurate component code and themes:
npx skills add GeckoUI/skills
The skill provides component API references, theming variables, and class name mappings so AI agents can generate correct GeckoUI code without hallucination.
This project is licensed under the MIT License.
For issues and feature requests, please visit our @geckoui/geckoui.
