@urban-ui/button
TypeScript icon, indicating that this package has built-in type declarations

0.4.0 • Public • Published

@urban-ui/button

<Button>Hello world</Button>
<Flex gap='md'>
  <Button variant='outline' tone='neutral'>
    Abort
  </Button>
  <Button variant='solid' tone='critical'>
    Delete
  </Button>
</Flex>

Props

Fill

Will fill its parent container and can be used to change the default size of a button.

Clamp

Specifically sets the height of the button, will be determined by the size prop.

Icon

Specifically sets height and width of the button and clamps the aspect ratio to 1.

Readme

Keywords

none

Package Sidebar

Install

npm i @urban-ui/button

Weekly Downloads

1

Version

0.4.0

License

MIT

Unpacked Size

93.2 kB

Total Files

47

Last publish

Collaborators

  • mattstyles