Mixins / foldkit-mixins-ui

Adornments

interface · packages/mixins-ui/src/adornments.ts:9

interface Adornments {
  readonly start?: Html | undefined
  readonly end?: Html | undefined
}

What a text field draws inside its box beside the control: a prefix, a suffix, an icon, a unit, a button. Input, SearchField, PasswordInput, InputCopy and NumberField take these two options and spell them alike.

Members

Adornments.start

property · packages/mixins-ui/src/adornments.ts:11

readonly start?: Html | undefined

Before the control, inside the box, in the start Slot.

Adornments.end

property · packages/mixins-ui/src/adornments.ts:13

readonly end?: Html | undefined

After the control, inside the box, in the end Slot.