Moul UIBeta
Components

Badge

Documentation for the Badge component.

Badge

Preview

Interactive
Active Status

Properties

Variant
Live Code Snippet
import { Badge } from '@moul-dev/ui';

export default function Example() {
  return (
    <Badge>
      Active Status
    </Badge>
  );
}

The Badge component is built with React Aria and styled using StyleX.

Import

import { Badge } from '@moul-dev/ui';

Usage

Here is a basic example of how to use the Badge component:

import { Badge } from '@moul-dev/ui';

export default function Example() {
  return (
    <Badge>
      {/* Component content */}
    </Badge>
  );
}

On this page