Measured entry

kokonut-command-button

buttondark-futuristic

A compact React command-key button that ships as a shadcn registry component. It wraps the shared shadcn Button, uses a cn utility for Tailwind classes, and renders a Lucide command icon. Its gradient, dark-mode colors, hover sweep, and interaction states are all class-driven.

Specimen
Harness screenshot of kokonut-command-button at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of kokonut-command-button at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of kokonut-command-button at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for kokonut-command-button
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal30.0 KB (95.4 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 41.14s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/kokonutui/command-button.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A focused, usable command-palette trigger with clean theme states and no detected mount or accessibility issues in the configured harness. It needs a shadcn-style setup because it does not mount in a bare project, and it supplies presentation rather than shortcut behavior.

Use it if

  • You need a visible shortcut trigger for opening a command palette.
  • Your app already has shadcn-style Button and cn utilities.
  • You want a compact control with light and dark theme styling built in.

Skip it if

  • You need the component to capture keyboard shortcuts or open a palette by itself.
  • Your design system does not use Tailwind utility classes.
  • You want a neutral button without a fixed command icon and animated hover treatment.

Install

Installation record for kokonut-command-button
Declared dependencieslucide-react, radix-ui
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, add a compatible shared Button component, a cn class-merging utility, the matching import aliases, Tailwind styles with dark-mode support, Lucide React, and the Radix dependency expected by the button stack. Wire the click and keyboard shortcut behavior separately.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

Alternatives

Other published entries for the button pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.