Open this example in the interactive library
Source code
<input
class="demo placeholder-shown:bg-amber-100"
aria-label="City"
placeholder="Type your city"
/>
Emphasize a control that has a hint with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<input
class="demo placeholder-shown:bg-amber-100"
aria-label="City"
placeholder="Type your city"
/>