Skip to content
Buttons

GhostShift

An outline button whose label rolls up and out while a second label rolls in from below. CSS only, no dependencies.

Download
  • React
  • Tailwind CSS v4

Props

NameTypeDefaultWhat it does
childrenReactNode—Button label.
onClick() => void—Click handler.
hoverLabelReactNodesame labelLabel that rolls in.
durationnumber0.35Seconds the roll takes.
classNamestringviolet outline pill that fills on hoverReplaces the default look.