You can edit 8 Components for free. Get premium for unlimited access.
Displays a form input field or a component that looks like an input field.
The Input Field is a input field component with support for placeholder animation, validation status, error messages, and an optional icon.
This component inherits props from the Input Field.
You can edit the type with the default, disabled, success or error parameter.

Image 2.1 : Type default

Image 2.2 : Type success

Image 2.3 : Type disabled

Image 2.4 : Type error
You can edit the size with the sm, md or lg parameter.

Image 3.1 : Size lg

Image 3.2 : Size md

Image 3.3 : Size sm
You can edit the state with the default, active or filled parameter.

Image 4.1 : State default

Image 4.2 : State active

Image 4.3 : State filled
You can edit the iconLeft with the true or false parameter.

Image 5.1 : iconLeft false
Image 5.2 : iconLeft true
You can edit the iconRight with the true or false parameter.

Image 6.1 : iconRight false
Image 6.1 : iconRight true
The DLInputField is a input field component with support for placeholder animation, validation status, error messages, and an optional icon.
This component inherits props from the Input Field.
-
-
-
-
-
You can edit the type with the .none, .icon, .warning, .success or .error parameter.
You can edit the size with the .sm, .md or .lg parameter.
You can edit the state with the .normal or .disabled parameter.
The InputField is a input field component with support for placeholder animation, validation status, error messages, and an optional icon.
This component inherits props from the Input Field.
-
-
You can edit the type with the .none, .icon, .warning, .success or .error parameter.
You can edit the size with the InputFiledSize.sm, InputFiledSize.md or InputFiledSize.lg parameter.
You can edit the state with the .normal or .disabled parameter.
Preview
Code
const DlInput(
placeholder: 'Input Field',
)Add this code example to your project to see how the component works.
const DlInput(
placeholder: 'Placeholder',
iconLeft: DlPlaceholderIcon(),
iconRight: DlPlaceholderIcon(),
)DlInput is a fully interactive, token-based text input component with optional side icons, focus/filled behavior, type variants default , error and success , and state-aware helper/placeholder styling.
Size
Preview
Code
const Wrap(
spacing: DlSpacingTokens.p_16,
runSpacing: DlSpacingTokens.p_16,
children: [
DlInput(
placeholder: 'Input Field',
size: DlInputSize.lg,
),
DlInput(
placeholder: 'Input Field',
size: DlInputSize.md,
),
DlInput(
placeholder: 'Input Field,
size: DlInputSize.sm,
),
],
)Variants
Preview
Code
const Wrap(
spacing: DlSpacingTokens.p_16,
runSpacing: DlSpacingTokens.p_16,
children: [
DlInput(
placeholder: 'Input Field',
type: DlInputType.success,
),
DlInput(
placeholder: 'Input Field',
type: DlInputType.error,
errorHelperText: 'This field has an error',
),
],
)With Icon
Preview
Code
const Wrap(
spacing: DlSpacingTokens.p_16,
runSpacing: DlSpacingTokens.p_16,
children: [
DlInput(
placeholder: 'Input Field',
iconLeft: DlPlaceholderIcon(),
),
DlInput(
placeholder: 'Input Field',
iconRight: DlPlaceholderIcon(),
),
],
)Disabled
Preview
Code
const DlInput(
placeholder: 'Input Field',
enabled: false,
)You have questions or need help?
You want to try?
Save time and money?