• Stars
    star
    111
  • Rank 314,510 (Top 7 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Fully customizable header search bar for React Native

React Native Header Search Bar

Battle Tested βœ…

Fully customizable header search bar for React Native

npm version npm Platform - Android and iOS License: MIT styled with prettier

Header Search Bar Header Classic Search Bar
React Native Header Search Bar React Native Header Classic Search Bar

Installation

Add the dependency:

React Native:

npm i react-native-header-search-bar

Peer Dependencies

IMPORTANT! You need install them.
"react-native-androw": ">= 0.0.33",
"react-native-vector-icons": ">= 6.6.0",
"react-native-safe-area-context": ">= 0.6.1",
"react-native-dynamic-vector-icons": ">= 0.2.1",
"@freakycoder/react-native-helpers": ">= 0.0.21"

Component Options

  • HeaderSearchBar
  • HeaderClassicSearchBar

Import

import {
  HeaderSearchBar,
  HeaderClassicSearchBar
} from "react-native-header-search-bar";

HeaderSearchBar Usage

<HeaderSearchBar onChangeText={text => console.log(text)} />

HeaderClassicSearchBar Usage

<HeaderClassicSearchBar onChangeText={text => console.log(text)} />

Configuration - Props

Main Props

Property Type Default Description
backgroundColor color #fff change the background color
shadowColor color #000 change the main shadow color
firstTitle string Find your set the first title itself
secondTitle string Favorite Art Work set the second title itself
firstTitleColor color #959597 change the first title's text color
secondTitleColor color #34343b change the second title's text color
firstTitleFontSize number 18 change the first title font size
secondTitleFontSize number 18 change the second title font size
iconComponent component hamburger icon set your own component instead of hamburger icon component
onPressHamburgerIcon function null set your own function when hamburger icon is on pressed

SearchBox Props

Property Type Default Description
iconName string search set the icon name
iconType string EvilIcons set the icon type
iconSize number 25 set the icon size
iconColor color #000 set the icon color
onChangeText function function set your own logic for changing text
value string undefined set the value for search box's text input
searchBoxText string What are you looking for? set the search box's text
searchBoxTextStyle style default set your own style for text input's style
searchBoxOnPress function function set your own logic when tapping the search box itself
searchBoxWidth number 95% change the search box's width
searchBoxBorderRadius number 8 change the search box's border radius
searchBoxBackgroundColor color #f5f5f5 change the search box's background color
iconComponent component Icon set your own icon component instead of Icon
disableTextInput boolean false disable or enable the text input itself

Future Plans

  • LICENSE
  • Header Classic Search Bar Component
  • Write an article about the lib on Medium

Inspiration

Header Search Bar Component is designed by: Jawadur Rahman

Author

FreakyCoder, [email protected]

License

React Native Header Search Bar is available under the MIT license. See the LICENSE file for more info.

More Repositories

1

react-native-header-view

Fully customizable Header View with multiple design options for React Native.
Java
548
star
2

react-native-dynamic-search-bar

Medium Article: https://freakycoder.com/react-native-library-dynamic-search-bar-c03fea9fae36
Java
481
star
3

react-native-bouncy-checkbox

Fully customizable animated bouncy checkbox for React Native
Java
462
star
4

react-native-apple-card-views

Customizable and perfect clone of Apple, App Store Card Views for React Native.
Java
336
star
5

react-native-typescript-boilerplate

πŸš€ Awesome fundamental features with Typescript support React Native Boilerplate
TypeScript
210
star
6

react-native-beautiful-timeline

Fully customizable, beautifully designed Timeline for React Native.
Java
175
star
7

react-native-login-screen

πŸš€ Fully Customizable Beautiful React Native Login Screen
TypeScript
155
star
8

StompClientLib

Simple STOMP Client library, Swift 3 and 4, 4.2, 5 compatible
Swift
142
star
9

react-native-gradient-header

Fully customizable and unique shape Gradient Header for React Native
JavaScript
138
star
10

react-native-imaged-carousel-card

Fully customizable & Lovely Imaged Carousel Card for React Native
JavaScript
99
star
11

react-native-dynamic-vector-icons

Wrapper of react-native-vector-icons to use dynamic types
TypeScript
86
star
12

react-native-single-select

Customizable & Easy to Use Single Select Library for React Native
TypeScript
85
star
13

react-native-progressive-fast-image

Customizable progressive image for React Native with FastImage
TypeScript
82
star
14

react-native-internet-connection-alert

Fully customizable internet connection listener with the built-in alert for React Native
Java
74
star
15

react-native-bottom-bar

Fully customizable BottomBar with unique design shape for React Native.
JavaScript
73
star
16

react-native-helpers

All helpers in one; iPhone series support, dimensions helper, hasNotch helper, normalize text helper and text helpers for React Native with very easy useEasy to use & awesome helpers for React Native.
TypeScript
71
star
17

react-native-gradient-card-view

Fully customizable Gradient Card View for React Native.
TypeScript
67
star
18

react-native-bounceable

πŸš€ Animate and bounce any component with RNBounceable for React Native
Java
56
star
19

react-native-typescript-library-starter

Ready to Rock πŸ”₯
JavaScript
53
star
20

react-navigation-helpers

Helpers for React Navigation
Java
49
star
21

MediaPickerLib

Kotlin based media picker library, to pick multiple images and/or vidoes from built-in gallery. Easy to implement and use :)
Kotlin
48
star
22

react-native-floating-action-button

Fully customizable Floating Action Button for React Native
JavaScript
47
star
23

react-native-redux-boilerplate

React Native Redux Boiler Plate
JavaScript
38
star
24

react-native-poll

Voting and poll library for React Native with fully customizable options
TypeScript
38
star
25

react-native-multiple-select

Customizable & Animated, Easy to Use Multiple Select Library for React Native
TypeScript
36
star
26

react-native-button

Fully customizable, Gradient, Outline and Solid Button for React Native.
TypeScript
34
star
27

MJPEGStreamLib

Simple and easy to use MJPEG Stream Library. It contains authentication if your stream url needs a username/password. It is based on UIImageView so it is all up to your custom design.
Swift
32
star
28

react-native-text-input-interactive

Fully customizable, animated text input for React Native with beautiful and elegant design
Java
32
star
29

react-native-duo-toggle-switch

Fully customizable animated duo toggle switch for React Native
Java
31
star
30

react-native-permissions-modal

Awesome & Fully Customizable Permissions Modal for React Native
JavaScript
31
star
31

react-native-time-date-picker

πŸš€ Easy to use time and date picker with lots of options for React Native πŸ₯³
TypeScript
28
star
32

react-native-dynamic-text-loading

Dynamically changes the text while loading screen for React Native. This is the loading like Heartstone and Discord's dynamically changes loading texts :)
JavaScript
27
star
33

react-native-picker-modal

Easy and fully customizable picker modal for React Native
TypeScript
26
star
34

react-native-animation-layout

Custom & Ready to GO partially customizable Animation Layouts for React Native.
JavaScript
25
star
35

react-native-animated-radio-button

Fully customizable animated radio button for React Native
Java
25
star
36

react-native-monthly

Animated and customizable monthly calendar for React Native
TypeScript
24
star
37

react-native-segmented-control-2

πŸš€ React Native Segmented Control, Pure Javascript for iOS and Android
Java
21
star
38

react-native-imaged-card-view

Rising Imaged Card View with Awesome Shadows and Fully Customizable Library for React Native
JavaScript
21
star
39

react-native-animated-component

Animate any component with React Native Animated Component
Java
20
star
40

react-native-easy-state-view

Fully customizable State View for React Native.
Java
20
star
41

react-native-circular-card-view

Fully customizable Circular Card View for React Native
JavaScript
20
star
42

react-native-rounded-checkbox

Rounded Checkbox with animated and fully customizable options library for React Native
TypeScript
20
star
43

react-native-text-area

Simple and easy to use TextArea for React Native.
Java
20
star
44

react-native-bottom-search-bar

Elegant & Cool also fully customizable bottom search bar for React Native.
Java
20
star
45

react-native-permission-service

Easy to use permission service which is all handled by itself for both iOS and Android on React Native
TypeScript
19
star
46

react-native-typescript-zustand-boilerplate

πŸš€ Ready to start Zustand Typescript React Native Boilerplate 🌟
TypeScript
19
star
47

react-native-checkbox-card

Checkbox Card is customizable and animated built-in check state integration for React Native
TypeScript
18
star
48

react-native-counter-input

Counter Input with fully customizable options for React Native
TypeScript
18
star
49

react-native-switch-button

Animated switch button with fully customizable React Native Component
TypeScript
18
star
50

iOS-StatusBar-Example

Medium Article: https://freakycoder.com/ios-notes-13-how-to-change-status-bar-color-1431c185e845
Swift
17
star
51

react-native-bouncy-checkbox-group

Fully customizable bouncy checkbox group for React Native
TypeScript
16
star
52

react-native-social-login-screen

Easy Login Screen with beautiful design and fully customizable options for React Native
TypeScript
16
star
53

react-native-colorful-card

Fully customizable colorful card component for React Native
TypeScript
16
star
54

react-native-animated-radio-button-group

Fully customizable, animated & easy to use radio button group
Java
16
star
55

react-native-subscribe-card

Beautifully designed & fully customizable subscribe card for React Native
TypeScript
15
star
56

react-native-instagram-story-circle

Fully customizable Instagram Story Circle with Bounceable Animated Library for React Native
TypeScript
15
star
57

react-native-alert-modalize

Awesome styled, fully customizable alert modalize for React Native.
JavaScript
14
star
58

react-native-bottom-menu

Fully customizable Bottom Menu for React Native.
JavaScript
14
star
59

react-native-image-swiper

Fully customizable & extremely easy to use Image Swiper for React Native
Java
14
star
60

Instagram-Style-Gradient-Background-Transition

Instagram Style Animated Gradient Background Login Screen
Java
14
star
61

react-native-typescript-redux-boilerplate

Awesome fundamental features with Typescript support and ready to use Redux implementation React Native Boilerplate
TypeScript
13
star
62

react-native-whatsnew-kit

Plug & Play, beautiful WhatsNewKit for React Native
JavaScript
13
star
63

react-native-review-modal

Review Modal with dynamic rate system and comment feature for React Native
JavaScript
12
star
64

react-native-gorgeous-header

Fully customizable & easy to use gorgeous header view for React Native
Java
12
star
65

react-native-flex-divider

Fully customizable flex divider with a easy use for React Native
Java
12
star
66

react-native-star-review

Fully customizable Star Review for React Native.
JavaScript
12
star
67

react-native-shake-text

TypeScript
11
star
68

react-native-custom-text

TypeScript
11
star
69

react-native-ticket-modal

Ready to GO Ticket Modal for React Native.
JavaScript
11
star
70

react-native-checkbox-flex

Fully customizable, easy to use checkbox with flexible component by React Native on Android and iOS
TypeScript
11
star
71

react-native-apple-header

React Native Apple Header
TypeScript
10
star
72

react-native-empty-state

Empty State library which is fully customizable and simple for any state view use-cases
Java
10
star
73

React-Native-Media-Controls

A sweet UI component to manipulate your media
JavaScript
10
star
74

react-native-beautiful-horizontal-list

JavaScript
10
star
75

react-native-premium-table

Fully customizable, easy to use premium table for React Native
Java
9
star
76

react-native-modern-header

React Native Modern Header
Java
9
star
77

react-native-image-picker-modal

Easy to use image picker modal with awesome iOS Picker design for React Native
Java
9
star
78

react-native-global-modal-2

🌍 Global modal and callable from anywhere on the app for React Native
TypeScript
9
star
79

react-native-ios-like-navigation-transition

Java
9
star
80

react-native-basic-modal

Basic & Elegant Modal for React Native
Java
9
star
81

react-native-profile-header

Customizable Profile Header with cool icons for React Native
TypeScript
8
star
82

react-native-social-auth-helper

React Native Social Auth Helper
Java
8
star
83

react-native-text-input

React Native Text Input
Java
8
star
84

react-native-imaged-card

Beautiful and Fully Customizable Imaged Card for React Native
JavaScript
8
star
85

react-native-easy-cached-image

Easy Peasy Cached Image for React Native.
JavaScript
8
star
86

react-native-improved-text-input

Improved Text Input with placeholder style option for React Native
Objective-C
6
star
87

react-native-custom-icon

Medium Article: https://freakycoder.com/react-native-library-react-native-custom-icon-1ec0b734d691
JavaScript
6
star
88

react-native-pure-boilerplate

React Native Pure BoilerPlate
JavaScript
6
star
89

react-native-countdown

Moment based extremely easy to use Countdown for React Native
Java
6
star
90

react-native-multi-grid-selection

Fully customizable Multi Grid Card Selection component for React Native on both iOS and Android
TypeScript
5
star
91

react-native-beautiful-state-view

Fully customizable & Beautiful State View for React Native
Java
5
star
92

React-Native-Translucent-StatusBar-Example

Medium Article:
Objective-C
5
star
93

react-native-rounded-checkbox-group

Fully customizable react native checkbox group for React Native
Java
5
star
94

react-use-state-with-callback

Make the useState hook with a callback for React and React Native
Java
5
star
95

react-native-permission-item

Customizable, easy to use permission item component for React Native
TypeScript
4
star
96

react-native-get-premium-screen

Easy to use and fully customizable get premium screen for React Native
TypeScript
4
star
97

react-native-dash-2

Java
4
star
98

react-native-social-button

Easy & Elegant Social Button for React Native
JavaScript
3
star
99

react-native-splash-screen-example

React Native Notes 25: How to build a native Splash Screen on React Native App?
TypeScript
3
star
100

react-native-card-collection

Easy to use & Ready to Go Fully Customizable Awesome Card Collection for React Native.
JavaScript
3
star