Skip to main content

Jump into remote-ui

yarn add @nuxt/content-theme-docs
npm install @nuxt/content-theme-docs

ICONS

server side (node)

import * as rui from "@bridged.xyz/remote-ui-core";
console.log(rui.icons.material.note);

// or...

import { icons } from "@bridged.xyz/remote-ui-core";
console.log(icons.material.note);

/// >> logs
/// RemoteIconData {
/// uri: 'material://Icons.note',
/// type: 'MATERIAL_NATIVE',
/// asset: undefined }

/// can be used directly on flutter

app side (flutter)

  Widget _buildBody(BuildContext context) {
return RemoteIcon(RemoteIconData.fromUri("material://Icons.add"));
}