Components

Explore the live examples that also power your theme customizer.

79 components

Layout

layout<div>

Action Bar

Form and dialog actions, ordered by purpose.

@threadlabs/looma

Form actions

View component

Fellowship archive

A short description of the archive.

Letters and records from the journey

Read correspondence, maps and field notes collected throughout the journey. Longer descriptions leave the actions aligned.

layout<div>

Card Group

Align card headers, content and actions across each row.

@threadlabs/looma

Aligned card regions

View component
Design Accessibility Performance Docs Testing Release
layout<div>

Cluster

Cluster layout primitive for row-style content with wrapping support.

@threadlabs/looma

Default

View component
The Fellowship office memo stays within a readable 65ch measure.
layout<div>

Container

Container primitive for readable measure and horizontal gutters.

@threadlabs/looma

Default

View component

Welcome back

layout<div>

Cover

Content centered within a page or its available space.

@threadlabs/looma

Centered content

View component
Frodo
Sam
Sméagol
layout<div>

Grid

Responsive auto-fit grid primitive, with explicit fixed columns for aligned matrices and optional neutral or accent shading for chosen columns using the theme palette.

@threadlabs/looma

Default

View component
Frodo
Sam
Sméagol
Merry
Pippin
Gandalf
Aragorn
Legolas
layout<div>

Reel

Contained, keyboard-focusable horizontal scrolling for cards and other repeated items.

@threadlabs/looma

Default

View component
Frodo — quarterly quest planning
Sam — office garden rota
Sméagol — lost property
Merry — second breakfast
Pippin — meeting room bookings
Aragorn — team check-in
Gimli — facilities requests
Legolas — desk plants
layout<div>

Scroll Area

A scrolling region with fades that indicate more content.

@threadlabs/looma

Default

View component
Above
Below
layout<hr>

Separator

Semantic separator primitive with horizontal and vertical orientations.

@threadlabs/looma

Default horizontal

View component
layout<aside>

Sidebar

A collapsible side panel that becomes a drawer on small screens.

@threadlabs/looma

Workspace navigation

View component
Frodo
Sam
Sméagol
layout<div>

Stack

Vertical layout primitive that owns spacing between children.

@threadlabs/looma

Default

View component
Frodo
Sam
Sméagol
Explore the example at a narrower width.
layout<div>

Switcher

Intrinsic equal-column layout that stacks when its own container becomes too narrow.

@threadlabs/looma

Default

View component

Overlay

Move toward the actions

overlay<span>

Affordance Scope

A lightweight interaction scope that lets nearby controls anticipate pointer movement without adding listeners or hit regions to every control.

@threadlabs/looma

Nearby actions

View component
Right-click this area
overlay<span>

Context Menu

Actions opened by right-click, long-press, or the keyboard menu key.

@threadlabs/looma

Target binding

View component

Send Fellowship memo?

Frodo and Sam will receive the updated route. Sméagol is keeping the meeting notes.

overlay<dialog>

Dialog

Overlay primitive that coordinates native dialog behavior with shared overlay stack rules.

@threadlabs/looma

Default

View component
First item
Second item
overlay<div>

Menu

Menu container primitive that manages focus and selection across ui-menu-item children.

@threadlabs/looma

Inline menu

View component
Sam has booked the quiet room. Frodo is bringing the maps.
overlay<span>

Popover

Non-modal overlay primitive with shared open/close lifecycle.

@threadlabs/looma

Trigger binding

View component
overlay<div>

Search Shell

A search dialog with query, results, status, and action regions.

@threadlabs/looma

Search commands

View component
overlay<div>

Toast Region

Toast Region stacks authored <ui-toast> children and messages added with the show-toast event or the --show-toast command.

@threadlabs/looma

Show a notification

View component
overlay<span>

Tooltip

Contextual overlay primitive that links descriptive content to a trigger element.

@threadlabs/looma

Target binding

View component

Forms

forms<button>

Button

Essential button primitive that enhances semantic button markup and styling hooks.

@threadlabs/looma

Default

View component

Su

M

T

W

Th

F

S

forms<section>

Calendar

Keyboard-accessible day, month and year navigation with shared availability rules.

@threadlabs/looma

Choose a date

View component
forms<label>

Checkbox

A labeled checkbox with checked and mixed states.

@threadlabs/looma

Default

View component
forms<span>

Color Picker

Square or circular swatch button with shared control sizing and a dismissible RGB/hex colour editor.

@threadlabs/looma

Accent color

View component
forms<div>

Combobox

A searchable text field with authored <option> suggestions.

@threadlabs/looma

Label and options

View component

Read the release notes before updating.

forms<div>

Compact Content

An escaped semantic rendering of a short rich-text document.

@threadlabs/looma

Short rich-text content

View component

A short message with emphasis

forms<div>

Compact Editor

A short rich-text field with inline formatting, native shortcuts and controlled document changes.

@threadlabs/looma

Short rich-text field

View component

Appearance

forms<span>

Cycle Button

One compact native button that cycles an ordered set of named icon states without moving focus.

@threadlabs/looma

Cycling appearance

View component
forms<span>

Date Field

Type dates and times without changing their stored meaning.

@threadlabs/looma

Type a date

View component

Su

M

T

W

Th

F

S

forms<span>

Date Picker

Type dates directly or choose them from a calendar.

@threadlabs/looma

Choose a date

View component

Su

M

T

W

Th

F

S

forms<span>

Date Range Picker

Type or select date ranges without shifting an already chosen endpoint.

@threadlabs/looma

Edit a date range

View component
forms<div>

Editable

Reveal an editing control from an explicit presentation trigger.

@threadlabs/looma

Default

View component
Chip color
Insert paragraph below
Duplicate block
Delete block

forms<div>

Editor

A structured document editor with formatting, tables, references and host-owned services.

@threadlabs/looma

Document editor

View component

Attachments

forms<ui-card>

File Input

Choose or drop files, with native forms and accessible removal.

@threadlabs/looma

Choose or drop files

View component
Help text
forms<div>

Form Field

Form-field composition primitive that links label/control/description semantics.

@threadlabs/looma

Label, control, and help

View component
forms<button>

Icon Button

Icon-only button primitive with stable square sizing and variant tokens for shell controls, compact actions, and editor chrome.

@threadlabs/looma

Default

View component
forms<input>

Input

A native input with Looma’s shared control theme.

@threadlabs/looma

Default

View component
.example.com
forms<div>

Input Group

An Input with fixed text before or after the value, such as a domain suffix.

@threadlabs/looma

Suffix

View component
Choose a plan
forms<div>

Listbox

A visible list of single or multiple choices.

@threadlabs/looma

Visible single choice

View component
forms<span>

Number Input

Bounded exact number and unit editing with safe arithmetic, stepping and keyboard controls.

@threadlabs/looma

Exact and visual editing

View component
forms<label>

Radio

Radio control primitive for mutually exclusive options, typically composed within ui-radio-group.

@threadlabs/looma

Default

View component
Options
forms<fieldset>

Radio Group

Grouped selection primitive that coordinates ui-radio descendants, keyboard navigation, and normalized selection events.

@threadlabs/looma

Default horizontal

View component
Status
forms<fieldset>

Segmented Control

A compact shared track for mutually exclusive choices.

@threadlabs/looma

One visible choice

View component
forms<s-lect>

Select

Select control that lowers directly to a native <s-lect>; author <option> children directly inside it.

@threadlabs/looma

Default

View component
forms<span>

Slider

Native accessible range paired with bounded exact number and unit editing.

@threadlabs/looma

Exact and visual editing

View component
Color
forms<input>

Swatch

A round colour dot that is a native radio, named by its tone, for choosing a colour inside a radio group.

@threadlabs/looma

Choose a color

View component
forms<label>

Switch

Binary control primitive that reflects switch semantics for checked state.

@threadlabs/looma

Default

View component
forms<textarea>

Textarea

Multiline input that lowers directly to a native <textarea> while applying Looma's shared control theme.

@threadlabs/looma

Default

View component
forms<span>

Time Field

Editable times with canonical values and locale-aware display.

@threadlabs/looma

Opening time

View component
Choose a time between 12:00 AM and 11:59 PM.
forms<span>

Time Picker

Block-based time entry with localized pointer choices.

@threadlabs/looma

Type or choose a time

View component

Display

? ? ?
display<span>

Avatar

Image and fallback initials primitive for identity surfaces such as profiles and assignees.

@threadlabs/looma

Name, fallback, and sizes

View component
? ? ?
display<div>

Avatar Group

Container that displays overlapping avatars with an optional "+N" overflow pill when the count exceeds the visible maximum.

@threadlabs/looma

Default maximum

View component
Default
display<span>

Badge

Lightweight status and label primitive with minimal styling hooks.

@threadlabs/looma

Default

View component
display<nav>

Breadcrumbs

A linked path from the top level to the current page.

@threadlabs/looma

Default

View component
Information message.
display<div>

Callout

A static semantic message surface with a tone-specific icon.

@threadlabs/looma

Default tone

View component

Team notes

A clear place for shared work.

display<div>

Card

A surface that groups related content.

@threadlabs/looma

Content card

View component
Orders
Customer Items Total
Ada Park 3 $124.00
Ben Ortiz 1 $18.50
Chen Wu 5 $302.10
display<div>

Data Table

A table of rows, with columns written as markup and frozen columns and rows.

@threadlabs/looma

Orders table

View component
Site
Acme
Invited by
Ada Lovelace
Role
Editor
display<dl>

Description List

Labeled values arranged in rows, columns, or tiles.

@threadlabs/looma

Rows

View component
Disclosure content.
display<div>

Disclosure

Progressively enhances a button/content pair into an accessible disclosure.

@threadlabs/looma

Default closed

View component
Green hills, a farmhouse, and sheep beside a winding stream
display<figure>

Image

A semantic image surface with optional selection, corner resizing, and text wrapping.

@threadlabs/looma

Image

View component
  • Roadmap
  • Onboarding
  • Glossary
display<ul>

List

A list of items: pages, people, sites, results.

@threadlabs/looma

Native list items

View component
display<span>

Meter

A measured value shown as a share of a total.

@threadlabs/looma

Default

View component
New documentation is available.<ui-button slot="actions" variant="link" size="sm" href="#catalog-f9b87aa440e21bea169b-documentation"

Read the guide

display<div>

Notice Stripe

Edge-to-edge announcements with optional actions and dismissal.

@threadlabs/looma

Announcement with action

View component

Planning

Roadmaps, decisions, and the reasons behind them.
display<header>

Page Header

A page title with supporting text and actions.

@threadlabs/looma

Default

View component
display<nav>

Pagination

Previous, next, and numbered links for paged results.

@threadlabs/looma

Numbered pages

View component

Recently updated

Pages edited in this workspace, newest first.

display<section>

Section

A titled group of content with optional actions.

@threadlabs/looma

Plain

View component
display<header>

Site Header

Site branding and navigation with an automatic mobile drawer.

@threadlabs/looma

Compact header

View component
display<span>

Skeleton

Placeholder shapes that reserve space while content loads.

@threadlabs/looma

Loading text

View component
display<span>

Spinner

A compact indicator that work is in progress.

@threadlabs/looma

Default

View component
No notes yet
display<div>

Status Message

Loading, empty, and failed states within a content area.

@threadlabs/looma

Empty state

View component
Recent updates
PageStatus
RoadmapDraft
GuideReady
display<div>

Table

Presentation for an authored semantic HTML table.

@threadlabs/looma

Recent updates

View component
A live component preview.
Semantic HTML.
display<div>

Tabs

Tablist primitive that synchronizes tab focus, selection, and panel visibility.

@threadlabs/looma

Default horizontal

View component

Clear ideas.

Space to make them happen.

Updated today

display<p>

Text

Shared text roles, from body copy to headings and captions.

@threadlabs/looma

Text hierarchy

View component
Title
display<header>

Application toolbar

A sticky app toolbar for a title, search, and contextual actions.

@threadlabs/looma

Default

View component
Project
display<div>

Tree

An accessible hierarchy with disclosure, bounded logical indentation, and truthful drag-and-drop previews.

@threadlabs/looma

Project files

View component

Add details

Enter the details for this stage, then continue to review.

display<div>

Wizard

Clear steps, current-stage content and host-owned actions.

@threadlabs/looma

Staged workflow

View component

Extras

ease-in-out

X1 Y1 X2 Y2 ease-in-out
extras<span>

Curve Editor

Draggable cubic Bézier handles with keyboard and bounded exact coordinate editing.

@threadlabs/looma

Edit an easing curve

View component
Drag or tap to move the light. Arrow keys adjust; Escape cancels.
extras<span>

Light Editor

Position a shared light source with a draggable, keyboard-operable handle and exact bounded coordinates.

@threadlabs/looma

Light position

View component