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

@assemble-inc/core

Package Overview
Dependencies
Maintainers
5
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@assemble-inc/core

Assemble Component Library

  • 0.6.2
  • npm
  • Socket score

Version published
Weekly downloads
4
Maintainers
5
Weekly downloads
 
Created
Source

Assemble UI

Welcome to Assemble UI!

We aim to create a hub for UI components that can be reusable throughout our Assemble projects.

Table of Contents

  • Using The Library
  • Getting Started
  • Contributing
  • Publishing
  • Maintainers
  • License

Importing and using the library

  1. yarn add @assemble-inc/core or npm i @assemble-inc/core
  2. import a component with its named export i.e. import { Button } from '@assemble-inc/core';

Assemble UI takes a BYOS ("bring your own styles") approach to styling the components. To make this possible, all components come equipped with at least one className prop you can use to style them.

Each component has a default class name formatted like asm-<component-name> i.e. asm-button

View the list of available components here.

Getting Started

To add or update a component, you'll need to start development locally:

  1. git clone https://github.com/assembleinc/asm-ui
  2. cd /path/to/asm-ui
  3. yarn to install devDependencies
  4. yarn build to create builds of all packages
  5. cd storybook & yarn start to start storybook

Contributing

  1. Clone this repo
  2. Create a branch: git checkout -b developer-name/component-name
  3. Make some changes
  4. Test your changes in Storybook
  5. Push your branch and open a Pull Request
  6. Let the team know in #asm-component-libraries

Publishing

Then every time you make an update to the library, republish it to npm:

  1. Run yarn publish-packages
  2. At root of repo run yarn changeset and follow instructions - this will automatically bump major/minor versions of packages and prepare them to be published. Any packages with "private": true in their package.json will not be published.
  3. Run yarn changeset publish

note: In order to publish, you will need to log into your NPM account first.

Maintainers

Assemble Frontend Team

License

This code is open source software licensed under the MIT License.

FAQs

Package last updated on 10 Mar 2023

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