This is an example overview page generated by the Coatroom tool.
The components below are examples of different components that has different states and types.
Below is palette of all colors used in our component library. When creating new components, please only use these color so we keep a consistent color schema across all components.
These colors were approved by Emelie over at the UX-department, February 20, 2015.
Please send any questions to her.
This is an ordinary button.
type / state | default | btn-hover | btn-active | btn-disabled |
---|---|---|---|---|
default | ||||
success | ||||
warning | ||||
danger |
Please use the appropriate button depending on the context. The default type may only be used during development.
HTML template
Right click on the button you want to use and copy the HTML, or use the template below:
<button type="button" class="btn">
Lorem ipsum button
</button>
For showing tabular data.
type / state | default | table-borderless | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
default |
|
|
HTML template
Right click on the table you want to use and copy the HTML, or use the template below:
<table class="table">
<thead>
<tr>
<th>...</th>
</tr>
</thead>
<tbody>
<tr>
<td>...</td>
</tr>
</tbody>
</table>
Use this for standard text inputs.
type / state | default | textinput-hover | textinput-focus | textinput-disabled | textinput-invalid |
---|---|---|---|---|---|
default |
HTML template
Right click on the input you want to use and copy the HTML, or use the template below:
<div class="textinput">
<input type="text" placeholder="Lorem ipsum placeholder" class="textinput-input"/>
<label class="textinput-label">Lorem ipsum label</label>
</div>