Skip to Content
GuideComponentsImporting

Importing

All components are exported from the root of the @codedazur/fusion-ui package. You can import them by their component name:

import { Button, Image, Row, Card, Icon } from "@codedazur/fusion-ui";
Warning

There have been reports of bundlers not properly tree-shaking the @codedazur/fusion-ui package due to these barrel imports. We will be investigating this issue and will update this section when we have more information. In the meantime, if you experience this, you can import components individually instead.

import { Button } from "@codedazur/fusion-ui/components/Button"; import { Image } from "@codedazur/fusion-ui/components/Image";
Last updated on