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 🙏

© 2024 – Pkg Stats / Ryan Hefner

illyria-ui-divider

v1.0.0

Published

A collection of reusable divider components for Angular applications.

Downloads

7

Readme

Divider

Version License

Overview

The <custom-divider> component is a custom Angular component that provides a flexible divider to visually separate content within your application. It can be used in forms, sections, or anywhere you need dividers with varying colors and orientations.

Installation

To use the <custom-divider> component in your Angular application, you can install it via npm:

npm install illyria-ui-divider

Usage

  • Import the CustomDividerModule in your application module:
import { NgModule } from '@angular/core';
import { DividerModule } from 'illyria-ui-divider';

@NgModule({
  imports: [DividerModule],
  // ...
})
export class AppModule { }
  • Now, you can use the component in your templates:
<!-- Horizontal divider with default color -->
<custom-divider></custom-divider>

<!-- Horizontal divider with custom color -->
<custom-divider color="#ff0000"></custom-divider>

<!-- Vertical divider -->
<custom-divider orientation="vertical"></custom-divider>

Properties

The component supports the following properties:

Styling

The <custom-divider> component supports the following properties:

| Name | Type | Default Value | Description | |---------------|------------------------------|---------------|--------------------------------------------------------------| | color | string | #ccc | The color of the divider. Can be any valid CSS color value. | | orientation | 'horizontal' \| 'vertical' | 'horizontal' | The orientation of the divider. Use 'horizontal' for a horizontal divider and 'vertical' for a vertical divider. |

This Markdown table represents the properties of the component in a neat and organized way. The Name, Type, Default Value, and Description columns provide essential information about each property. Make sure to keep the | (pipe) characters and the alignment of columns consistent to render the table correctly when converted to HTML or other formats.

  • .custom-divider: Represents the main container of the divider. You can use this class to set background colors or other styles.

  • .horizontal: Applied when the orientation is set to 'horizontal'. You can use this class to adjust the height and margins of the horizontal divider.

  • .vertical: Applied when the orientation is set to 'vertical'. You can use this class to adjust the width and margins of the vertical divider.


Please note that this is a sample documentation, and you might need to adjust the package name, import paths, and other details based on your actual project setup. The documentation should be placed in a Markdown file (e.g., `custom-divider.md`) within your project's documentation folder or wherever you maintain the component documentation.