By default, all pages Con has a search bar. You can use toggle button from top navbar to open it.

Toggle

If you want to use custom toggle button, use classname search-bar-toggle like this:

Open Search Bar

<a href="#!" class="btn search-bar-toggle">Open Search Bar</a>

Content

You can change default content of search bar.

<div class="search-bar">
  <form action="#!">
    <!-- Header -->
    <a class="search-bar-toggle grey-text text-darken-2" href="#!"><i class="mdi-navigation-close"></i></a>
    
    <!-- Search Input -->
    <div class="input-field">
      <i class="mdi-action-search prefix"></i>
      <input type="text" name="con-search" placeholder="Type to search...">
    </div>
    
    <h4>Serach results for 'Con'</h4>
    
    <hr>
    <!-- Search Results -->
      <div class="search-results">

        <div class="row">
          <div class="col s12 l4">
            <h4>Users</h4>

            <div class="each-result">
              <img src="assets/_con/images/user2.jpg" alt="Felecia Castro" class="circle photo">
              <div class="title">Felecia Castro</div>
              <div class="label">Content Manager</div>
            </div>

            ...
          </div>
          ...
        </div>

    </div>
  </form>
</div>
Online
Felecia Castro
Felecia Castro
Lorem status
Max Brooks
Max Brooks
Lorem status
Patsy Griffin
Patsy Griffin
Lorem status
Chloe Morgan
Chloe Morgan
Lorem status
Vernon Garrett
Vernon Garrett
Lorem status
Greg Mcdonalid
Greg Mcdonalid
Lorem status
Christian Jackson
Christian Jackson
Lorem status
Offline
Willie Kelly
Willie Kelly
Lorem status
Jenny Phillips
Jenny Phillips
Lorem status
Darren Cunningham
Darren Cunningham
Lorem status
Sandra Cole
Sandra Cole
Lorem status
Monday, Feb 23, 8:23 pm
Hi, Felicia.
How are you?
John Doe Hi! I am good!
Glad to see you :)
This long text is intended to show how the chat will display it.
John Doe Also, we will send the longest word to show how it will fit in the chat window: Pneumonoultramicroscopicsilicovolcanoconiosis
Friday, Mar 10, 5:07 pm
Hi again!
John Doe Hi! Glad to see you.
I want to add you in my Facebook.
Can you give me your page?
John Doe I do not use Facebook. But you can follow me in Twitter.
It's good idea!
John Doe You can find me here - https://twitter.com/nkdevv