UI Elements
The basic building blocks, called with the {ui} tag.
Elements are the foundation: a button, a badge, a card, an alert, a field with its input, textarea, select, check, radio and switch, a table, a breadcrumb, a separator, a spinner, an avatar, a progress bar, a skeleton, a status dot, a list, a menu, an accordion, a dropdown, an image, an indicator, an empty state, steps, a keyboard shortcut, a tooltip and a code block. Each is one Latte partial with a few params and plain CSS. They are the core of the UI: simple, common and standard, each doing one thing, and they combine by nesting, a field in a card and a button in its footer. The components build on them, and an element never uses a component.
How to call elements, set them up, vary them and theme them is on the UI overview and theming.
Actions 4
Forms 7
Feedback 9
Alert
A callout for a message the reader should not miss.
Badge
A short label for a status or a count.
Empty
A centred message for a place with nothing in it yet.
Indicator
A dot or a count pinned to the corner of what it wraps.
Progress
A bar that shows how far along something is, or that it is still working.
Skeleton
A pulsing placeholder that holds the space while content loads.
Spinner
A small rotating ring that shows something is loading.
Status
A small coloured dot that shows a state at a glance.
Tooltip
A short tip that appears when an element is hovered or focused.
Display 7
Accordion
Sections that open and close to show or hide their content.
Avatar
A round image of a person or thing, with initials when there is no image.
Card
A bordered surface with an optional header, body and footer.
Code
A highlighted block of code with an optional title.
Image
An image in a box of fixed proportions, with a placeholder behind it.
List
Bordered rows with a title, a description and a trailing note.
Table
Rows and columns from two lists.