Páginas · Laravilt
TextEntry
Display text with date, money, number, badge, HTML and markdown formatting.
Displays text with formatting options.
Basic usage
php
Badge
php
Dates and numbers
php
Content
php
Links, affixes and copy
php
API reference
| Method | Description |
|---|---|
badge(bool) | Render as a badge |
date(format) / dateTime(format) / since() | Date formatting |
money(currency, divideBy) | Currency |
numeric(decimalPlaces, decimalSeparator, thousandsSeparator, locale) | Number format |
html() / markdown() / prose() | Rich content |
limit(int) / wrap() | Length and wrapping |
prefix(string) / suffix(string) | Affixes |
weight(?string) / size(?string) | Typography |
url(?string, openInNewTab) / openUrlInNewTab() | Links |
copyable() / copyMessage(?string) | Copy to clipboard |
separator(?string) | Join array values |
strikethrough(bool) | Strike through |