QS Pack

Inputs



Variable nameDefault valueDescription
--b-input#fffBackground color for the input component.
--c-input#000Color for the input component.
--border-inputgrayBorder color for the input component.
--border-input-focuspurpleBorder color for the input component on focus.
--fs-input1remFont size for the input component.
--fw-input500Font weight for the input component.
--br-input.3remBorder radius for the input component.
--c-placeholder#cccColor of the placeholder text in the input component.
--fs-label.85remFont size for the label of the input component.
--c-labelgrayColor for the label of the input component.
--b-labelpurpleBackground color for the label of the input component.
--ff-inputinheritFont family for the input component.
--r-textareanoneResize property for textarea elements in the input component.


CSS ClassDescription
inputBase class for input components, including input, select, and textarea. Sets display, flex-direction, and position.
input > input, input > select, input > textareaStyles for input, select, and textarea elements within the input class. Sets background, border, border-radius, font-family, font-size, font-weight, line-height, outline, padding, resize, text-overflow, and transition.
input:disabledStyles for disabled state of input, select, and textarea elements. Adjusts opacity, pointer-events, and user-select.
input:focusStyles for focus state of input, select, and textarea elements. Adjusts border-color.
input::placeholderStyles for the placeholder in input elements. Sets color.
input.active > input, input.active > select, input.active > textareaStyles for active state of input components. Adjusts border-color.
input > labelStyles for label elements within the input class. Sets color, font-size, margin-bottom, transform, and user-select.
input-bVariant of the input class. Adjusts border-width, border-radius, and padding for input, select, and textarea elements, and modifies label styling.
input-lVariant of the input class with label styling. Adjusts background, border-radius, position, and other properties for labels.
input-before, input-afterVariants of the input class for adding elements before or after the input. Adjusts border-radius, height, overflow, and padding.