🎨

SenpUI

Modal

Props Usage

Overriding Styles

Extending Styles

Component API

Slots

Slot NameScopeDescription
label–Label for input (defaults to label prop)
hint–Hint for input (defaults to hint prop)
error–Error for input (defaults to error prop)

Props

PropDefaultDescription
modelValue–string
v-model compatible value
label–string | undefined
label rendered above the input
hint–string | undefined
hint rendered below the input
error–string | undefined
error rendered below the input
classes–Record<string, XClass> | undefined
Detailed below...

Style Props

type XClass = {  extend?: string | undefined  base?: string | undefined}
PropDefaultDescription
classes.wrapper–XClass
Class applied to outer wrapper
classes.label–XClass
Class applied to label
classes.input–XClass
Class applied to input element
classes.hint–XClass
Class applied to hint
classes.error–XClass
Class applied to error