New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pikas-ui/checkbox

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pikas-ui/checkbox

This package contains a checkbox component.

  • 2.0.3
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@pikas-ui/checkbox

This package contains a checkbox component.

This library is based on Radix Ui.

Getting Started

You need to install the @pikas-ui/styles package to use this package.

Installation

With npm:

npm install @pikas-ui/checkbox

With yarn:

yarn add @pikas-ui/checkbox

With pnpm:

pnpm add @pikas-ui/checkbox

Usage

Checkbox

import { Checkbox } from `@pikas-ui/checkbox`

const Example: React.FC = () => (
  <Checkbox />
)
Props
PropDescriptionTypeDefault
defaultCheckedThe default checked of the checkbox.booleanfalse
onChangeThe callback when the checkbox is changed.(checked: boolean) => void-
idThe id of the checkbox.string-
labelThe label of the checkbox.string or ReactNode-
bgColorThe background color of the checkbox.ColorsType"WHITE"
bgColorCheckedThe background color of the checkbox when checked.ColorsType"PRIMARY"
textErrorThe error text of the checkbox.string-
boxShadowThe box shadow of the checkbox.ShadowsType or "none""DIMINUTION_1"
borderColorThe border color of the checkbox.ColorsType-
borderWidthThe border width of the checkbox.number0
borderRadiusThe border radius of the checkbox.BorderRadiusType"md"
fontSizeThe font size of the checkbox.FontsSizesType"EM-MEDIUM"
sizeThe size of the checkbox.number24
checkedThe checked of the checkbox.boolean-
classNameThe class name of the checkbox.string-
disabledThe disabled of the checkbox.booleanfalse
requiredThe required of the checkbox.booleanfalse
nameThe name of the checkbox.string-
sideThe side of the checkbox."left" or "right""right"
outlineThe outline of the checkbox.booleantrue
indeterminateThe indeterminate of the checkbox.booleanfalse

Change Log

You can find the change log here.

FAQs

Package last updated on 20 Jun 2022

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