Buttons
Button Button Button Button Button Button Button Button Button Button Button Button Button
Foundation
This is a paragraph. Morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. This is a link.
Header color .d1
Header color .d2
Header color .d3
Header color .d4
Header color .d5
Header color .d6
Header Level 1
Header Level 2
Header Level 3
Header Level 4
Header Level 5
Header Level 6
Header class="bold" Level 1
Header class="bold" Level 2
Header class="bold" Level 3
Header class="bold" Level 4
Header class="bold" Level 5
Header class="bold" Level 6
Color class="c-yellow"
Color class="c-orange"
Color class="c-red"
Color class="c-violet"
Color class="c-violetdark"
Color class="c-bluelight"
Color class="c-bluebright"
Color class="c-blue"
Color class="c-bluedark"
Color class="bg-yellow"
Color class="bg-orange"
Color class="bg-red"
Color class="bg-violet"
Color class="bg-violetdark"
Color class="bg-bluelight"
Color class="bg-bluebright"
Color class="bg-blue"
Color class="bg-bluedark"
Span class="size-1"Span class="size-2"
Span class="size-3"
Span class="size-4"
Span class="size-5"
Span class="size-6"
Columns
.one-sixth
.five-sixths
.one-fourth
.three-fourths
.one-third or .two-sixths
.two-thirds or .four-sixths
.one-half or .two-fourths or .three-sixths
.one-half or .two-fourths or .three-sixths
.full
Text Justification
Left Justified
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue.
Center Justified
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue.
Right Justified
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue.
Width Justified
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue.
Images and Figures
Left Aligned Image
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue.
Center Aligned Image
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue.
Right Aligned Image
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue.
Left Aligned Figure with Caption
Quotes and Citations
Block Quotes
I can see how it might be possible for a man to look down upon the earth and be an atheist, but I cannot conceive how a man could look up into the heavens and say there is no God.Honest Abe
Pull Quotes
Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Donec ullamcorper nulla non metus auctor fringilla. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Curabitur blandit tempus porttitor. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.
Donec ullamcorper nulla non metus auctor fringilla. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Curabitur blandit tempus porttitor. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Nulla vitae elit libero, a pharetra augue.
Inline Quotes
Use the <q>
tag for inline
quotes.
Citations
You can cite a reference using the <cite>
tag.
List Types
Unordered List (Nested)
- List item one
- List item one
- List item one
- List item two
- List item three
- List item four
- List item two
- List item three
- List item four
- List item one
- List item two
- List item three
- List item four
Ordered List
- List item one
- List item one
- List item one
- List item two
- List item three
- List item four
- List item two
- List item three
- List item four
- List item one
- List item two
- List item three
- List item four
Definition List
- Wordpress
- WordPress is web software you can use to create a beautiful website or blog.
- Sublime Text
- Sublime Text is a sophisticated text editor for code, markup and prose.
- HiDef, Inc
- Catalysts for a Better World.
- Sheryle Gillihan
- Ideas, insights, and inspiration from a project management wonder woman.
HTML Element Tag Tests
This is an <anchor>
tag (otherwise known as a link).
Use the <strong>
tag for bold text.
Use the <em>
tag to emphasize(italics) text.
The <address>
tag is used to represent the contact information for an article, post, or page. When marking up postal addresses the <p>
tag is the appropriate element.
This abbr. is an example of an <abbr>
tag in the middle of a sentence.
You can write code using the <code>
tag.
You can emulate keyboard text, using the <kbd>
text tag.
You can mark text for deletion using the <del>
tag.
Use the <s>
tag to mark content that is no longer relevant or accurate.
Use the <ins>
tag to mark inserted text.
Use the <pre>
tag to display blocks of code:
#container { float: left; margin: 0 -240px 0 0; width: 100%; }
Use the <sub>
for subscripting text like H2O.
Use the <sup>
tag for superscripting text like E = MC2.
Use the <var>
tag to call out a variable.
Yelp’s primary palette contains red, blue, and warm greys.
When designing for Yelp, you are not limited to these colors, but they should be prominent in any consumer facing design.
Color
Backgrounds and borders
-
$background-color #f5f5f1
-
$medium-background-color #e5e5e1
-
$border-color #ccccc8
-
$light-border-color #e5e5e1
-
$ad-border-color #ebc074
-
$highlighted-background-color #f0f3f8
$highlighted-border-color #cbd6e7
Text
$normal-text #333
$mid-text #555
$subtle-text #999
$link-color #3b65a7
Revenue products
-
Deals
$deal-green #2f8e2f -
CTA
$cta-orange #ff8001 -
Platform
$platform-brown #d38855 -
Reservations
$yelpy-red #c41200
Typography utilities
Occasionally, there is a need to distinguish some copy from our normal style1s. In these cases, you should use one of the following utilities. |
|
---|---|
Bullet separatorYelp commonly groups pieces of similar information horizontally through the use of bullets between content pieces. Depending on your needs, you can put the bullet before or after the paragraph. |
bullet bullet |
Embossed textA subtle white shadow at the bottom to make a text look embossed (on gray background only).
|
Embossed Text |
Legal copyBetter explain what needs explainin’ or the fuzz will come for you.
|
You must agree to our Terms and Services |
Subtle textUse sparingly.
|
Subtle text |
Time stampDid something happen at a specific time? Tell people when with this style1.
|
2 hours ago |
BadgesBadges or tags that you can append inline with text.
|
Bruce Lee |
|
King Kong |
|
300 |
-
HR with text
Generally used in the context of login or sharing, where you might want to use an external option, or the Yelp specific option. Use sparingly and only to differentiate obvious choices.
-
Heading subtext
Wrap a piece of any heading in
<b>
to create a sub heading. -
New businesses San Francisco
New businesses San Francisco
New businesses San Francisco
-
-
Page headers
-
New Business Openings San Francisco, CA
-
Layout utilities
Pre-fab layouts
Use these layouts to establish the main column structure of a page. These layouts assume a full-width container. Do not nest layouts within one another. Borders are optional.
Yelp is moving towards a more unified column structure; use the right-rail type on all main pages.
Positioning elements on the grid
Nest elements within the page layout with sass mixins.
@include row()
@include column(3, 8)
@include column(5, 8)
-
Media block
We use CSS Flexbox with a fallback to the classic float-based media block for old versions of Internet Explorer.
-
cras justo odio, dapibus ac facilisis in, egestas eget quam cras mattis consectetur purus sit amet fermentum.
-
-
Variations Add
.pull-right
to the.media-avatar
div to move the avatar to the right of the story.cras justo odio, dapibus ac facilisis in, egestas eget quam cras mattis consectetur purus sit amet fermentum.Media block large
When the avatar is 60x60 or larger, add
.media-block-large
to increase the space between the avatar and story.cras justo odio, dapibus ac facilisis in, egestas eget quam cras mattis consectetur purus sit amet fermentum.Media title
Add a
.media-title
to the.media-story
to distinguish the title from the rest of the story content.cras justo odio, dapibus ac facilisis in, egestas eget quam cras mattis consectetur purus sit amet fermentum.
-
Inline layout list
Inline list for laying out items (within a grid column). Defaults to 2 items per "line".
-
- Filler content
- Filler content
- Filler content
- Filler content
- Filler content
- Filler content
-
-
.up-3
- 3 items per line (instead of 2). Supports up-3 through up-6.- Filler content
- Filler content
- Filler content
- Filler content
- Filler content
- Filler content

Top shelf
The ultimate class in hierarchy. Used sparingly across Yelp to distinguish headliner content from the rest of the page.
Links
Special link types used across the site. |
|
---|---|
Read more linksRead more links appear *inline* with paragraphs of truncated text. Clicking them can reveal hidden text inline or load a new page.
|
Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Read more |
More linkMore links are used to link to additional content on another page. Usually appear below a list of things like 'Related businesses' or 'Popular events'.
|
Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. More New Business Openings |
Bar linkBar links should be placed at the end of a list or feed. They are used to load more content directly into the list.
|
See more recent activity |
Chiclet linkChiclet links appear flat by default and become button like on hover.
|
Clear results |
Action linkAction links are used to display actions a user can perform on other user or review objects. Action links are rendered with a corresponding action_link ycon.
|
Send compliment |
-
Tooltip
Tooltips can be added to links in order to provide more detail on hover.
- Edit A little more detail now
-
Buttons
Forms
-
Text inputs and textareas
Notes on help text:- Inline - Only use the inline style1 to denote that a field is optional.
- Block - Use the block style1 to give context or directions for a particular field. You can also include denote something as optional.
- Placeholder - Use placeholder text to give an actual example of what you might write (do not include additional text, such as "ex:" or "e.g.").
-
-
Checkboxes, radios, and selects
-
Radio lists |
|
---|---|
Radio buttonsA list of radio inputs disguised as buttons. |
|
Radio linksA list of radio inputs disguised as links. |
|
-
Inline yform
-
-
Inline search yform
-
-
Nested icon labels
-
-
Error state
-
Please provide a valid email address
-
-
Placeholder shim
The placeholder attribute is not supported by ie9 or below. Use this class to display a text block above the input.
-
-
Inline form fields
This styleguide section is visible for internal IPs only
Experimental feature for laying out fields inline, but supporting i18n friendly labels. Fields expand to accomodate length of label. Needs a better component name.
-
Lists
Ordered and unordered lists |
|
---|---|
Round bullets
|
|
Square bullets
|
|
Numeric
|
|
Alpha
|
|
yListStandard lists for rendering feeds and lists of content with proper spacing. Often contains media blocks.
|
|
Bordered ylist
|
|
-
Short definition list
Short means they typically have shorter strings, and this treatment may not be ideal for longer content.
-
- Takes Reservations
- Yes
- Wheelchair Accessible
- Definitely
- Ambience
- Hipster, Romantic
-
-
Dotted definition list
Note: Dots should not appear next to items with no dd.
-
- Takes Reservations
- Yes
- Wheelchair Accessible
- Definitely
- Ambience
- Hipster, Romantic
- Key to life
-
-
Iconed list
An iconed list is a special kind of list where the bottom border appears only under the right-aligned content, rather than the icon associated with it. (See business page’s summary box.)
-
-
Open now
-
Open later
-
-
-
Action link iconed list
Lists of user/review action links should appear in a special iconed-list.
-
Containers
-
Islands
Islands are used to callout important content in the page.
-
No man is an island. But this element is.
-
-
.island-light
– A light weight version of the classic.No man is an island. But this element is. -
.island-blue
– A blue version of the classic.No man is an island. But this element is. -
.island-city-scape
– Use this island to prompt for more content such as add photos.No man is an island. But this element is.
-
Stacked islands
-
- Order food
- Buy a deal
- Buy a gift certificate
-
-
.island-light
– A light weight version of the classic.- Order food
- Buy a deal
- Buy a gift certificate
-
Tables
-
Beast Bird Fish Dog Finch Salmon Kangaroo Crow Gefilte -
-
.table-bordered
Beast Bird Fish Dog Finch Salmon Kangaroo Crow Gefilte -
.table-striped
Beast Bird Fish Dog Finch Salmon Kangaroo Crow Gefilte -
.table-simple
Beast Bird Fish Dog Finch Salmon Kangaroo Crow Gefilte -
.table-analytics
Beast Bird Fish Dog Finch Salmon Kangaroo Crow Gefilte This row is .selected
Parrot Tuna -
.table-analytics-simple
Beast Bird Fish Dog Finch Salmon Kangaroo Crow Gefilte
Alerts & popups
-
Alerts
For things like application alerts, status messages, biz alerts, and announcements. Alerts are yellow by default.
$common_templates.lib.info_alerts.draw_alert(...)
-
-
.alert-info
– Just lettin’ you know. -
.alert-error
– Something bad happened. -
.alert-success
– A successful thing happened.
-
Popups
-
Share business
Something amazing happened.Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
-
Generated in javascript at
yelp.ui.pop
.
-
Progress bar
Classic progress bar for reporting data. -
-
Media progress bar
Progress bar for tracking status of a media upload. Should be displayed over media thumbnail. -
Photo thumbnails
Add action links and statuses to photo box thumbnails with the |
|
---|---|
Action linksAdd action links to the top left of a photo box.
|
|
Minor actions should appear on the right.
|
|
StatusPhoto box statuses should appear in the lower right.
|
![]() |
Indicate that a photo has an error associated with it with:
|
![]() |
Graphical elements
Default images |
||
---|---|---|
![]() ![]() ![]() |
![]() ![]() ![]() |
![]() ![]() ![]() |
![]() |
Stars |
||
---|---|---|
|
|
|
Marketing components
-
Call us island
$common_templates.lib.marketing.call_us_island.render_minimal_cta(...)
-
Marketing page header
Phone number Call (123) 456-7890 -
-
Call us CTA island
Call to action which can contain different actions based on page and logged in state.
$common_templates.lib.marketing.call_us_island.render_full_cta(...)
-
-
Marketing catcher text
Used for introduction text below a heading.
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-
-
Hero image
Hero image with an optional toggler underneath.
-
-
-
Marketing block
This uses our existing media block component but has specific requirements and content for marketing pages.
-
This is a section heading
We love this fruit
Egestas eget quam cras mattis consectetur purus sit amet fermentum.
Do we really?
Egestas eget quam cras mattis consectetur purus sit amet fermentum.
-
-
Service options
-
- Lorem ipsum
- Dolor sit amet
- Consectetur adipiscing elit
- Lorem ipsum
- Dolor sit amet
- Consectetur adipiscing elit
- Lorem ipsum
- Dolor sit amet
- Consectetur adipiscing elit
-