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

@crownelements/core

v0.0.6

Published

Stencil Component Starter

Downloads

203

Readme

Built With Love By Stephen

crown elements

Crown Elements is a collection of reusable and customizable web components designed to simplify front-end development and enhance user interface consistency across web applications.

Installation

Note: Crown Elements is currently in development and not yet available for installation.

Once the project is completed, you'll be able to install Crown Elements via npm:

npm install @crownelements/core

Or include it directly in your HTML:

<script type="module" src="https://unpkg.com/@crownelements/[email protected]/dist/crownelements/crownelements.esm.js"></script>

Usage

Crown Elements can be used in any web application, regardless of the framework or library you're using. Here's an example of how to use the crown-button component in a simple HTML file:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Crown Elements Example</title>
  </head>
  <body>
    <crown-button>Click me</crown-button>

    <script src="https://unpkg.com/@crownelements/[email protected]/dist/core/core.esm.js"></script>
  </body>
</html>

Components in Progress

Crown Elements is actively being developed, and the following components are planned to be included:

Basic Elements

  1. Buttons: Standard, Icon, Floating Action Button (FAB), Toggle
  2. Inputs: Text, Number, Password, Email, File, Date, Time, Color Picker
  3. Form Controls: Checkboxes, Radio Buttons, Switches, Range Sliders
  4. Dropdowns: Simple Dropdown, Multi-Select, Searchable Dropdown
  5. Labels and Tags: For categorization or markup
  6. Icons: A variety of commonly used icons
  7. Loaders and Spinners: For indicating loading states
  8. Progress Bars: Determinate, Indeterminate, Circular
  9. Tooltips: For additional information display
  10. Badges: For notifications, counts
  11. Typography: Headings, Paragraphs, Text Utilities

Navigation

  1. Menus: Sidebar, Context Menu, Breadcrumb, Pagination
  2. Tabs: Standard Tabs, Scrollable, Vertical
  3. Accordions: For collapsible content areas
  4. Navigation Bars: Top bar, Bottom Navigation
  5. Steppers: Horizontal, Vertical, Linear, Non-linear

Data Display

  1. Tables: Basic, Sortable, Filterable, Expandable
  2. Lists: Simple List, Nested List, Interactive
  3. Cards: Basic, Image Cards, Interactive
  4. Modals: Dialogs, Popups, Lightboxes
  5. Toasts and Snackbars: For transient messages
  6. Timelines: For chronological data display
  7. Chips: For compact elements representation
  8. Data Grid: Advanced grid system
  9. Avatar: User or character representation
  10. Image Gallery: Grid, Carousel

Feedback & Messages

  1. Alerts: For warnings, errors, information, and success messages
  2. Popovers: For floating dialog boxes
  3. Confirmation Dialogs: For critical action confirmations

Layout Components

  1. Grid System: Responsive grid layout
  2. Dividers: Horizontal, Vertical
  3. Spacer: For adding space between components
  4. Panels: For grouping content
  5. Scroll Container: For custom scroll areas

Interactive Components

  1. Date and Time Pickers: Calendar, Time Selection
  2. Tree View: For hierarchical data
  3. Rating Component: For user ratings
  4. Autocomplete: For predictive text inputs
  5. Drag and Drop Interface: For interactive element repositioning
  6. Expandable Search Bar

Utility Components

  1. Clipboard Copy: For copying text to clipboard
  2. Data Export: CSV, Excel export for tables
  3. Internationalization: Language switcher
  4. Theme Switcher: Light/Dark mode, Color themes

Specialized Components

  1. Maps: Interactive maps integration
  2. Charts and Graphs: Line, Bar, Pie, Doughnut, Radar
  3. Audio/Video Players: Custom media players
  4. File Uploaders: Drag and drop, file queue
  5. WYSIWYG Editor: Rich text editor
  6. Markdown Editor: For markdown input
  7. Code Editor: Syntax-highlighted text areas
  8. E-commerce Components: Product cards, Shopping cart
  9. Social Media Share Buttons
  10. Password Strength Meter

Accessibility Components

  1. Skip Links: For navigation without a mouse
  2. Screen Reader Only Content

Advanced/Composite Components

  1. Dashboards: Pre-built layouts for dashboards
  2. Form Wizard: Multi-step forms
  3. Landing Page Templates
  4. Login/Signup Forms: With validation
  5. Profile Page Layout

Experimental/Fun Components

  1. Parallax Scrolling Elements
  2. Animated Charts and Graphs
  3. 3D Elements

Mobile Specific

  1. Bottom Sheets
  2. Swipeable Views

License

Crown Elements is released under the MIT License. See the LICENSE file for details.