Skip to content
Twentyfirst UIPro

Search Ad Preview

Admin · SearchAdPreview, TextField

View as Markdown

A text ad as it appears in search results, on phone and desktop, with the length limits checked live.

Props: name, domain, paths (up to 2), headlines (up to 3 shown), descriptions (up to 2), sitelinks, device / onDevice, sponsoredLabel.

  • Limits: headline 30, description 90, path 15 characters; anything longer is listed as a warning under the preview.
  • The preview imitates the result layout in neutral colours, not the search engine's brand.
24 / 30
18 / 30
26 / 30
95 / 90
37 / 90
Preview
Northwindnorthwind.de › instagram › followers
Sponsored
Real Instagram Followers | Delivery in 1 Hour | Trusted by 50,000 Creators

Grow your account with real followers. Secure payment, 30-day refill guarantee, German support. Start from €2.90. No password needed.

Description 1 is 95 characters, the limit is 90

Props

SearchAdPreview

PropTypeNotes
name?string
domainstringRequired
paths?string[]
headlines?string[]
descriptions?string[]
sitelinks?string[]
device?"mobile" | "desktop"
onDevice?(d: string) => void
sponsoredLabel?string
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.

TextField

PropTypeNotes
type?stringInput type (`"text"` by default): `"email"`, `"number"`, `"tel"`, `"url"`, `"password"` …
icon?IconName
suffix?ReactNode
value?string
defaultValue?string
placeholder?string
disabled?boolean
readOnly?boolean
autoComplete?string
autoFocus?boolean
min?number | stringSmallest value for `type="number"`, `"date"` and the like (native `min`).
max?number | stringLargest value (native `max`).
step?number | stringStep between valid values (native `step`), e.g. `1` for whole numbers or `"any"`.
minLength?numberFewest characters (native `minlength`).
maxLength?numberMost characters (native `maxlength`).
pattern?stringPattern the value must match (native `pattern`).
inputMode?"none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search"Virtual keyboard on touch devices (native `inputmode`), e.g. `"numeric"` or `"decimal"`.
onChange?(e: ChangeEvent<HTMLInputElement>) => void
onBlur?(e: ChangeEvent<HTMLInputElement>) => void
onKeyDown?(e: KeyboardEvent<HTMLInputElement>) => void
action?ReactNodeAn interactive control at the end of the field (an `IconButton`: clear, copy, locate …). Unlike `suffix` it can be clicked, and it stays when the field shows an error or success mark.
reveal?booleanFor `type="password"`: a button that shows and hides the password (default true).
label?string
hint?string
error?string