Skip to content

Button

Expressive

Five variants and five sizes for text actions, with a toggle form and a press morph.

import { Button } from '@windmorph/react';

Playground

Code

// Use your own icon components.import { StarOutlineIcon } from './icons';import { Button } from '@windmorph/react'; <Button  leadingIcon={<StarOutlineIcon />}>  Favourite</Button>

Examples

Variants

Sizes and shape

Shapes

Toggle

Toggle colour styles

Pending

Pending with another indicator