Message Bar

Messagebar Props

Name
Type
Default
Description

colors

object

colors.bgIos

string

'bg-white dark:bg-black'

colors.bgMaterial

string

'bg-md-light-surface dark:bg-md-dark-surface'

colors.borderIos

string

'border-[#c8c8cd] dark:border-white dark:border-opacity-30'

colors.inputBgIos

string

'bg-transparent'

colors.inputBgMd

string

'bg-md-light-surface-2 dark:bg-md-dark-surface-variant'

colors.placeholderIos

string

'dark:placeholder-white dark:placeholder-opacity-40'

colors.placeholderMd

string

'placeholder-md-light-on-surface-variant dark:placeholder-md-dark-on-surface-variant'

colors.toolbarIconIos

string

'fill-primary dark:fill-md-dark-primary'

colors.toolbarIconMd

string

'fill-black'

component

string

'div'

Component's HTML Element

disabled

boolean

undefined

Sets "disabled" textarea attribute

id

string

Messagebar id attribute

left

string

Content of the Messagebar's "left" area

leftClass

string

Additional left styles

name

string

Messagebar name

outline

boolean

false

Renders outer hairlines (borders). If not specified, will be enabled for iOS theme

placeholder

string | number

'Message'

Messagebar placeholder

right

string

Content of the Messagebar's "right" area

rightClass

string

Additional right styles

size

string | number

Value of textarea's native "size" attribute

style

CSSProperties

Additional messagebar classes

textareaId

string

Textarea "id" attribute

value

any

Messagebar value

Messagebar Events

Name
Type
Description

change

function(e)

change event handler

input

function(e)

input event handler

Messagebar Slots

Name
Description

left

Content of the Messagebar's "left" area

right

Content of the Messagebar's "right" area

Examples

Last updated