Search Field

PRO

You can edit 8 Components for free. Get premium for unlimited access.

Choose between Figma, SwiftUI, React Native or Jetpack Compose Documentation.

Figma

The Search Field component is used to start a search query within an app.

1. Reference

This component inherits props from the Search Field.

Prop
Type
Default
state
default
active
filled
disabled
default
size
sm
md
lg
lg
iconRight
true
false
false

2. State

You can edit the state with the default, active, filled or disabled parameter.

Image 2.1 : State default

Image 2.2 : State active

Image 2.3 : State filled

Image 2.4 : State disabled

3. Size

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

4. iconRight

You can edit the iconRight with the true or false parameter.

Image 4.1 : iconRight false

Image 4.1 : iconRight true

SwiftUI

The DLSearchField component is used to start a search query within an app.

1. Reference

This component inherits props from the Search Field.

Prop
Type
Default
state
.normal
.disabled
.normal
size
.sm
.md
.lg
.lg
placeholder
"text"

-

text

-

-

2. State

You can edit the state with the .normal or .disabled parameter.

Search field

Search field

DLSearchField(
size: .lg,
state: .normal,
placeholder: "Search field",
text: $text
)

DLSearchField(
size: .lg,
state: .disabled,
placeholder: "Search field",
text: $text
)

3. Size

You can edit the size with the .sm, .md or .lg parameter.

Search field

Search field

Search field

DLSearchField(
size: .lg,
state: .normal,
placeholder: "Search field",
text: $text
)

DLSearchField(
size: .md,
state: .normal,
placeholder: "Search field",
text: $text
)

DLSearchField(
size: .sm,
state: .normal,
placeholder: "Search field",
text: $text
)

Jatpack Compose

The SearchField component is used to start a search query within an app.

1. Reference

This component inherits props from the Search Field.

Prop
Type
Default
state
SearchFieldState.default
SearchFieldState.disabled
SearchFieldState.default
size
SearchFieldSize.sm
SearchFieldSize.md
SearchFieldSize.lg
SearchFieldSize.lg
placeholder
"text"

-

text

-

-

2. State

You can edit the state with the SearchFieldState.default or SearchFieldState.disabled parameter.

Search field

Search field

...

3. Size

You can edit the size with the SearchFieldSize.sm, SearchFieldSize.md or SearchFieldSize.lg parameter.

Search field

Search field

Search field

...

React Native

This component is on the roadmap and in Progress This means that it is currently being edited and will be published in the next few weeks/months. Check back often to stay informed about the latest updates.

🚧

Discover more content

You have questions or need help?

E-Mail

You want to try?

Test for free

Save time and money?

Get Pro Version