---
name: ColorInput
menu: Components
route: /components/colorInput
---

import { Playground, Props } from 'docz'
import ColorInput from './'

# ColorInput

## Import
`import { ColorInput } from '@blasterjs/core'`

## Basic usage

<Playground>
    <ColorInput defaultValue="#663399" />
</Playground>


## PropTypes

| Prop | Type | Required | Default | Description |
|:-----|:-----|:---------|:--------|:------------|
| `COMMON` | Style Prop |  |  | see [Style Props](/style-props) |
| `BORDER` | Style Prop |  |  | see [Style Props](/style-props) |
| `LAYOUT` | Style Prop |  |  | see [Style Props](/style-props) |
| `FLEX_ITEM` | Style Prop |  |  | see [Style Props](/style-props) |


## Theming

### Schema
```
{
  space: {
    p
  },
  borders: {
    border
  },
  radii: {
    borderRadius
  },
  overrides: css`
    ...
  `
}
```

- [Default theme](https://github.com/raster-foundry/blasterjs/tree/master/packages/core/theme/components/colorInput)
- [Learn more about themeing](/blaster-theme)
