Skip to content
Shamar

Placeholder

Placeholder is a labeled, field-like static slot (Filament Placeholder). For untitled prose, use Text.

import { Placeholder, Section } from '@shamar/core'
Section.make('Computed').schema([
Placeholder.make('full_name')
.label('Full name')
.content('Built from first + last on save.'),
])

Placeholder

MethodDescription
Placeholder.make(name)Stable name key for the node.
.label(text)Uppercase-style label above the content.
.content(text)Static body.
.columnSpan(n) / .columnSpanFull()Grid span.