Bundle Size

In the world of big and heavy applications, our aim was to deliver a very lightweight solution. Currently the bundle weights 23kb with both JS and CSS.

Importing whole bundle & treeshaking

If your stack is built on top of webpack and other similar solutions, when compilling, unused code won't be included in the final bundle compiled by your stack.

import { UikButton, UikInput } from 'duik'

Importing specific components only

If you are not sure that your bundling supports treeshaking, you can simply import your components one by one. See example below:

import UikButton from 'duik/UikButton'
import UikInput from 'duik/UikInput'

How to import compiled files

Please follow guide in Getting Started section for more details.