npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

sass-personal-library

v1.0.0

Published

SASS Personal Library package

Readme

SASS-Personal-Library

"SASS Personal Library" started initially as a way for me to learn the basics of CSS and pre-processor - SASS. As the time passed by, I realized that it's better to have custom made HTML and CSS Components; so that I can reuse them in different projects.

TABLE OF CONTENTS:

  1. HTML SNIPPETS

    1. Accordion
    2. Alerts
    3. Buttons
    4. Cards
    5. Font Awesome Icons
    6. Image Logo
    7. User Inputs
    8. Lists
    9. Read More Button
    10. Scroll Top Button
    11. Search Menu
    12. Tables
    13. Text Group with Header
  2. UTILITIES

  3. IMPROVEMENTS

HTML SNIPPETS :

This section consists in different components that can be used in future projects. The classes are constructed following BEM Methodology and D.R.Y. Principles. For each HTML Component you will see detailed information regarding the way HTML tags are build. Besides this aspect, you will see how the SASS logic is constructed so that the CSS Styles are applied to each component variation accordingly. These components are responsive only in portrait mode.

  • Accordion is a custom made component that is constructed using the block classes - accordion and a panel. The javascript file is changing the behavior of this accordion. This component is responsive only in portrait mode. You can view a live example here;

  • Alerts are a set of components with different color variations that are constructed using the block class - alert. Modifier classes like: --standard, --primary, --secondary etc. will change the color schema of a certain alert. This component is responsive only in portrait mode. You can view a live example here;

  • Buttons are a set of components with different color variations and layouts that are constructed using the block class - button-group, btn and pagination-group. Modifier classes like: --standard, --primary, --secondary, --outline-standard, --outline-primary, --outline-secondary etc. will change the color schema and layout of a certain button. This component is responsive only in portrait mode. You can view a live example here;

  • Cards are custom made component that are constructed using the block classes - card and btn. Modifier classes like: --standard, --primary, --secondary etc. will change the color schema of a certain button. This component is responsive only in portrait mode. You can se a live example here;

  • Font Awesome Icons are custom made component that are constructed using the class structure from Font Awesome v4.7. These components are responsive only in portrait mode. You can view a live example here;

  • Image Logo is set of components with different dimensions that is constructed using the block class img. The modifier classes like: --logo-50px, --logo-75px etc. will change the width and height of a certain logo. These components are responsive only in portrait mode. You can view a live example here;

  • User Inputs are set of components that are constructed using the block class input. The element classes like: __check, __text, __label etc. will change the way these inputs are displayed. These components are responsive only in portrait mode. You can view a live example here;

  • Lists are set of components that are constructed using the block class lists. The element classes like: __element, __element-type1, __text etc. will change the way these lists are displayed. These components are responsive only in portrait mode. You can view a live example here;

  • Read More Button is a custom made component that is constructed using the block class - btn. The javascript file is changing the behavior of this read more / read less button. This component is responsive only in portrait mode. You can view a live example here;

  • Scroll Top Button is a custom made component that is constructed using the block class - btn. The javascript file is changing the behavior of this scroll top button. This component is responsive only in portrait mode. You can view a live example here;

  • Search Menu is a custom made component that is constructed using the block classes - list-search and list. The javascript file will be triggered every time the user will enter data in the search field. In this search menu, the user can enter whatever he/she likes. This component is responsive only in portrait mode. You can view a live example here;

  • Table is a component that is constructed using the block class - table. The element classes like: __header, __row and __cell will change the layout of the component to a more easy-to-read table. This component is not responsive. You can view a live example here;

  • Text Group with Header is a component with a header and a paragraph that is constructed using the block classes - text-group, text-header and text-content. This component is responsive only in portrait mode. You can view a live example here.

UTILITIES :

This section consists in different CSS Styles that are use to design the HTML Components. The styles are constructed following D.R.Y. Principles. For each utility mixin you will see detailed information regarding the way SASS logic is constructed so that the CSS Styles are applied to each component variation accordingly.

  • Box Model consist of a set of functions and mixins like: margin, padding, width, height etc. that can be used in future projects;

  • Flex Box consist of a set of mixins to center elements to the left, center or right side of the screen by using the following properties: display, justify-content and align-items;

  • Typography consist of a set of mixins that are useful when the user wants to format a paragraph or a link. Font size function and mixin will convert the pixels unit of measurement to rem;

IMPROVEMENTS :

  • Responsive Navigation Bar with Hamburger Menu;
  • Responsive Hero Image with Button;