A collection of reusable UI components aimed at reducing the development cycle required to build apps with Lightning.
See the Storybook
Install from NPM:
npm install --save lightning-ui-components
Import components as ES Modules
import { FocusManager } from 'lightning-ui-components';
Use components in your application
import from 'lightning-ui-components';
import { FocusManager } from 'lightning-ui-components';
class MyComponent extends lng.Component {
static _template() {
return {
FocusManager: {
type: FocusManager,
direction: 'row',
children: []
}
};
}
_getFocused() {
return this.tag('FocusManager');
}
};