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

componenteshospitais

v3.3.6

Published

COMPONENTESHOSPITAIS

Downloads

883

Readme

COMPONENTESHOSPITAIS

componenteshospitais is a versatile and modular component library . This package provides a collection of React components that streamline the development of modern, responsive, and accessible user interfaces for systems, portals, and other platforms.

Installation

To install the package, use npm or yarn:

npm install componenteshospitais

or

yarn add componenteshospitais

Components

  1. Button A customizable button component that supports different styles and sizes. It's designed to handle user interactions with visual feedback.

Props: texto: The text to display inside the button. onClick: The event handler for the click event. largura: The width of the button. empresa: A custom prop to define button styles for different companies.

  1. InputField A flexible input component that can be used for various types of inputs, including text, email, and numbers. It includes built-in validation and styling to match hospital-themed applications.

Props: type: The type of input (e.g., text, email, number). id: The unique identifier for the input field. placeholder: Placeholder text for the input. value: The current value of the input. onChange: The event handler for the change event. label: The label displayed above the input field.

  1. SelectField A dropdown select component that allows users to choose from a list of options. It supports single and multi-select functionalities, making it ideal for forms requiring dropdowns.

Props: id: The unique identifier for the select field. name: The name attribute for the select field. options: An array of options to display. value: The current selected value(s). onChange: The event handler for when the selection changes. label: The label displayed above the select field.

  1. CheckboxGroup A group of checkboxes that allows users to select multiple options from a list. The component is designed to support custom layouts, such as multi-column displays.

Props: id: The unique identifier for the checkbox group. name: The name attribute for the checkboxes. options: An array of options to display. selectedValues: The currently selected values. onChange: The event handler for when the selection changes. label: The label displayed above the checkbox group.

  1. Card A container component that presents content in a card format. It can be used to display various information such as user profiles, notifications, or articles.

Props: title: The title of the card. description: The description or content inside the card. image: An optional image to display in the card. onClick: The event handler for click events on the card.

  1. CardImage A component for displaying images within a card or standalone. It supports custom styling and resizing.

Props: src: The source URL of the image. alt: The alternative text for the image. width: The width of the image. height: The height of the image.

  1. TituloPagina A header component to display page titles. It's styled to match the overall theme of hospital management interfaces.

Props: titulo: The title text to display. subtitulo: An optional subtitle to display under the main title.

  1. MenuPage A component that generates a navigation menu for different sections of the application. It is fully customizable to fit various layout needs.

Props: items: An array of menu items to display. onSelect: The event handler when a menu item is selected.

  1. TextPage A simple text display component that can be used for paragraphs, instructions, or any textual content within your application.

Props: content: The text content to display. className: Custom class names for additional styling.

  1. Busca A search component that provides instant filtering and search capabilities. It's designed to be fast and user-friendly, suitable for searching through patient records, documents, or any large datasets.

Props: onSearch: The event handler when a search is performed. placeholder: Placeholder text for the search input. results: The search results to display.