For the complete documentation index, see llms.txt. This page is also available as Markdown.

Main

Provides the base needed by the other components (styles and context providers) to work properly.

Usage

import { Main } from '@aragon/ui'

function App () {
  return (
    <Main>
      {/* Your app goes here */}
    </Main>
  )
}

Props

assetsUrl

TYPE
DEFAULT VALUE

String

./aragon-ui/

Set this to configure the URL of the directory containing your aragonUI assets.

layout

TYPE
DEFAULT VALUE

Boolean

true

Enable <Layout />.

scrollView

TYPE
DEFAULT VALUE

Boolean

true

Enable <ScrollView />.

theme

TYPE
DEFAULT VALUE

String or Object

light

The main theme used by aragonUI.

Last updated

Was this helpful?