Skip to main content Skip to main navigation

Base

$

Base w/ Header

Person

Date

Amount

Comment

$

Counter

$

Files/Additional Files

Note: The below file uploaders are for visual reference only and are not functional. Due to complexity of repeaters with file inputs, the repeater is also not functional.

For creating content that requires adding more than one at a time. They are designed to be compact and flow in a single row when space allows. They are a visual combination of rows and columns from Tables and the flexibility of Grid.

Note: Add your own CSS classes and styling to set a max-width on a repeater-cell to limit input width. By default, each repeater--cell will flex to fill the repeater width.

Basic repeater classes include:

  • .repeaters - container for repeater element. Should surround foreach statement.
  • .repeaters--striped - adds backround color to odd rows. Should be applied to .repeaters
  • .repeaters--reverse-striped - adds backround color to even rows. Should be applied to .repeaters
  • .repeaters--hover - adds hover effect to each row. Should be applied to .repeaters
  • .repeaters--counter - adds numbers to beginning of each row. Should be applied to .repeaters
  • .repeater--slim - narrow padding and centered alignment. Should be applied to .repeaters
  • .repeater--header - header row (i.e. table header for column labels). Should be placed within .repeaters, above .repeater and outside of loop
  • .repeater--footer - footer row (i.e. table footer for things like totals). Should be placed within .repeaters, below .repeater and outside of loop
  • .repeater - element to be repeated (i.e. row).
  • .repeater--cell - column
  • .repeater--cell--xxs through .repeater--cell--xxl - column breakpoints. Should be applied to .repeater--cell
  • .repeater--last-cell--xxs through .repeater--last-cell--xxl. Should be applied to .repeater--cell

File upload repeater classes, in addition to the basic classes above, include:

  • .repeater--file-upload - should be applied to .repeater
  • .repeater--file-upload--cell - should be applied to .repeater--cell
  • .repeater--file-upload--input-cell - should be applied to .repeater--cell that is meant to contain the file upload input.
  • .repeater--file-upload--label-cell - should be applied to .repeater--cell that is meant to contain the field label.
  • .repeater--file-upload--label - container class for field label
  • .repeater--file-upload--inner-cell - container class for file input that acts as a column
  • .repeater--file-upload--template-cell - container class for template button that acts as a column

Column and alignment specific classes, in addition to the basic classes above, include:

  • .repeater--top - aligns cell content to top of cell. Can be applied to .repeater or .repeaters
  • .repeater--middle - aligns cell content to middle of cell. Can be applied to .repeater or .repeaters
  • .repeater--cell--auto - sets width of cell using flexbox to auto (width of cell content). Should be applied to .repeater--cell
  • .repeater--cell--auto--xxs through .repeater--cell--auto--xxl - auto width column breakpoints. Should be applied to .repeater--cell
  • .repeater--actions-cell - applied to column for action buttons. Should be applied to .repeater--cell
  • .repeater--actions-cell--auto - sets width of cell using flexbox to auto (width of cell content). Should be applied to .repeater--actions-cell
  • .repeater--actions-cell--auto--xxs through .repeater--actions-cell--auto--xxl - auto width action button column breakpoints. Should be applied to .repeater--actions-cell
  • .repeater--actions-cell--header - applied to header column for action buttons (if exists) for minimum width of column. Should be applied to .repeater--actions-cell in .repeater--header

Loading...