Superkey
🔭 A beautifully command menu for React. Built with headlessUI.
Install / Use
/learn @pheralb/SuperkeyREADME
<a href="https://superkey.vercel.app/docs/getting-started">Getting Started</a> <span> • </span> <a href="https://github.com/pheralb/superkey/tree/main/examples">Examples</a> <span> • </span> <a href="#-contributing">Contribute</a>
👋 Introduction
Superkey is a stylized command palette component built with React, Tailwind CSS & HeadlessUI ready to be used in your next project.
✨ Features
- ✅ Easy to install.
- ✅ Support for keyboard navigation.
- ✅ Fully customizable.
- ✅ Fully tested, typed and reliable.
👨🚀 Getting Started
- Install Superkey:
# with npm:
npm install superkey @headlessui/react
# with yarn:
yarn add superkey @headlessui/react
# with pnpm:
pnpm install superkey @headlessui/react
# with ultra:
ultra install superkey @headlessui/react
- Add styles:
import "superkey/styles.css";
- Create your first command palette component:
import { useState } from "react";
import { Command, CommandInput, CommandList, CommandOption } from "superkey";
function App() {
const [open, setOpen] = useState(false);
return (
<Command
open={open}
onClose={() => {
setOpen(false);
}}
>
<CommandInput
onChange={(e) => {
console.log(e.target.value);
}}
/>
<CommandList>
<CommandOption value="Option 1">
<h1>Option 1</h1>
<p>Description</p>
</CommandOption>
<CommandOption value="Option 2">
<h1>Option 2</h1>
<p>Description</p>
</CommandOption>
</CommandList>
</Command>
);
}
🤝 Contributing
- Fork and clone the repository:
git clone git@github.com:your-username/superkey.git
- Install dependencies:
npm install
# or
yarn install
# or
ultra install
# or
pnpm install
- Run turborepo:
npm run dev
# or
yarn dev
# or
ultra dev
# or
pnpm dev
- Open http://localhost:3000 with your browser to see app.
🔧 Stack
- Tailwind CSS - Rapidly build modern websites without ever leaving your HTML.
- Headless UI - Completely unstyled, fully accessible UI components.
- Next.js + Contentlayer - Content made easy for developers.
- SWC - Rust-based platform for the Web.
🔑 License
- MIT.
Related Skills
bluebubbles
336.5kUse when you need to send or manage iMessages via BlueBubbles (recommended iMessage integration). Calls go through the generic message tool with channel="bluebubbles".
node-connect
336.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
slack
336.5kUse when you need to control Slack from OpenClaw via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
frontend-design
82.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
