EQWorks / lumen-labs

React library of basic components based on Tailwind CSS
https://eqworks.github.io/lumen-labs
5 stars 2 forks source link

Components Library: Selection Controls #128

Open vlatawiec opened 2 years ago

vlatawiec commented 2 years ago

🎯 Usage

🎭 Types

πŸ«€ Anatomy

COMPONENT_ANATOMY

Spacing, Sizing & Alignment:

πŸ’Ÿ Icons Used

πŸ”— Zeplin Link

πŸ”’ Attributes

Property Type Default Value Description
IsSelected Boolean false Determines whether the selection control is "selected"
IsDisabled Boolean false Determines whether the selection control is disabled
label String - Displays a text label beside the selection control component
type String - Specifies the type of input, i.e "checkbox", "radioButton" or "switch"
name String - Specifies the name of the control to be delivered to the server
value - - Specifies the value to be sent to the server, once the selection control is "selected"

πŸ” Design Preview

SelectionControls