Skip to content
Menu
Page Elements
email
Email Ready Snippets With numerous email clients and varying support for HTML and CSS, coding email campaigns are a complex task. Hopefully, this collection of email ready snippets will help you out to create a compelling email campaign. These snippets could be the extra nudge your subscribers need to open and engage with your email. You might also be interested in: email signup form snippets
ecommerce
blog archive
article
about us
notification
Notification UI Design Inspiration Notification usually helps to bring something to the notice of the user. It can be used as a CTA element on a web page to notify your users about a recent change, a message for them, etc. They are usually hidden away but for a simple badge or pulsating animation which is not in the way of the user.
mobile optimised
modal window
hidden content
hero section
Hero Section Design Inspiration Here you will find various code snippets, that you can use in the hero section of your website. We hope this will provide you with some great ideas that you can use in your websites.
grid layout
profile card
product showcase
pricing tables
portfolio
pagination
page transition
sidebar
Sidebar Design Inspiration & CSS Snippet Sidebar is usually used to display information that is not a part of the main content. Traditionally it’s a vertical column on the left or right side of the website, with modern CSS its possible to have this in a variety of shapes and even hide it in a modal window.
shopping cart
Design Elements
360 view
360 View Design Inspiration You might have seen these panorama style images and videos on VR and AR focused websites or with product showcase section on ecommerce websites. With the code snippets from this section, you can recreate the same effect on your website with no coding experience. Part of: product showcase, ecommerce websites, … What it does: create a stunning 360 panorama view
before and after
Before and After Comparison Slider HTML and CSS before-after comparison sliders for images and videos. These are really great for service websites to showcase their work.
hamburger menu
Hamburger Menu Design Inspiration Want to kill 💀 the hamburger menu? Don’t click on this. Here you will find handpicked hamburger menu code snippets that you can use in your web design projects. There are a lot of different options like pure CSS, animations and modal screen hamburger menu to choose from.
navigation menu
Navigation Menu Design Inspiration Navigation menus are critical for good accessibility of your website. From full-screen navigation menu to mega menu we have a lot of awesome navigation menu design inspiration for you.
split screen
Split Screen Layout in Web Design If you have to deliver two messages on one screen then this web design technique is perfect for you. It is a great choice for landing pages with side-by-side selectable options. When to use a split screen in web design? When your website offers two contrasting option to visitors. When you want to suggest a connection between two pieces of content.
timeline
Timeline Design Inspiration In web-design timeline is usually used to display a list of events in chronological order and is usually shown with a bar labeled with dates alongside the event entries.
3d
breadcrumb
Breadcrumb Navigation Design Inspiration Breadcrumb navigation is a UI element that supplements the navigation menu and helps with website navigation and reveals the user’s location on a website.
flowchart
header
pop up
Alert / Pop Up Design Inspiration If you are looking to add some flare to those pop ups or alert messages on your site you have come to the right place. If it’s traditional javascript popups or modal windows you will find some great pop up design inspiration here.
skeleton screens
Skeleton Screens Design Inspiration & CSS Snippets Skeleton screens are something that was made popular by Facebook, You might have seen the UI element’s skeleton was loaded beforehand and then the content was lazy loaded one after the other. This offers a great way to show visitors the page is loading content and also gives them an indication of what to expect when it loads. Skeleton screens are another way to focus on progress instead of progress bar and preloaders.
to do list
Checklist/To-Do List Design Inspiration You would typically use a to-do list to organise and prioritise your tasks. They can be a stylised list of items, some of which might have a checkbox you can cross off. In here you will find design inspiration and code snippets for checklists and to-do lists that you can copy paste in your web design projects.
ad template
chart
footer
hotspot
quotes
Quotes / Testimonial Design Inspiration Testimonial page helps potential customers to see how others have benefited from your product or service, this makes it a powerful tool for establishing trust and encouraging potential buyers to take action. In this section, we will look at some awesome examples of testimonial and quotes design inspiration you can use in your testimonial pages.
star rating
tooltip
badge
Badge UI Design Inspiration Badges in Web Design usually helps to highlight certain attributes of an item. It can be used as a CTA element on a web page or as notification for users.
CTA
full screen
Full Width – Fullscreen Design Inspiration Here you will find code snippets for fullscreen sections that fill the entire browser window either vertically ⬍ or horizontally ⬌ or both, no matter what the screen resolution. These could be text blocks, sliders, video section, hero section, etc
lightbox
text animation
Text Animation Design Inspiration Find awesome text animations that you can use in your web projects. We have handpicked some really creative text animation that you can use on various web design projects. From pure CSS to animated text effects you can find them all in here.
word scrambler
Word Scrambler/Shuffle Effect This is the kind of text effect that you usually see when hackers try to decode something in the movies. There is a jumbled block of text that randomly shuffle to reveal the hidden content.
HTML Elements
Form Snippets
contact form
credit card form
email signup forms
login form
accordion tabs
Accordion Tabs Design Inspiration You would typically use accordion tabs when you want to toggle between hiding and showing a large amount of content within a limited amount of space. It’s great for presenting information in a limited amount of space. From pure CSS to jquery powered accordion tabs you will find all of them in here.
canvas
Canvas Code Snippets The HTML canvas element is a container for graphics, where we can draw graphics on the fly using JavaScript.
filter ui
del ins
HTML del ins tag Styling using CSS A bunch of styling option for the HTML del and ins tag, mostly just using CSS. The del tag defines text that has been deleted from a document and is usually crossed-out and the ins tag is used to markup inserted text.
link
Link Design Inspiration – Link Hover Effects Links are the building blocks of the internet. Check out these creative and modern effects that can be used to add some awesome hover effects for links or for menu items. Find inspiration for creative link hover effects. You might also like our Buttons collection.
radio button
SVG
time picker
Time Picker UI Design Inspiration Time picker usually helps user lock down a particular time by clicking the input box and picking a time from a popup panel. It’s usually part of a booking form or something similar. You might also want to checkout the date picker UI designs and timeline designs we have. Part of: booking forms, contact forms, … What it does: helps users pick a specific time
webgl
button
Button Design Inspiration Buttons are one of the most important elements on the page. Buttons are used to drive CTA (Call to Action) on most pages, so it’s important to make them stand out and inviting to users. We hope these button design inspirations will provide you with some great ideas that you can use in your websites. There are a huge variety of button designs out there, from material design to ghost buttons. In this roundup, we have collected some of the most beautiful button designs. Don’t forget to check out our links design inspiration section.
check box
counter
drop down
list
List Design Inspiration In this section, you will find a few simple and practical examples of how you can bring life to your lists. Lists offer web designers a great way to organize information on a page. Whether it’s Unordered Lists (ul) or Ordered Lists (ol) they are often used to break up the content into easily readable content.
range slider
Range Slider Design Inspiration Hand picked range slider design inspiration. Range slider control is a form of input field which offers a very intuitive user interface to set a number within a range, it’s NOT to be confused with image sliders.
tables
toggle switch
Toggle Switch Design Inspiration with HTML and CSS Code Toggle switch is usually used to show ON / OFF state
calendar
clock
date picker
Date Picker UI Design Inspiration Date picker is used to generally open an interactive calendar in a small overlay to help the user select a specific date. It’s usually part of a booking form or something similar. You might also want to checkout the time picker UI designs we have. Part of: booking forms, contact forms, … What it does: helps users pick a date MDN: MDN documentation Wikipedia: Wiki page W3C: W3C documentation
input field
Input Field Design Inspiration Input fields are one of those things that are essential on any web page that is used by visitors to pass on information to the site owners. From the humble text field to radio buttons these input fields are the building blocks of any forms on the internet. In this section, we look at how to add some style and flair to input fields.
progress bar
search field
text field
variable fonts
Variable Font Demo, Code Snippets and Examples OpenType Font Variations or Variable fonts give designers the freedom to derive an unlimited number of font variants from the same font file and is also great for performance because you don’t need to load multiple font files. Support: Can I Use Launch Date: October 2016 Format: .otf or .ttf files
Javascript Snippets
anime.js
anime.js Demo, Code Snippets and Examples Handpicked anime.js Demo, Code Snippets and Examples that you can use to find inspiration for your next web project. anime.js is a Javascript animation engine for the web.
html2canvas.js
html2canvas.js Demo, Code Snippets and Examples Handpicked html2canvas.js Demo, Code Snippets and Examples that you can use to find inspiration for your next web project. html2canvas.js is a Javascript library that allows you to take screenshot of the viewport from the current page using Javascript.
lettering.js
lettering.js Demo, Code Snippets and Examples Handpicked Lettering.js Demo, Code Snippets and Examples that you can use to find inspiration for your next web project. Lettering.js helps is a jQuery Plugin that allows you to style each individual letter and more.
pixi.js
Sortable.js
Sortable.js Demo, Code Snippets and Examples Handpicked Sortable.js Demo, Code Snippets and Examples that you can use to find inspiration for your next web project. GitHubSortable.js is a minimalist JavaScript library for reorderable drag-and-drop lists on modern browsers and touch devices.
three.js
three.js Demo, Code Snippets and Examples Handpicked three.js Demo, Code Snippets and Examples that you can use to find inspiration for your next web project. three.js is a cross-browser JavaScript library/API that uses WebGL to create and display animated 3D computer graphics in a web browser.
gsap
GSAP Demo, Code Snippets and Examples Handpicked GSAP Demo, Code Snippets and Examples that you can use to find inspiration for your next web project. GreenSock Animation Platform (GSAP) is a suite of JavaScript tools for high-performance HTML5 animations that work in all major browsers.
imagesLoaded.js
imagesLoaded.js Demo, Code Snippets and Examples Handpicked imagesLoaded.js Demo, Code Snippets and Examples that you can use to find inspiration for your next web project. imagesLoaded.js helps you detect when images have been loaded. It was developed by David DeSandro.
mo.js
mo.js Demo, Code Snippets and Examples Handpicked Sortable.js Demo, Code Snippets and Examples that you can use to find inspiration for your next web project. mo.js simple motion graphics for the web.
reproCSS.js
reproCSS.js Demo, Code Snippets and Examples Handpicked reproCSS.js Demo, Code Snippets and Examples that you can use to find inspiration for your next web project. reproCSS.js is a flexible style-tag based CSS reprocessor . Developed by Tommy Hodgins.
Splitting.js
Splitting.js Demo, Code Snippets and Examples Handpicked Splitting.js Demo, Code Snippets and Examples that you can use to find inspiration for your next web project. Splitting.js creates elements and adds CSS variables to unlock amazing possibilities for animating text, grids, and more.
velocity.js
Velocity.js Demo, Code Snippets and Examples Handpicked Velocity.js Demo, Code Snippets and Examples that you can use to find inspiration for your next web project. Velocity.js is a cross-platform JavaScript library designed to simplify the client-side scripting of website animation. Developed by Julian Shapiro.
hammer.js
hammer.js Demo, Code Snippets and Examples Handpicked Sortable.js Demo, Code Snippets and Examples that you can use to find inspiration for your next web project. Hammer helps you add support for touch gestures to your page, and remove the 300ms delay from clicks.
jquery plugin
muuri.js
muuri.js Demo, Code Snippets and Examples Handpicked Sortable.js Demo, Code Snippets and Examples that you can use to find inspiration for your next web project. muuri.js is a responsive, sortable, filterable and draggable grid layouts.
swiper.js
Swiper Demo, Code Snippets and Examples Handpicked Swiper.js Demo, Code Snippets and Examples that you can use to find inspiration for your next web project. Swiper is a mobile touch slider with hardware accelerated transitions.
web animations.js
Web Animations.js Demo, Code Snippets and Examples Handpicked Web Animations.js Demo, Code Snippets and Examples that you can use to find inspiration for your next web project. Web Animations.js is a JavaScript API for driving animated content on the web. By unifying the animation features of SVG and CSS, Web Animations unlocks features previously only usable declaratively, and exposes powerful, high-performance animation capabilities to developers.
Other Snippets
Theme Snippet
blur effect
book inspired
Book Inspired HTML & CSS Code Snippets This section will have code snippets that are inspired by books, want to showcase a book on your website? You will find code snippets for these in here. We also have a food? inspired section that you might like.
animation
food inspired
Food Inspired Web Design Elements Here are a bunch of fancy HTML elements designed to look like the designer’s favorite food. This is what happens when designers get hungry.
distortion effect
Distortion Effect – Glitch Effect Design Inspiration If you are looking to add some distortion effect or glitch effect to your text or images, these sets of snippets are just the thing for you. When used in the right way these can help you guide your visitor’s attention to the desired location.
comic book
Comic Book Website Snippets If you have a comic books loving audience they will love these little snippets that will give your website a comic book look and feel. You can also mix and match this with other snippets from section like: neon
christmas
Christmas Code Snippets If you want to dress up your website for Christmas these fun holiday snippets are just the thing for you. From email to website snippets we got them all. You might also like our other holiday inspired snippets : Halloween
halloween
Halloween Website Snippets If you want to dress up your website for Halloween these spooky snippets are just the thing for you. While you are at it take a look at this glitch effects to turn up the spookometer with your website’s design. You might also like our other holiday inspired snippets : Christmas
gradient
Gradient Web Design Inspiration After handing over the reigns to flat design for a while it looks like gradients are back in. If you are looking to get inspired by some exciting gradient designs you have come to the right place. From backgrounds to image overlays to buttons and even text effect gradients can be used a lot of different ways on a web page. You might also want to look at patterns as an alternative to this.
glint
game inspired
Video Game Inspired HTML & CSS Code Snippets This section will have code snippets that try to recreate various elements from video games ?. These can be the text animation or loading screens. We also have a movies ? inspired section that you might like ?.
particle animation
Particle Animation Effects Looking to add some particle effect animation on your next webpage? You have come to the right place, this section is a list of handpicked particle animation snippets, you can use one of these to recreate this design trend on your website. From pure CSS to demos for particle.js we got them all.
neon
movie inspired
Movie and TV Show Inspired HTML & CSS Code Snippets This section will have code snippets that try to recreate various elements from Movies ? or TV shows ?. These can be the content from the end credits, some text animation or logos or other similar content. We also have a Video Game ? inspired section that you might like ?.
hand drawn
Hand Sketched Snippets Most web design starts off with a pencil and paper as design sketches, with these little hand-drawn website design snippets you can now start showing off your creativity that was on paper on your website.
sports inspired
Sports Inspired UI Design Inspiration This section will have HTML and CSS code snippets that try to recreate various elements from sports. These can be things like toggle buttons inspired by various sports. We also have a food inspired section that you might like ?.
shadow
Drop Shadow Design Inspiration If you are after code snippets to add a drop shadow for text or other items on a webpage like buttons then you are in the right place. From pure CSS to jquery powered shadow animation you will find all of them in here.
pattern
Pattern Background Design Inspiration Pattern backgrounds like gradients are a great way to bring some flair and colour to your websites. It can be used as the website background, in a section or within elements like buttons or progress bars. If you need to get some background patterns, head over to All The Free Stock there is a patterns section under free stock photos.
retro
valentines
Media Snippets
icon
Icon Design Inspiration Icons are a very important element of any well-designed websites. You can get icons from free icon pack or get custom designed icons that will work well with your site’s overall design. We have picked a few of our favourites from social icons to hamburger menu icons that will help you get some inspiration to use in your next web project.
image effects
Image Effect Design Inspiration With modern browsers, there are a lot of cool ways in which you can showcase images on your website. In this section, we have handpicked a few of the best ways you can use images on websites. You can find inspiration for images galleries, image sliders and much more.
logo
image gallery
video
image slider
Image Slider – Content Carousels Design Inspiration & CSS Snippets Handpicked image slider and content carousel design inspiration. While most people avoid using image sliders in web pages these days, there are still a few scenarios where they might prove useful. These are NOT to be confused with range sliders.
social icon
Ken Burns
weather icon
Interaction Snippets
click animation
direction aware
Direction Aware Hover Effects Design Inspiration In this handpicked collection of direction aware effects, you will find many hover effects where the content is aware of the direction of the mouse and will move accordingly. There are pure CSS and ones with JavaScript or jQuery.
drag and drop
drag animation
Drag / Pull Down Animation Inspiration Drag animations are most likely seen on mobile devices, a common pattern in this is the Pull-to-refresh gesture that consists of touching the screen with a finger and dragging the screen downward and then releasing it to refresh the content on the screen. You migth have also seen other gestures like drag to the edge, swipe, drag and drop etc. With the code snippets from this section, you can recreate these effect on your website with no coding experience. Part of: other interations like click, hover, drag and drop, swipe, … What it does: allows the user to drag elements on the webpage
loading animation
Loading Animations / Preloaders / Spinners Some say, in an ideal world Preloaders should not exist. But in an ideal scenario, you want to inform your visitors that the web page is loading the resources it needs to show the web page in all its glory to the visitor. It’s more common in complex web apps as opposed to websites. From SVG animation to CSS only there are a lot of loading animations out there to draw inspiration from, we have picked out some of our favourite ones for your viewing pleasure.
microinteractions
Microinteraction Design Examples Micro-interaction is the subtle animation or visual responses your users see when they perform certain actions on your website or web app. They can be seen from the humble button to the toggle switch.
mouse pointer
parallax scrolling
hover animation
validation
zoom
Zoom In – Zoom Out Web Design Inspiration Looking for web design inspiration with Zoon In and Zoom Out effects? Check out our handpicked collection of code snippets you can use on your website to recreate these zoom in and zoom out effects.
scroll animation
Shapes Snippets
triangle
hexagon
square
cube
circle
Style Snippets
minimalist
material design
fluent design
Fluent Design Inspiration Microsoft’s Fluent Design System is the latest update in the development of Microsoft’s look-and-feel for Windows, it will replace the Metro design language. Some of the ideas resemble those of Google’s Material Design language. The main purpose here is to give developers access to a single design language that will work well across devices.
card ui
Card UI Design Inspiration Card UI was popularized with the rise of Material Design. In this section, you will find a lot of hand-picked Card UI inspired snippets that you can use in your design projects.
Misc
UX
pure css
Pure CSS Code Snippets In this section, you will find pure CSS examples or HTML elements designed in only CSS to give it some sassy effects. Traditionally one might sue JS and other things to achieve similar effects but there are purely CSS only. From accordion, slider to dropdown navigation menus you can find a lot of CSS only code snippets in here. With the code snippets from this section, you can recreate these effect on your website with no coding experience.
epic
deconstruction
Web Design Deconstruction This section will have code snippets for web design elements from well-known websites. You can copy paste these code snippets to recreate the same effect on your websites. From navigation menu to link hover effects you can find a lot of famous web design elements in here.
All Topics
2 dark-pattern UI Design Examples
AMP Stories 2023
Path:
Home
»
dark pattern
HTML, CSS Code Snippets for dark pattern
Force Users to Win Ping Ping Game to Unsubscribe MicroInteraction
Code by: Aaron Iker If you are having trouble with the pen, try the archived copy on GitHub. Play...
Read More
dark pattern
button
email signup forms
game inspired
microinteractions
modal window
SVG
Guilt Tripping Unsubscribe Button – Pop Ballon, Steal Ice Cream from Kid
button
animation
dark pattern
email signup forms
microinteractions
SVG
scroll to top