# Button A [button](https://www.google.com/design/spec/components/buttons.html) clearly communicates what action will occur when the user touches it. It consists of text, an image, or both, designed in accordance with your app’s color theme. ```jsx import {Button, IconButton} from 'react-toolbox/lib/button'; const GithubIcon = () => ( ); const TestButtons = () => (
); ``` ## Properties | Name | Type | Default | Description| |:-----|:-----|:-----|:-----| | `accent` | `Boolean` | `false` | Indicates if the button should have accent color.| | `className` | `String` | `''` | Set a class to style the Component.| | `disabled` | `Boolean` | `false` | If true, component will be disabled.| | `flat` | `Boolean` | `false` | If true, the button will have a flat look. | | `floating` | `Boolean` | `false` | If true, the button will have a floating look. | | `icon` | `String` | | Value of the icon (See icon component). | | `inverse` | `Boolean` | | If true, the neutral colors are inverted. Useful to put a button over a dark background. | | `label` | `String` | | The text string to use for the name of the button.| | `mini` | `Boolean` | `false` | To be used with floating button. If true the button will be smaller.| | `neutral` | `Boolean` | `true` | Set it to `false` if you don't want the neutral styles to be included.| | `primary` | `false` | `false` | Indicates if the button should have primary color.| | `raised` | `Boolean` | `false` | If true, the button will have a raised look. | | `ripple` | `Boolean` | `true` | If true, component will have a ripple effect on click.| By default it will have neutral colors and a flat aspect even though the `flat` property is `false` by default. Also, some properties exclude others, for example a button cannot be `flat` and `raised` at the same time. The `Button` component also accept children so if you want to provide a custom component and text instead of a `label` and `icon` you can do it too. Just check the examples. ## Icon Button Icons are appropriate for toggle buttons that allow a single choice to be selected or deselected, such as adding or removing a star to an item. They are best located in app bars, toolbars, action buttons or toggles. We provide an `IconButton` component bundled with `Button` component. They share a similar API excluding aspect properties.