Miss any of our Open RFC calls?Watch the recordings here! »

@brightleaf/elements

1.9.0 • Public • Published

@brightleaf/elements

React based UI elements using bulma css.

Currently Implemented

  • AutoComplete
  • Box
  • Breadcrumb
  • Button
  • Card
  • Columns
  • Column
  • Container
  • Content
  • Control
  • Delete
  • DropDown
  • Field
  • Footer
  • Heading
  • Hero
  • Icon
  • Image
  • Level
  • MediaObject
  • Menu
  • Message
  • Modal
  • NavBar
  • Notification
  • Pagination
  • Panel
  • Section
  • SubTitle
  • Table
  • Tabs
  • Tags
  • Tile
  • Title

Getting Started

import React from 'react'
import { Hero, HeroBody, Title, SubTitle  } from '@brightleaf/elements'
import { useStyleSheet , useScript } from '@brightleaf/react-hooks'
 
export default () => {
  useStyleSheet(
    'https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.5/css/bulma.min.css'
  )
  useScript('https://kit.fontawesome.com/your-font-awesome-kit.js')
  return (
    <Hero isWarning>
      <HeroBody>
        <Title>Brightleaf Elements</Title>
        <SubTitle as="h4">Bulma Styled React Components</SubTitle>
      </HeroBody>
    </Hero>
  )
}

example

More information

Docs Templates CodeSandbox

Install

npm i @brightleaf/elements

DownloadsWeekly Downloads

11,444

Version

1.9.0

License

MIT

Unpacked Size

382 kB

Total Files

143

Last publish

Collaborators

  • avatar