Skip to content
Hazine

Install and code heroes

1 of 4 shipped. Each take is a different structure, and the note under its title says how.

  • install and code heroes

    One command and one copy action: the inverted pill is the primary call to action, split by a hairline into command and copy cell, which stack when the container is narrower than 32rem.

    shadcn add @hazine/hero-command-pill

    Depends on button, @hazine/heading, @hazine/use-controllable-state, lucide-react, class-variance-authority

Planned 3

  • Code and output hero

    Pairs source with its result in one stacked panel, so the reader sees cause and effect without switching tabs or pressing run.

    Pro
  • Terminal walkthrough hero

    Timed, scripted playback with pause, restart and step progress; the full transcript renders statically under reduced motion.

    Pro
  • Package manager tabs hero

    Tabbed command variants with a persisted choice and per-panel copy, instead of one fixed command.

    Pro