import { Box, Button } from '@arctic-kit/snow';function Demo() {return (<Box sx={{ display: 'flex', alignItems: 'center', gap: 8 }}><Button>Default Button</Button><Button color="primary" variant="filled" size="medium">Button</Button></Box>);}
import { CloudArrowDownIcon, CloudArrowUpIcon } from '@arctic-kit/icons';import { Button } from '@arctic-kit/snow';function Demo() {return (<Buttoncolor="primary" variant="filled" size="medium"prefix={<CloudArrowDownIcon />}suffix={<CloudArrowUpIcon />}>Button</Button>);}
Props | Type | Default |
---|---|---|
className | string | undefined | --- |
color | SnowColor | "primary" |
disabled | boolean | undefined | --- |
fillSvg | boolean | undefined | --- |
loading | boolean | undefined | false |
noHighlights | boolean | undefined | false |
onClick | MouseEventHandler<HTMLButtonElement> | undefined | --- |
prefix | ReactNode | --- |
rounded | boolean | undefined | --- |
size | "small" | "medium" | "large" | "medium" |
style | CSSProperties | undefined | --- |
suffix | ReactNode | --- |
tabIndex | number | undefined | --- |
type | "button" | "submit" | "reset" | button |
variant | ButtonVariants | "filled" |