Bootlaterus
Documentation
Bootlaterus is based on Bootstrap v4 and doesn't require additional JS scripts, so it is fully compatible with technologies like ReactJS, Angular, VueJS or jQuery (and many others). Bootlaterus is friendly for any Bootstrap developer!
This path is compatible with jQuery implementations. If you want to use Bootlaterus with another JS framework/library, you'll want to see following sections.
Add Bootlaterus copying this tag into your html header.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootlaterus@latest/dist/css/bootlaterus-cfonts.min.css" crossorigin="anonymous">
Include additional javascript libraries (JS, Popper, and jQuery):
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
This path is compatible with almost any JS framework, you can include the CSS styles on your web-app and use everything else with your normal framework workflow (usually NPM).
Add Bootlaterus copying this tag into your html header.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootlaterus@latest/dist/css/bootlaterus-cfonts.min.css" crossorigin="anonymous">
As you can see in this sample ReactJS project, you'll just need to include the styles under your index.html
This path can give you more flexibity, but you may need to import the styles or modify your project configuration. You can install bootlaterus using NPM:
npm install bootlaterus --save
Bootlaterus includes out-of-the-box different theme variations.
Optimized for general use.
Including custom fonts:
Without custom fonts:
Use a default Bootstrap Theme plus all Bootlaterus extended components:
A general use theme with colorful buttons. Inspired by Equilaterus GameStudios
Theme optimized for wikis and documentation-repos.
Bootlaterus variation with custom fonts:
Bootlaterus variation without custom fonts:
Default Bootstrap style:
GS style:
Bring your website to life by using this beautiful gradients available as color filters and backgrounds.
Use them to create color variations for your img tags.
Bootlaterus is cool.
Create awesome cards with embeeded images.
![]()
Card title
Card text.
Explore · Design · Create
Create awesome components combining divs that are versatile as they can include almost any element inside them.
Your Message Here!
.cf-pink-blue: color filter for images
.bg-cf-pink-blue: color filter as background
.bg-pink-blue: background color without transparency
.cf-green-teal: color filter for images
.bg-cf-green-teal: color filter as background
.bg-green-teal: background color without transparency
.cf-cyan-blue: color filter for images
.bg-cf-cyan-blue: color filter as background
.bg-cyan-blue: background color without transparency
.cf-red-orange: color filter for images
.bg-cf-red-orange: color filter as background
.bg-red-orange: background color without transparency
.cf-indigo-teal: color filter for images
.bg-cf-indigo-teal: color filter as background
.bg-indigo-teal: background color without transparency
.cf-green-yellow: color filter for images
.bg-cf-green-yellow: color filter as background
.bg-green-yellow: background color without transparency
They work exactly as linear gradients except that they do NOT have the .bg- variant that shows them as background color without transparency.
Use them to create color variations for your img tags.
Create nice effects with the transparent variation.
Explore · Design · Create
YOUR MESSAGE!
All variations available for both .bg-cf and .cf classes.
.bg-cf-radial-blue
.cf-radial-blue
.bg-cf-radial-indigo
.cf-radial-indigo
.bg-cf-radial-purple
.cf-radial-purple
.bg-cf-radial-pink
.cf-radial-pink
.bg-cf-radial-red
.cf-radial-red
.bg-cf-radial-orange
.cf-radial-orange
.bg-cf-radial-yellow
.cf-radial-yellow
.bg-cf-radial-green
.cf-radial-green
.bg-cf-radial-teal
.cf-radial-teal
.bg-cf-radial-cyan
.cf-radial-cyan
.bg-cf-radial-white
.cf-radial-white
.bg-cf-radial-gray
.cf-radial-gray
.bg-cf-radial-gray-dark
.cf-radial-gray-dark
.bg-cf-radial-transparent
.cf-radial-transparent
Bootlaterus has additional classes to add shadows and alpha-colors to your components:
All variations available for both .bg-cf and .cf classes.
.bg-light-alpha-1
.bg-light-alpha-2
.bg-light-alpha-3
.bg-light-alpha-1
.bg-light-alpha-2
.bg-light-alpha-3
.bg-dark-alpha-1
.bg-dark-alpha-2
.bg-dark-alpha-3
.bg-dark-alpha-1
.bg-dark-alpha-2
.bg-dark-alpha-3
.bg-shadow-1
.bg-shadow-2
.bg-shadow-3
.bg-shadow-1
.bg-shadow-2
.bg-shadow-3
.bg-shadow-1
.bg-shadow-2
.bg-shadow-3
.bg-shadow-1
.bg-shadow-2
.bg-shadow-3
Built-in support for responsive Side Navbars, enables to rapidly prototype different layout styles.
This example shows how to implement custom handlers for a React implementation with React Router.
For more a complete example and integrations with React-Bootstrap check this repo.import React, { useState } from 'react'; import { Link } from 'react-router-dom'; const Header = () => { const [collapsed, setCollapsed] = useState('collapse'); const onCollapse = () => { setCollapsed(collapsed === '' ? 'collapse' : '') } const onHide = () => { setCollapsed('collapse'); } return ( ) } export default Header;
....
Bootlaterus includes extended classes to create carousels that look great with images of different sizes forcing a fixed aspect ratio (see Aspect Ratio Utilities) and using background-images that scale safely.
For more a complete example with React-Bootstrap check this repo.
By default Bootlaterus supports Rouge and Prettify as Syntax Highlighters. First one comes by default with Github Pages and second one is really easy to use with any website.
Rouge is supported by providing base color styles for pygments and outlinning overrides.
public class Foo
{
public string Name { get; set; }
private int _counter;
public bool SomeMethod(string name)
{
if (name == Name)
return true;
// Do some advanced stuff with a meaningful comment
// Note that code is separated by an extra line from upper condition.
foreach (var character in name)
{
if (character == 'X')
continue;
// Do more stuff
...
...
...
}
return ...;
}
}
Bootlaterus overrides Prettify borders and layout styles that are out of Bootlaterus style guides. Syntax colors are not modified.
public class Foo { public string Name { get; set; } private int _counter; public bool SomeMethod(string name) { if (name == Name) return true; // Do some advanced stuff with a meaningful comment // Note that code is separated by an extra line from upper condition. foreach (var character in name) { if (character == 'X') continue; // Do more stuff ... ... ... } return ...; } }
Use Bootlaterus Utilities and you will be able to create a unique UI writting less CSS than ever.
We've added some CSS Classes to define Aspect Ratio (.ar- classes) of a given element.
Note: You call still use Bootstrap Embeds, .ar classes are a complement not an override.
Safely define the location of your elements using this utilities.
Use the following ones in conjunction with .position-relative and .position-absolute classes.
I'm centered!
Bottom Right!
I'm centered!
Bottom Right! ->
Define the height of your elements, relatively to the viewport height.
I'm at least 25% of you viewport
I'm at least 25% of you viewport
Add a beautiful background to your website.
Note: Fixed backgrounds may look like a normal background due to performance prioritization for mobile web browsers.
.background
.background
.background-fixed
.background .background-fixed
Utilities to customize the fonts used on your components.
I'm a p
I'm a spanI'm an h4
I'm a p
I'm a spanh1 size
h2 size
h3 size
h4 size
h5 size
h6 size
h1 size
h2 size
h3 size
h4 size
h5 size
h6 size
Normal text.
Text small.
Everything inside this div will be text-small
Everything inside this div will be text-smallEven a h1
Normal text.
Text small.
Everything inside this div will be text-small
Everything inside this div will be text-smallAdd a beautiful shadow to your fonts.
Look me!
Look me!
Look me!
Look me!
Sets font-weight lightest posible value.
Im lighter!
Im lighter!
Cards and other UI components are easier to implement as interactive elements.
Use .shadow class to add a box-shadow to your components.
I have a shadow
I have a shadow
Add the class .dropdown-dark to a dropdown and it will become dark. Compatible with navbar dropdowns.
See instructions in our repo.
See here.
Yes, but only for ReactJS. Currently we don't have plans to add more sample repos, but as Bootlaterus does not require additional JS to work, you should be OK to use it with anything else.
@import url('https://fonts.googleapis.com/css?family=Prompt'); :root { --font-family-sans-serif: "Prompt", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important; --font-family-headings: "Prompt", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important; --font-family-monospace: "Consolas", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important; } body { font-family: var(--font-family-sans-serif); } .navbar, h1, h2, h3, h4, h5, h6, .h-font { font-family: var(--font-family-headings); font-weight: bold; text-transform: uppercase; } pre { font-family: var(--font-family-monospace); }