Text
Text is used to display text content on the page.
This feature is only avaiable to users on the Business Plan
/* text-example.blade.php */
<x-text>
This feature is only avaiable to users on the
<x-text as="span" weight="bold" content="Business Plan" />
</x-text>
Component API
Prop | Description | Values |
---|---|---|
as | Change the element tag of the component | any |
content | Set the content of the component | any |
size | Change the font size of the component | Dependant on theme |
weight | Change the font weight of the component | Dependant on theme |
color | Change the color of the component | Dependant on theme |
align | Change the alignment of the component | Dependant on theme |