Expokit
AboutDocsComponentsChartsBlocksPricing
Sign inGet started
OverviewGlassProGlass ButtonProGlass Nav BarProGlass Search BarProGlass Segmented ControlProGlass SheetProGlass Tab BarProNative bottom tabs (Liquid Glass)
Glass Search Bar
Sponsor ExpoKit

Free stays free. Tip once — keep shipping.

Support
About
Docs
IntroductionWhat ExpoKit is and how it worksInstallationAdd ExpoKit to an Expo appThemingColours, radius and dark modeCLIinit, add, login and updateAI assistants (MCP)Cursor, Claude, Antigravity and moreRun on your phoneTry components in Expo GoChangelogWhat shipped recently
npx @expokit/cli@latest initQuick start
Components
Liquid Glass8 iOS 26 glass pieces3DNew14 tilt, flip and stack
Inputs 12
  • CalendarNew
  • Date PickerNew
  • Floating Input
  • OTP Input
  • Password Input
  • +7 more
Selection 7
  • Checkbox
  • Chip Group
  • Color SwatchPro
  • Radio Group
  • RatingPro
  • +2 more
Buttons 7
  • Button
  • Floating Action ButtonPro
  • Like ButtonPro
  • Morph ButtonPro
  • Shimmer ButtonPro
  • +2 more
Feedback 5
  • Alert
  • Progress
  • Skeleton
  • Spinner
  • Toast
Overlays 4
  • Action SheetNew
  • Bottom Sheet
  • Dialog
  • DrawerNew
Display 9
  • Accordion
  • Avatar
  • Badge
  • Card
  • CarouselPro
  • +4 more
Navigation 3
  • Bottom NavNew
  • Progress StepsNew
  • Tabs
Motion 2
  • Number TickerPro
  • Text Animation
70 components · 347 live variantsAll components
Charts

Cartesian

  • Area Chart
  • Bar Chart
  • Line Chart
  • Combo Chart

Circular

  • Pie & Donut
  • Radial Chart
  • Radar Chart
  • Polar AreaPro

3D & Pixel

  • Isometric BarsPro
  • Pixel BarsPro

Specialty

  • TreemapPro
  • WaterfallPro
  • BulletPro
  • TimelinePro
  • Gauge
  • Candlestick
  • Heatmap
  • Funnel

Classic

  • Sparkline
  • Progress Rings
  • MultiLine (classic)
  • StackedBar (classic)
  • Ranking Bars (classic)

Guides

  • Usage & config
  • Patterns & effects
  • Show / hide anything
  • Chart theming
  • Interactions
23 charts, built on the open-source expo-charts engineAll charts
Blocks

Screens

ChatProAn AI assistant chat screenCheckoutProA premium checkoutDashboardProA finance / analytics home screenInboxProA messaging inboxOnboardingProA minimal swipeable welcome flowProfileProAccount profile for any appSearch ResultsProA clean, monochrome search screenSettingsProAn iOS-style grouped settings screenSign InProOne configurable sign-in flow modelled on top mobile apps
9 complete screens — drop one in, wire your dataSee them on devices All blocks
Pricing
DocsGlassGlass Search Bar

Glass Search Bar

A floating glass search pill that swells on focus as a cancel button splits off.

Pro<GlassSearchBar />3 variantsiOS · Android · Expo Go
9:41

Sunday 18 October

9:41

Installation#

One command copies the source into your app — you own the code and can change anything.

Usage#

Colours, radius and light / dark come from useKit(). Wrap your app in <KitProvider accent="#6366f1" radius={14}> to re-skin every component at once.

Props#

PropTypeDefault
value / defaultValue / onChangeText

Controlled or uncontrolled query; clear and cancel report ''.

string—
placeholder

Placeholder, also the field's accessibility label.

string"Search"
onSubmit

Called with the query when the keyboard's search key is pressed.

(text: string) => void—
showCancel

A glass cancel button springs in beside the pill while focused or holding text.

booleanfalse
cancelLabel

Text for the cancel button, e.g. "Cancel"; without it the button is a round ✕.

string— (round ✕)
onCancel

After cancel clears the query and dismisses the keyboard.

() => void—
leading

Replaces the magnifier at the start of the pill.

ReactNodemagnifier
trailing

Inside the pill at the end, e.g. a mic button.

ReactNode—
autoFocus

Focus the field on mount.

booleanfalse
scheme

Force light or dark glass and ink, e.g. 'dark' over a photo.

'light' | 'dark'kit theme
size

44 / 52pt tall; font, icons and padding scale too.

'md' | 'lg''md'
style

Row holding the pill and the cancel button.

StyleProp<ViewStyle>—
…TextInputProps

editable, returnKeyType, onFocus, onBlur, onSubmitEditing, … (ref forwards to the TextInput).

Behaviour & accessibility#

Motion
The pill swells a touch on focus and a clear button pops in once there is text. With showCancel, a glass cancel button springs in beside it while searching.
Reduced motion
The pill no longer swells, and the clear and cancel buttons fade in with a short timing instead of a spring.
Keyboard
The return key reads Search and calls onSubmit with the query. Cancel clears the text and dismisses the keyboard.
Screen readers
The field has the search role and is labelled by its placeholder. The clear and cancel buttons read "Clear search" and cancelLabel (or "Cancel search").
Platforms
Real Liquid Glass on iOS 26, where the pill and cancel button melt together. Blur or frosted glass everywhere else.

Source#

PreviousGlass Nav BarNextGlass Segmented Control

Did you like the content?

9:41

Sunday 18 October

9:41

Pro component Pro

Sign in with a Pro account to try it live, copy the source and install it with the CLI.

Sign in See pricing

The install command is part of ExpoKit Pro Pro

Sign in with a Pro account to try it live, see the source and install it with the CLI.

See pricingSign in

The usage example is part of ExpoKit Pro Pro

Sign in with a Pro account to try it live, see the source and install it with the CLI.

See pricingSign in

The source is part of ExpoKit Pro Pro

Sign in with a Pro account to try it live, see the source and install it with the CLI.

See pricingSign in