Skip to content

htmlandbacon/components.form-input-denote

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The input denote component

The input denote component module simply adds a visual box treatment before or after an input.

This extends current GOV.UK styles.

HTML Example


<h1 id="legend-heading" class="heading-large">Descriptive Heading</h1>

<div id="example-question" class="form-group inline">
    <span class="c-form-input-denote">£</span>
    <input class="form-control c-form-input-denote__input form-control-1-4" aria-labelledby="legend-heading" type="text" name="example">
</div>

Visual Example

This is an example taken from Apply for a Budgeting Loan.

Visual example of denote componet from budging loans service

Usage

Once this has been installed you will need to include it in your Sass files.

links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 100.0%