Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Sass
  3. Pretty checkbox

Pretty checkbox

MITCSSv3.0.3

A pure CSS library for customizable, stylish checkbox and radio button replacements with no JavaScript required.

Visit WebsiteGitHubGitHub
1.8k stars149 forks0 contributors

What is Pretty checkbox?

pretty-checkbox is a pure CSS library that replaces default browser checkboxes and radio buttons with customizable, visually appealing alternatives. It solves the problem of limited native styling options by providing extensive design variants, animations, and color schemes without requiring JavaScript.

Target Audience

Frontend developers and designers who need to style form inputs consistently across projects, especially those working with CSS frameworks like Bootstrap or building custom design systems.

Value Proposition

Developers choose pretty-checkbox because it offers extensive styling flexibility with zero JavaScript dependency, ensuring better performance and compatibility. Its pure CSS approach makes it lightweight and easy to integrate into any project.

Overview

A pure CSS library to beautify checkbox and radio buttons.

Use Cases

Best For

  • Replacing default browser checkboxes with custom designs
  • Creating iOS-style toggle switches with pure CSS
  • Adding animations to form inputs without JavaScript
  • Styling radio buttons with consistent design systems
  • Integrating custom icons or SVG into checkboxes
  • Building accessible, print-friendly form components

Not Ideal For

  • Projects requiring complex form interactions beyond visual styling, such as dynamic validation or real-time state management
  • Teams using CSS-in-JS solutions like styled-components or utility-first frameworks like Tailwind CSS, where external CSS libraries might conflict
  • Applications that prioritize minimal HTML markup and prefer inline or utility-class-based styling approaches

Pros & Cons

Pros

Pure CSS Performance

No JavaScript dependency ensures fast loading and broad browser compatibility, including IE9+ and mobile devices, as highlighted in the features.

Extensive Styling Options

Offers multiple shapes, variants, colors, and animations like smooth, tada, and jelly, providing comprehensive visual customization without extra code.

Framework Compatibility

Works seamlessly with popular CSS frameworks like Bootstrap, Foundation, and Bulma, making integration into existing projects straightforward.

SCSS Customization

Includes SCSS source files for advanced theming, allowing developers to tweak variables and settings to match their design system.

Cons

External Icon Dependencies

For custom font icons or SVG support, users must include separate libraries like FontAwesome, adding extra setup and potential compatibility issues, as noted in the README.

Verbose HTML Markup

Requires a specific nested HTML structure with multiple classes, which increases markup complexity compared to simpler, single-class solutions.

Limited Component Scope

Only styles checkboxes and radio buttons, so for other form elements like inputs or selects, additional styling solutions are needed.

Frequently Asked Questions

Quick Stats

Stars1,803
Forks149
Contributors0
Open Issues53
Last commit5 years ago
CreatedSince 2016

Tags

#animation#checkbox#pure-css#icons#radio-buttons#html#frontend#ui-design#ui-components#radio-button-styling#web-development#react#scss#checkbox-styling#css-library#bootstrap#css

Built With

S
SCSS
C
CSS

Links & Resources

Website

Included in

Sass1.9k
Auto-fetched 9 hours ago

Related Projects

ButtonsButtons

A CSS button library built using Sass and Compass

Stars4,996
Forks835
Last commit1 year ago
Retina.jsRetina.js

JavaScript, SCSS, Sass, Less, and Stylus helpers for rendering high-resolution image variants

Stars4,377
Forks589
Last commit4 months ago
Modular ScaleModular Scale

Modular scale calculator built into your Sass

Stars1,959
Forks128
Last commit9 months ago
normalize-scssnormalize-scss

This is the Sass version of Normalize.css, a collection of HTML element and attribute rulesets to normalize styles across all browsers.

Stars1,421
Forks240
Last commit2 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub