This is an old revision of the document!
Buttons
Basic usage
<button type="primary">Primary</button> ...
Link button
<button type="success" size="lg" icon="glyphicon glyphicon-edit">[[:wiki:welcome]]</button>
Sizes
<button type="primary" size="lg">Large button</button> <button type="default" size="lg">Large button</button> <button type="primary">Default button</button> <button type="default">Default button</button> <button type="primary" size="sm">Small button</button> <button type="default" size="sm">Small button</button> <button type="primary" size="xs">Extra small button</button> <button type="default" size="xs">Extra small button</button>
Attributes
Attribute | Default Value | Allowed Values | Description |
---|---|---|---|
type | default | default , primary , success , info , warning , danger , link | Type of button |
icon | optional | Font icon class (eg. Glyphicon or Font-Awesome) | |
size | optional | Allowed values: lg , sm |