Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Bootstrap
  • Tailwind
  • Bulma
  • Foundation
  • Primer
  • Spectre
  • Onsen UI
  • Semantic UI
  • Pure CSS
  • Materialize
  • SASS
  • LESS
  • Blaze UI
  • CSS Frameworks
  • Color Picker
  • CSS
  • CSS Formatter
  • Web Technology
Open In App
Next Article:
Blaze UI Autocomplete Attributes
Next article icon

Blaze UI Autocomplete Attributes

Last Updated : 26 Apr, 2022
Comments
Improve
Suggest changes
Like Article
Like
Report

Blaze UI is a free open-source UI toolkit that provides a strong and maintainable foundation to develop scalable web solutions. All the components of Blaze UI are developed mobile-first and rely on native browser features, not on any additional library or framework. 

In this article, we will be seeing Blaze UI Autocomplete Attributes. The Autocomplete component has only an optional attribute named placeholder that accepts a string value which is the initial text displayed in the input field.

Blaze UI Autocomplete Attributes:

  • placeholder: There is only one attribute for the Autocomplete component named placeholder.

Syntax:

<blaze-autocomplete placeholder="...">  </blaze-autocomplete>

Example 1: This example shows the use of the placeholder attribute of the autocomplete component.

HTML
<!DOCTYPE html> <html lang="en">  <head>     <title>Blaze UI - Autocomplete Attributes</title>     <link rel="stylesheet" href= "https://unpkg.com/@blaze/[email protected]/dist/blaze/blaze.css">     <script type="module" src= "https://unpkg.com/@blaze/[email protected]/dist/blaze-atoms/blaze-atoms.esm.js">     </script>      <style>         body {             font-family: sans-serif;         }     </style> </head>  <body>     <div class="u-centered">         <h2 style="color: green;">              GeeksforGeeks         </h2>                  <h3>Autocomplete Attributes - Blaze UI</h3>     </div>      <div class="u-window-box-super u-centered">         <b>Autocomplete without <i>placeholder</i> attribute</b>         <br>         <blaze-autocomplete id="autocomplete1"></blaze-autocomplete>         <br>         <b>Autocomplete with <i>placeholder</i> attribute</b>                  <blaze-autocomplete id="autocomplete2"              placeholder="This is placeholder text.">         </blaze-autocomplete>     </div> </body>  </html> 

Output:

Blaze UI Autocomplete Attributes

Example 2: This example shows the use of the placeholder attribute on different sizes of autocomplete components.

HTML
<!DOCTYPE html> <html lang="en">  <head>     <title> Blaze UI - Autocomplete Attributes </title>     <link rel="stylesheet" href= "https://unpkg.com/@blaze/[email protected]/dist/blaze/blaze.css">     <script type="module" src= "https://unpkg.com/@blaze/[email protected]/dist/blaze-atoms/blaze-atoms.esm.js">     </script>      <style>         body {             font-family: sans-serif;         }     </style> </head>  <body>     <div class="u-centered">         <h2 style="color: green;">             GeeksforGeeks         </h2>                  <h3> Autocomplete Attributes - Blaze UI </h3>     </div>      <div class="u-window-box-super u-centered">         <b>             Extra-Small Sized Autocomplete with              <i>placeholder</i> attribute         </b>                  <blaze-autocomplete class="u-xsmall"              placeholder="This is placeholder text.">         </blaze-autocomplete>         <br>          <b>             Small Sized Autocomplete with              <i>placeholder</i> attribute         </b>                  <blaze-autocomplete class="u-small"              placeholder="This is placeholder text.">         </blaze-autocomplete>         <br>          <b>             Medium Sized Autocomplete with              <i>placeholder</i> attribute         </b>                  <blaze-autocomplete class="u-medium"              placeholder="This is placeholder text.">         </blaze-autocomplete>         <br>          <b>             Large Sized Autocomplete with              <i>placeholder</i> attribute         </b>                  <blaze-autocomplete class="u-large"              placeholder="This is placeholder text.">         </blaze-autocomplete>         <br>          <b>             Extra-Large Sized Autocomplete with              <i>placeholder</i> attribute         </b>                  <blaze-autocomplete class="u-xlarge"              placeholder="This is placeholder text.">         </blaze-autocomplete>         <br>                  <b>             Super-Sized Autocomplete with              <i>placeholder</i> attribute         </b>                  <blaze-autocomplete class="u-super"              placeholder="This is placeholder text.">         </blaze-autocomplete>     </div> </body>  </html> 

Output:

Blaze UI Autocomplete Attributes

Reference: https://www.blazeui.com/components/autocomplete/


Next Article
Blaze UI Autocomplete Attributes

W

writer01
Improve
Article Tags :
  • Web Technologies
  • CSS
  • Blaze-UI
  • Blaze-UI Component

Similar Reads

    HTML autocomplete Attribute
    The HTML autocomplete Attribute is used to specify whether the input field autocompleted would be on or off. When the autocomplete attribute is set to on the browser will automatically complete the values based on what the user entered before. It works with input fields such as text, search, URL, em
    3 min read
    Blaze UI Badges Attributes
    Blaze UI is a framework-free open source UI toolkit that uses JavaScript components to build great user interfaces. It is the same as a bootstrap for use and has great different elements to use to make your website look more amazing. This framework allows us to use various of its styles and properti
    3 min read
    Blaze UI Avatars Attributes
    Blaze UI is a framework-free open source UI toolkit that uses JavaScript components to build great user interfaces. It is the same as a bootstrap for use and has great different elements to use to make your website look more amazing. This framework allows us to use various of its styles and properti
    3 min read
    HTML <input> autocomplete Attribute
    The HTML | <input>autocomplete Attribute is used to specify whether the input field has autocompleted and would be on or off. When the autocomplete attribute is set to on the browser will automatically complete the values based on what the user entered before. It works with many input fields s
    1 min read
    HTML < form> autocomplete Attribute
    The HTML <form> autocomplete attribute allows the browser to automatically fill the form fields based on previous user inputs.Used to save time by reusing data like names, emails, and addresses.It can be turned "on" or "off" depending on the field's requirements.Syntax<form autocomplete="on
    3 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences