DESIGN SYSTEM

  • Principles
  • Components
  • Documentation

What's on this Page

    • Buttons general (G-M7FH)
    • Primary button (A-64C7)
        • A-64C7 dev code
    • Secondary button (A-4QRL)
        • A-4QRL dev code
    • Login button (A-3F59)
        • A-3F59 dev code
    • Register button (A-S91Q)
        • A-S91Q dev code
COMPONENTS

Buttons and links (BL)

Button and link styles in the npower design system.

Buttons general (G-M7FH)

There are four button atoms within the npower Design System. These are “Primary”, “Secondary”, “Log in” and “Register”. Unusually, they all share the same basic properties, so we’ve created one Sketch Measure file to outline those properties, using a grey button purely for illustration (there is no grey button).

Font-size: 14px.
Padding left and right: 24px.
Line height: 16px.

“Buttons: General” measured output

Primary button (A-64C7)

A-64C7: Dev output

Description / uses of primary button.

“Primary button” measured output

A-64C7 dev code

<input type="button" value="Primary button" class="primary">

A-64C7: Dev output

Secondary button (A-4QRL)

A-4QRL: Dev output

Description / uses of secondary button.

“Secondary button” measured output

A-4QRL dev code

<input type="button" value="Secondary button" class="secondary">

A-4QRL: Dev output

Login button (A-3F59)

A-3F59: Dev output

Description / uses of login button.

“Login button” measured output

A-3F59 dev code

<input type="button" value="Login button" class="login">

A-3F59: Dev output

Register button (A-S91Q)

A-S91Q: Dev output

Description / uses of login button.

“Register button” measured output

A-S91Q dev code

<input type="button" value="Register button" class="register">

A-S91Q: Dev output

See Also

  • Add Your Hugo Theme to the Showcase
  • Theme Components
  • Install and Use Themes
  • Create a Theme
  • Foundation styles (FS)
  • Content text (CT)
  • Buttons and links (BL)
  • Form elements (FE)
  • Icons (IC)
  • Miscellaneous (MS)
“Buttons and links (BL)” was last updated: February 27, 2019: Renaming components (1bf8ba4c)
Improve this page
By the Hugo Authors
Hugo Logo
  • File an Issue
  • Get Help
  • Discuss Source Code
  • @GoHugoIO
  • @spf13
  • @bepsays

 
  Hugo Sponsors
Logo for Forestry.io
Logo for Linode
Logo for eSolia
 

The Hugo logos are copyright © Steve Francia 2013–2019.

The Hugo Gopher is based on an original work by Renée French.

  • Principles
  • Components
  • Documentation
  • Foundation styles (FS)
  • Content text (CT)
  • Buttons and links (BL)
  • Form elements (FE)
  • Icons (IC)
  • Miscellaneous (MS)