| Attributes |
| Name | Required | Request-time | Type | Description |
| cssClass | false | true | java.lang.String | A CSS class for styling the component. These styles override the ones set by the primary attribute. |
| data | false | true | java.lang.Object | Miscellaneous data to be stored via a map. For example, the HashMap<"class-name", foo> would render as the attribute data-class-name = foo;. |
| disabled | false | true | boolean | Whether the component is disabled. The default value is false. |
| href | false | true | java.lang.String | A URL to navigate to when the button is clicked |
| icon | false | true | java.lang.String | An icon to display on the button based on the icon CSS class value given. Possible CSS class values can be found at here. |
| iconAlign | false | true | java.lang.String | An alignment for the button's icon. The default value is left. |
| id | false | true | java.lang.String | An ID for the component instance |
| name | false | true | java.lang.String | A name for the button |
| onClick | false | true | java.lang.String | A function to be called on a user clicking the button |
| primary | false | true | java.lang.Object | Whether to apply the btn btn-primary CSS styling to the button. If the type attribute is set to submit, this value is set to true. For all other types, the value is set to false by default. |
| type | false | true | java.lang.String | The button's type. Possible values are button, submit, cancel and reset. The default value is button. |
| useDialog | false | true | boolean | Whether to open a dialog window with the href location when a user clicks the button. The default value is false. |
| useNamespace | false | true | boolean | Whether to use the default portlet namespace, to avoid name conflicts. The default value is true. |
| value | false | true | java.lang.String | Text to display on the button |