All Components
This is the "Kitchen Sink" of the CBP Theme . It is provided to demonstrate various components in action. For guidance on how best to use the theme's components take a look at the CBP Style Guide .
Table of Content
Accordion
Accordion Standard
Project name | Description | Price |
---|---|---|
Invoice | Add invoice confirmation | $4,500 |
Templates | Refactor templates to use the new templating library | $9,000 |
Payments | Process payments using third party api | $5,400 |
Account Management | Improve account management workflow | $6,000 |
Accordion Light
Project name | Description | Price |
---|---|---|
Invoice | Add invoice confirmation | $4,500 |
Templates | Refactor templates to use the new templating library | $9,000 |
Payments | Process payments using third party api | $5,400 |
Account Management | Improve account management workflow | $6,000 |
Alerts
Notifications
Buttons
Types
Disabled State
Sizes
Block level buttons
Button Groups
Toggle Buttons
Dropdown Button
Split Buttons
Icon Buttons
Cards
Cards with different content
CBP Super Bowl 50 Air and Marine Operations Security
Personnel with U.S. Customs and Border Protection conduct operations in advance of Super Bowl 50 in Santa Clara, Calif., 2016. (U.S. Customs and Border Protection Photo by Glenn Fawcett)
Update
Featured event:
May 24, 2016
7-11pm
Latest News
Carousel
Dialogs
Standard Dialog (File Upload)
Rename file
Standard Dialog (Search and Replace)
Find and replace
Thank you!
Your request has been submitted.
Confirmation
Delete this user?
All user information will be deleted.
Abandon changes?
You have unsaved changes. Your changes will be lost.
Actionless
Live
Form Controls
Field States
Input Masks
With Floating Label
With Placeholder Label
Text Area
Select
Radio Buttons
Inline Radio Buttons
Checkboxes
Inline Checkboxes
Toggle Switches
Use the toggle switches, instead of radio buttons, for two or more specific options.
Date Picker
With Floating Label
With Placeholder Label
Forms
Field Label Combinations
Required Fields
Form Input File Type #1
( Mobile-First Approach )
Form Input File Type #2
( Matches current Style Guide )
Form Validation
Help Text
Input Character Limits
Examples
Labels and Badges
Subtle
DEFAULT PRIMARY SUCCESS INFO WARNING DANGERBadges
5 200 0Menus
- Bold Ctrl+B
- Italic Ctrl+I
- Underline Ctrl+U
- Font
- Font size
- Conditional formatting...
- Clear formatting
Submenu
With Icons
Form Controls
Meta Data
Stacked
- BOL Type
- B - Booking
- MOT
- 11 - Vessel(Containerized)
- Carrier
- JONN
- Conveyance
- REG O BOL B2
- Voyage/Trip/Flight
- 0512A000001
- Bond Type
- 9 - Single Transaction
- Entry Filing Date
- 07/17/2015 13:40:22
- Status
- 1
- Shipment
- 5004672569
Side-by-side
- BOL Type
- B - Booking
- MOT
- 11 - Vessel(Containerized)
- Carrier
- JONN
- Entry Type (Type)
- 01 - Consumption: Free and Dutiable
- Port of Entry
- 5206
- Importer
- --
- Bond Type
- 9 - Single Transaction
- Entry Filing Date
- 07/17/2015 13:40:22
- Conveyance
- REG O BOL B2
- Voyage/Trip/Flight
- 0512A000001
Popovers
Static Popover
Add note
Simple search: Type a term in the search field and select the search button.
Advanced search: Advanced boolean operators may be used. The default operator when searching multiple terms is “AND”.
Learn moreLive Demo
Progress and Loading
Progress
Load Spinners
Project name | Description | Price |
---|---|---|
Invoice | Add invoice confirmation | $4,500 |
Templates | Refactor templates to use the new templating library | $9,000 |
Payments | Process payments using third party api | $5,400 |
Account Management | Improve account management workflow | $6,000 |
Security Classification Banners
Look below at the footer level to see the banners after activing them.
Tables
CBP Default Table
Includes Borderless and Hover stylings with MDL additions Just by using the classnames: "table mdl-js-data-table"
Project name | Description | Price |
---|---|---|
Invoice | Add invoice confirmation | $4,500 |
Templates | Refactor templates to use the new templating library | $9,000 |
Payments | Process payments using third party api | $5,400 |
Account Management | Improve account management workflow | $6,000 |
Link opens in new windowSee CBP style guide for more table examples
Tabs
Standard
Did you know that
Banging your head against a wall burns 150 calories an hour.
Did you know that
Cherophobia is the fear of fun.
Nested Tabs (Standard > Light)
Timelines
Basic Timeline Example
- 2016 July 10
-
Text and more
Proactively envisioned multimedia based expertise and cross-media growth strategies. Seamlessly visualize quality intellectual capital without superior collaboration and idea-sharing. Holistically pontificate installed base portals after maintainable products.No border, no heading, just text
- Event 1
Another Shipment Timeline Example
Shipment 1234567890
- Yesterday
-
2 filings
Trade Filings
Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition. Organically grow the holistic world view of disruptive innovation via workplace diversity and empowerment. -
Port 1234 to Port 4321
Cargo Movement
-
* 53 system events
Internal Events
-
7 related notes
Notes
-
3 actions
CBP Officer Action
- Today
-
1 event
Post Release
Another Random Timeline Example
- 2016 July 10
-
12:05
Event #1 sent you an email
Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition. Organically grow the holistic world view of disruptive innovation via workplace diversity and empowerment. -
5 mins ago
Sarah Young accepted your friend request
-
27 mins ago
Jay White commented on your post
Objectively innovate empowered manufactured products whereas parallel platforms. Holisticly predominate extensible testing procedures for reliable supply chains. Dramatically engage top-line web services vis-a-vis cutting-edge deliverables - 2016 June 22
Typography
h1. Main Heading Regular 30px Secondary text
h2. Sub Heading Semibold 24px Secondary text
h3. Sub Sub Heading Semibold 22px Secondary text
h4. Sub Sub Sub Heading Semibold 20px Secondary text
h5. Sub Sub Sub Sub Heading Semibold 18px Secondary text
h6. Sub Sub Sub Sub Sub Heading Semibold 16px Secondary text
Link opens in new windowSee CBP style guide for more typography examples