Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@agendize/design-system

Package Overview
Dependencies
Maintainers
0
Versions
598
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agendize/design-system

Agendize web design system

  • 1.35.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Agendize System Design

Description

System design for Agendize Component - based on tailwindcss (https://tailwindcss.com/)

Install

To install on your project

yarn add @agendize/design-system
# or
npm install @agendize/design-system

Global

Components

List of components

  • FieldDateTime
  • FieldEmail
  • FieldFile
  • FieldHidden
  • FieldInput
  • FieldLabel
  • FieldNumber
  • FieldPhone
  • FieldSelect
  • FieldTextArea
  • FieldToggle
  • FieldUrl
  • SearchInput
  • ButtonValidation
  • DialogBox
import { createApp } from 'vue';
import App from './App.vue';

import  { FieldInput, FieldEmail, FieldTextArea, FieldToggle, SearchInput } from '@agendize/design-system';
import '@agendize/design-system/dist/style.css';

const app = createApp(App);
app.component('FieldInput', FieldInput);
app.component('FieldEmail', FieldEmail);
app.component('FieldTextArea', FieldTextArea);
app.component('FieldToggle', FieldToggle);
app.component('SearchInput', SearchInput);

Local

<script>
  import  { FieldInput, FieldEmail, FieldTextArea, FieldToggle, SearchInput } from '@agendize/design-system';
  import '@agendize/design-system/dist/style.css';
    
  export default {
    components: { FieldInput, FieldEmail, FieldTextArea, FieldToggle, SearchInput}
  }
</script>

Use with Vite

If you want use design-system in a Vite project you must add 'vue-select', 'vue-tel-input' in external section of rollupOptions

Toaster Api

A toaster engine is also available and must be declared on the app (main)

import { createApp } from 'vue';
import App from './App.vue';

import  { TOAST_OPTIONS } from '@agendize/design-system';
import Toast from "vue-toastification";

const app = createApp(App);
app.use(Toast, TOAST_OPTIONS);

and then


import '@agendize/design-system/dist/style.css';


import { useToast } from "vue-toastification";

function createToast() {
  const toast = useToast()

  // Use it!
  toast("I'm a toast!")
  toast.info("Toast info", {icon:'fa fa-info'})
  toast.success("Toast success", {icon:'fa fa-check'})
  toast.error("Toast error")
  toast.warning("Toast warning", {icon:'fa fa-exclamation'})
}

Keywords

FAQs

Package last updated on 17 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc