Skip to content
Shamar

Text

Text is Filament’s schema Text component: static prose that participates in the layout tree (not a form control). Prefer Placeholder when you need a labeled field-like slot.

import { Text, Section } from '@shamar/core'
Section.make('Help').schema([
Text.make('Use this panel to review campaign targeting before publish.'),
Text.make()
.heading('Retention')
.content('Records older than 90 days are archived automatically.'),
])

Text

MethodDescription
Text.make(content?)Optional initial body string.
.content(text)Body copy (plain text; pre-wrapped in the UI).
.heading(text)Optional title above the body.
.columnSpan(n) / .columnSpanFull()Grid span.