Skip to content

TMS Box

TMSBox renders a responsive square for compact content, title tiles, or linked navigation. Use it when the container shape is part of the presentation.

Usage

Strategic rectangle behavior.
html
<TMSBox
  type="content"
  link="">
  Strategic rectangle behavior.
</TMSBox>

Props

PropTypeDefaultNotes
type'content' | 'title''content'Controls the slot typography treatment.
linkstring''Renders the box as a link when populated.

Slots

SlotNotes
defaultBox content.

Variables

VariablePurpose
--tms-box-paddingBase padding hook for box variants that use the root box padding.