
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@rmwc/fab
Advanced tools
A floating action button (FAB) represents the primary action of a screen.
<Fab icon="favorite" />
<Fab icon="favorite" mini />
<>
<Fab icon="add" label="Create" />
<Fab trailingIcon="add" label="Create" />
<Fab label="Label only" />
</>
<>
<Fab icon="favorite_outline" theme={['primaryBg', 'onPrimary']} />
<Fab
icon="delete"
style={{ backgroundColor: 'var(--mdc-theme-error)' }}
theme={['onError']}
/>
</>
A floating action button component
Name | Type | Description |
---|---|---|
children | ReactNode | Content specified as children. |
exited | boolean | Animates the FAB out of view. When this class is removed, the FAB will return to view. |
icon | IconPropT | The icon for the FAB |
label | any | Make the Fab extended with a label. |
mini | boolean | Make the Fab smaller. |
ripple | RipplePropT | Adds a ripple effect to the component |
trailingIcon | IconPropT | A trialing icon for the FAB |
FAQs
RMWC Floating Action Button component
The npm package @rmwc/fab receives a total of 1,953 weekly downloads. As such, @rmwc/fab popularity was classified as popular.
We found that @rmwc/fab demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.