Input

The Input component is a text input field that allows users to enter text and can be used to collect user feedback or enter information in data entry forms.

placeholder

sizes

states

types

custom

Code

<input class="backoffice-input" type="text" name="{@name}" value="{@value}" />
Class nametype
backoffice-input,
backoffice-textarea
componentContainer element
backoffice-input:has(input)component

Sets display parameters to the elements that contain an input element

backoffice-input inputcomponentSets display parameters to the input element
backoffice-input-smmodifierAdds sm size
backoffice-input:disabled,
backoffice-textarea:disabled,
backoffice-input-disabled
modifierSets the display of the disabled status
backoffice-input:focus,
backoffice-input:focus-visible,
backoffice-textarea:focus,
backoffice-input-focus
modifierSets the display of the focus status
backoffice-input input:focus,
backoffice-input input:focus-visible
modifier

Sets the display of the focus status of the input element

backoffice-input.backoffice-input-sm:focus,
backoffice-input-focus.backoffice-input-sm
modifier

Sets the display in the focus state for elements of the sm size

backoffice-input-error,
backoffice-textarea-error
modifierSets the display of the error status
backoffice-input-error.backoffice-input-smmodifier

Sets the display in the error state for elements of the sm size

backoffice-input[type='date']modifierSets the display for an input of type date

backoffice-input[type='date']::-webkit-calendar-picker-indicator

modifier

Sets the display properties of inner elements for input of type date

backoffice-input[type='date']::-webkit-inner-spin-button

modifier

Sets the display properties of inner elements for input of type date

backoffice-input::placeholder,
backoffice-textarea::placeholder,
backoffice-input input::placeholder
modifierSets the placeholder properties

Was this page helpful?