Skip to content

Table

Tables are styled with light-DOM utility classes on native <table> elements (shadow DOM can't style slotted table cells). Included in voxblocks.css.

ModuleVersionDownloads
puppet-nginx6.0.11.2M
puppet-systemd8.1.03.4M
puppet-postgresql10.5.02.1M
html
<table class="vox-table">…</table>
<table class="vox-table vox-table--striped">…</table>
<table class="vox-table vox-table--compact">…</table>

Comparison tables

Wrap a wide table in .vox-table-wrap for a bordered, rounded, horizontally scrollable container. <th scope="row"> row headers get the same tinted background as column headers automatically.

DimensionOpenVoxAnsible
ModelDeclarativeProcedural
ExecutionPull-based agentPush-based over SSH
html
<div class="vox-table-wrap">
  <table class="vox-table">
    <thead>
      <tr><th scope="col">Dimension</th><th scope="col">OpenVox</th><th scope="col">Ansible</th></tr>
    </thead>
    <tbody>
      <tr><th scope="row">Model</th><td>Declarative</td><td>Procedural</td></tr>
    </tbody>
  </table>
</div>

Released under the Apache-2.0 License.