Wilmington University

Wilmington University Design System

Buttons

Buttons are used for calls to action on a webpage. They should be wrapped in an anchor tag with the appropriate classes applied. Each button should have the class .Btn applied. Button text should always be Title case, (no all caps or sentence case).

Standard and Neutral Buttons

Standard and neutral buttons can be used when there are additional calls to action on a webpage. They should not compete with the main or primary call to action on the web page.

Default

Make a Gift

Hover

Make a Gift

Colors

  • Default state: #00843D
  • Hover state: #014E25

Default

Make a Gift

Hover

Make a Gift

Colors

  • Default state: #D1D1D1
  • Hover state: #949494

CTA Button

There should only be one CTA button on a webpage. This main call to action is a focal point on the page to get a user to take a specific action.

Default

Make a Gift

Hover

Make a Gift

Colors

  • Default state: #F9C22B
  • Hover state: #E2AE3D

Ghost Button

The ghost button should only be used in very rare instances where you have a primary and secondary button, but need a third that doesn't compete with the other calls to actions. A ghost button should only be used with a white or neutral background.

Default

Make a Gift

Hover

Make a Gift

Colors

  • Default background: #FFFFFF
  • Default text & border: #00843D
  • Hover background: #DCF0DD
  • Hover text & border: #014E25 & #00843D

Html/CSS

We have four different styles of buttons used across the website that are designated by class: .Btn, .Btn-cta, .Btn-neutral, and .Btn-ghost. Each button can be used in various layouts and designs, but there should only be ONE cta button on a web page. In addition to the main class for a button (.Btn), you also need to add a size class: .Btn-lg or .Btn-sm. Optionally, you can add the .Btn-full class if you need the button to span full width within it's container.

Code Snippet

See the Pen Buttons by Wilmington University (@WilmU01) on CodePen.

Class List

  • .Btn = green standard button. Class should be added to all buttons.
  • .Btn-neutral = neutral standard button
  • .Btn-cta = Call to action button
  • .Btn-ghost = Ghost button
  • .Btn-lg = Larger font and padding
  • .Btn-sm = Smaller font and padding
  • .Btn-full = CTA will span full width in the container