Getting Started

Components

Themes

Please understand this website is built in react, the components are in react native. There may be slight differences!

Check

A checkbox, a check, a tick, whatever since rn doesn't have it, use this.

Agree to the terms and condition!
Read the terms and condition!
1
Install by running this command!
npx uni-ui-kit install checkbox
2
Import the component!
import Checkbox from '../lib/ui/checkbox';
Properties table
description?
Reat.ReactNode
Description text beside the checkbox
disabled?
boolean
Disabled or not
defaultChecked?
boolean
Default checked value
onChange?
(checked: boolean)=>void
Callback function to be called when the value is changed
variant?
variant
Variants
Library data types
Variants
primary, secondary, tertiary, success, warning, error, ghost
Colors will change according to theme(light, dark). Use when it is intended.