Buttons & Actions
v1.0.0Added in 1.0.0
The button every screen starts with: five variants, six tones, three sizes plus icon sizes, and a loading state that never jumps.
Press it and it dips on a quick spring, then settles back; with a mouse the surface tints on hover. Tab to it for a focus ring that never touches the edge. Tap the playground button to see it load: the spinner takes the label's place and the width holds still. On a phone the medium size grows to 44px so it is easy to hit.
npx wingo-ui@latest add buttonClick it to watch the loading state keep its width