Font Size:
Ask Joget AI

Slots and Boxes

Introduction

A List Studio row is built from slots and boxes. A slot shows one or more of the list's columns in a particular way: as a title, a colored badge, a date such as in 3 days, a progress bar or an avatar. A box holds slots and other boxes, and lays them out in a column, side by side, or wrapping like text. The record also has a few fixed parts: the row's checkbox, a timeline's rail, the expand button and the row's actions.

This article is part of List Studio. It describes every slot, how boxes and auto layout work, the record's parts, the row's actions, and the Detail and Hidden parts. How to drag them onto the row is in List Studio Layout View.

The palette

In the List Builder's Layout view, the palette lists what you can place in a row:

  • Columns: The list's columns. A column dropped on the row becomes the slot that suits it best, already showing that column.
  • Layout: Box, Row actions, Quick actions, Selector, Timeline rail and Expand button.
  • Slots: Title, Subtitle, Meta text, Badge, Date, Progress, Avatar, Fact, Long text, Image, Tags, Rating, Stat, Sparkline and Custom. Drop one empty, then drop a column into it, or pick its Columns.
  • Content: Fixed text, Divider and Icon, which show no column.

Slots

Click a slot on the canvas to open its settings. Its first page is named after its kind and starts with the settings every slot has:

  • Layout: Its W and H, and whether it sits In the flow or is pinned to a corner. See Size and pinning.
  • Show as: The slot's kind, with its icon. Click it to pick another kind: the slot keeps its name, its columns, and the settings the new kind shares. The change is made when you click Apply Change.
  • Slot name: The slot's name, unique in the design (mandatory). The list keeps the columns dropped into the slot under this name. Renaming a slot in Layout takes its columns along. Custom CSS can find the slot by it, as [data-dtb-slot="status"].
  • Label: The slot's name for people: a table's heading, a fact's label, the drop hint. A column's own label comes first where it has one. In a table, a slot that shows one column has one Label: its column's.
  • Columns: The list of columns the slot shows. Dropping a column from the palette onto the slot does the same.
  • When empty: What shows when the value is empty, for example Not assigned. Leave it blank to show nothing.
  • Variant: The slot's look, for the kinds that have several. The table below lists them.
  • Codes: Show codes as words, for values stored as codes such as needs_review or ON_TRACK: the underscores become spaces, and the first letter is capitalized (Needs review). A value the list's formatter changes is left as it is. On Title, Subtitle, Meta text, Badge, Fact and Tags.
  • Icon: A Font Awesome or Line Awesome class shown before the value, for example far fa-comment.
  • New line: Start on a new line in its box. Shown in a box whose items wrap like text.

After it comes the slot's Editing page, where people can change the running list (see List Studio Editing in the List), its Style page, for this slot's color, size, weight, font, case, and alignment (see List Studio Styling), and the list column's own settings, its Action Mapping and its Formatter.

The slots

Slot What it shows Its own settings
Title The row's name, in the title's size. Variant: Normal or Emphasis (larger, bold). At most: no limit, or 1 to 3 lines, then …. Line: Share its line, for a count badge beside the title.
Subtitle A line under the title. Several columns show one after the other. Variant: Normal, Emphasis (larger, bold), Muted or Struck through (an old price). At most.
Meta text Small details, such as a reference and a category. Several columns show one after the other. Variant: Normal, Emphasis (larger, bold), Struck through (an old price) or File (a tile with its type, then its name). As a file: Separated by (what ends one file name), Tile color and Link (a pattern that makes each file a link, such as {contextPath}/web/client/app/{appId}/{appVersion}/form/download/{formId}/{id}/{value}). At most.
Long text A description or a comment. It keeps to about 70 characters a line for reading, unless its W is Fill. Variant: Normal, Muted, In a box (a callout) or Quote (a bar on its left). At most.
Badge A value in its color, such as a status or a priority. Variant: Pill, Colored text, Outline (its color as a border), Dot (a pill with a dot of its color), Status icon (each Colors row's own circle) or Steps (where it is in the Colors rows). Colors, Other values; Text for a status icon; Show for steps. See Badge colors.
Date A date. Its value is read as an ISO date, or in the app's date format. Date as: Relative (in 3 days, Yesterday) within three weeks either way and the date further off, As the column formats it, or Tile (the day over the month), as on a calendar page.
Progress A number as a bar or a ring. Variant: Bar or Ring. Scale: A percentage (0 to 100), A fraction (0 to 1), A range (From … To) with From (empty) and To (full), Of the largest (it fills the bar) or Of the total (each its share). Value: beside the bar, or Bar only; for a ring, In the ring, Beside the ring or Ring only. A ring's Size.
Avatar A person's initials in a circle, colored by the name, with the full name on hover. People: One person or Several, overlapping, with Separated by and At most (2 to 5, then +more). Initials: from the first two words, the first and last, or the first.
Fact Label and value pairs: each column with its own label. Label position: Before the value or Above the value. Columns: Side by side (wrapping) or One under another.
Image A picture from an address in the column or from a file upload. Address: blank when the column holds the picture's address, or a pattern for an uploaded file. Shape: Square tile, Circle or Its box's width (a cover picture). Size, or Proportion for a cover. Edge: Edge to edge at the top of a card.
Tags A value's items, such as a field of several choices. Items as: Chips or A bullet list. Separated by: what ends an item. At most: all, or 2, 3 or 5, then +more.
Rating A number as five stars, in half-stars. Scale: Out of 5, Out of 10 or Out of 100: what the column's number is out of. Number: Show the number after the stars (the number of stars, out of 5) or Stars only.
Stat A large figure, or a change with ▲ or ▼. Variant: Figure (the number, large) or Change (▲ or ▼ and how much). Number: As the column formats it, Compact (48.2k, 3.4M) or Grouped (48,200). Before and After: smaller text such as RM or days. For a change: A rise is good (up green, down red), bad (up red, down green, for costs or waiting times), or neither (gray); Compared with another column, to work the change out from the two, Change as a Percentage or the Difference.
Sparkline A small chart of numbers held in order, oldest first, such as 3, 5, 2, 8. Variant: Line, Area (a line over its shading) or Bars. Height. Several columns: A line each, or One line, a point each (a column a point, such as Q1 to Q4). Last point: Marked (a dot, or the last bar full) or Not marked.
Custom The column's HTML as the list's formatter makes it, unchanged. None of its own. Use it for finished HTML, such as a BeanShell formatter's buttons. For a word or a label, use a slot that styles it, such as a Badge or Meta text.
Fixed text A text of your own, the same in every row. Text.
Divider A line between parts of the row. None.
Icon An icon, the same in every row. Icon (mandatory). Variant: Plain or On a tile.

A column's formatter changes the value before the slot shows it: a Date formatter's format for As the column formats it, an Options formatter's labels, or a Rollup's numbers for a Stat or a Sparkline.

Badge colors

A Badge's Colors say which color each value takes. Nothing is guessed from the words: a value no row name takes Other values' color.

  • Colors: One row per value, or per group of values separated by commas (Done, Closed). A row matches the stored value or the label shown, ignoring case. Each row has:
    • its color: one of eight (blue, green, amber, red, violet, gray, teal, and pink) or a custom color;
    • for Status icon, its icon: open, in progress, in review, on hold, done, or canceled, or none (a dot);
    • for Steps, whether it is a stop, such as Rejected: put it after the step it stops at.
    Click Add a row to add one, and use a row's arrow to move it up. Their order is the order of the steps.
  • Other values: The color of every value with no row names, and of rows with no color.
  • Text: For Status icon: The icon and the value, or The icon only (the value on hover).
  • Show: For Steps: Every step, named, Small dots, then where it is, or A bar, a segment each. The steps before a value's step show as done. A value in no row shows as a pill.

A Badge Colors formatter on the list's column comes before the slot's colors, for that list. See List Studio Badge Colors Formatter.

Boxes and auto layout

A Box holds slots, parts, and other boxes, and lays them out. The record itself lays out what is in it the same way. Select a box on the canvas, or press Shift+A to wrap the selection in a new one. Shift+Alt+A takes a box away and keeps what is in it.

A box's Auto layout has:

  • Direction, as three buttons:
    • Vertical: one under another.
    • Horizontal: side by side. Its items wrap when the box is under 260px wide, and on phones.
    • Wrap: inline, like text.
  • W and H: The box's width and height (see Size and pinning).
  • Alignment: A grid of nine points. Click one to place the items along and across the box: top left, center, bottom right, and so on.
  • Gap between items: None, Small, Medium or Large, or Auto (space between), which spreads the items to both ends. Default is small, or medium side by side.
  • Padding: None, Small, Medium, or Large, inside the box.
  • Text baseline: For items side by side, lines them up by their text's baseline rather than their tops.

Point at the gap or padding field, or at the selected box itself, and the canvas shades the box's gaps or padding and says what they are set to.

A box also has:

  • Heading: In a table, where a box is one column: its heading. Empty, the labels of the slots in it, joined.
  • Name: Shown on the canvas, and on the box as data-dtb-box="<name>" for Custom CSS. Optional.
  • Style: Background (None, Soft, Accent tint, Band (gray), Band (accent tint), or Custom color… with its Color), Line (Above or Below), and its own Border and Corner radius. A band reaches the card's edges, for a footer or a header.

Size and pinning

Slots, boxes, and actions have a W, an H, and a position:

  • W: Fit content, Fill container, or a fixed width of 80, 110, or 160 px. Type a number for any other width, from 24 to 600 px. Auto says what it gives where the item is, Fit or Fill.
  • H: Fit content or Fill container. Add min height, in its menu, adds a Min H in px, up to 800.
  • Position: In the flow, or pinned to a corner of the box it is in, over what is there: Pinned: top left, Pinned: top right, Pinned: bottom left, or Pinned: bottom right. A pinned item's Inset is how far in from its corner it sits.

In W and Min H, press Enter to apply what you typed, or Esc to put the value back. In a table, a column's W is the column's width.

Phones

The record's and each box's Phones page changes them below 768px wide. Each setting is As on desktop or a value of its own for phones:

  • Direction: Column (one under another), Row (side by side), or Flow (inline, wrapping).
  • Align across: Start, Center, End, or Stretch.
  • Justify along: Start, Center, End, or Space between.
  • Width (a box): A whole line puts the box under what is beside it, across the record, such as a price and a button under a picture.
  • Show (a box): Hide on phones.

Rows already wrap on phones. The List Builder's Mobile View shows the result on the canvas. A table's record has no Phones page: see List Studio Layouts.

The record's parts

The Layout group of the palette has three parts; each record can place once. A part you don't place goes where the list always puts it.

  • Selector: The row's checkbox, shown when the list has bulk actions. Not placed, it comes first in the row. Placed, it can sit anywhere, such as a card's corner.
  • Timeline rail: A timeline's line and marker, in the Timeline layout only. Drop a Date (best as a tile) or an Avatar on it to mark each entry with it instead of the dot.
  • Expand button: The button that shows the row's Detail underneath it. Placing one sets Show the Detail to Expand, and a message says so. Not placed, the button goes after the row actions; when they are pinned, or there are none, it goes first in a table and last elsewhere. On the canvas, click the stand-in button where the list puts it to make it a part you can move.

Row actions and Quick actions

The list's row actions, such as Open, Edit, or Delete, show in the row's Row actions. Quick actions is a second set, usually icons in a card's corner. Each is placed once.

  • In Layout, the list's own actions are drawn inside them. Click one for the List Builder's own settings for that action, drag it to reorder, or drag an action from Actions in the palette onto them to add one to the list.
  • When the design has no Row actions, the list's row actions still show: as the last column in a table, and at the end of the row elsewhere. When it has no Quick actions, the list's quick actions show first in Row actions.
  • Row actions placed in the Detail show there, and not in the row.
  • When the record's Clicking a row is Opens its first row action, the row opens that action, and it isn't one of the row's buttons.

Their settings, on the Buttons page:

  • Button style: As the list sets them (each action's own look from the List Builder), Link, Outline button, Filled button, Icon only (the label as its tooltip), or Menu (a ⋮ button). Any style but the first styles every action alike, in the accent color. An action's icon comes from its label in the List Builder, for example <i class="far fa-heart"></i> Favorite. Quick actions start as Icon only.
  • Show: Always, or While the row is pointed at: hidden until the pointer is over the row, keeping their space. They always show on phones and touch screens, when the keyboard is in the row, and on a split view's chosen row.
  • Width (Row actions only): As wide as their labels, or Share the full width: the buttons split the width equally, their labels centered.

Detail and Hidden

Under the row, the canvas has two more parts of the record:

  • Detail: What a row shows when it expands, or in a split view's pane. Drop slots, boxes, and Row actions into it. Its settings start with Show the Detail: Never, or Expand, where a button on each row shows the Detail underneath. On the canvas, its caption says when the list won't show it, as Detail · not shown. In a split view, the Detail's settings are the pane's instead (see List Studio Layouts).
  • Hidden: Slots whose columns stay bound to the list and are exported, but never shown. Use it for columns the export needs and the row doesn't. A slot in Hidden keeps only its name, label, and columns, and a Badge's colors, which can still color the record.

When either is empty, the canvas shows + Detail or + Hidden in its place. Click it to open the part, or drop a column on it.

Tips and limitations

  • A slot name is unique in the design. Two slots with the same name are an error in Problems: the list's columns go to the first, and the second stays empty.
  • A design holds up to 400 elements, and boxes up to 8 deep. Problems says what the list leaves out past either limit.
  • A second Row actions or Quick actions shows nothing: the list's actions are in the first.
  • Of the largest and Of the total progress bars are worked out from the rows on the page, so on a paged list they change from page to page.

Related documentation

Created by Damien Ng Last modified by Debanraj Ravindran on Nov 26, 2026