Buma UI - DocumentationBuma UI - Documentation
Get Started
Foundations
Components
Resources
Patterns
Data Visualization
Back to BSpace
Get Started
Foundations
Components
Resources
Patterns
Data Visualization
  • stacksFoundations
    • 💡 Overview
    • Color
    • Principle
    • Typography
  • brickComponents
    • 💡 Overview
    • Accordion
    • Alert
    • Avatar
    • Badge
    • Bottom Sheet
    • Bread Crumb
    • Button
    • Button Link
    • Button Navigation
    • Calendar
    • Card
    • Chat
    • Checkbox
    • Chips
    • Choice Tile
    • Comment
    • Date Picker
    • Divider
    • Download
    • Drawer
    • Dropdown
    • Empty State
    • Floating Button
    • Form Input
    • Header
    • Hint
    • Icon
    • List Choice
    • Loading
    • Modal
    • Navigation Bar
    • Notification
    • Pagination
    • Progress Bar
    • Radio Button
    • Search
    • Scrolling Bar
    • Segmented Switch
    • Side Menu
    • Side Tab
    • Slider
    • Switch
    • Tab
    • Table
    • Text Area
    • Text Input
    • Time Picker
    • Title
    • Toast
    • Tooltip
    • Wizzard
  • splitscreenPattern
    • 💡 Overview
    • Filter
      upcoming
    • Form
      upcoming
    • Notification
    • PWA
      upcoming
    • table
      upcoming
    • Upload Download
      upcoming
  • insert_chartData Visualization
    • 💡 Overview
    • Tiering
    • Pattern
    • Chart and Graph
      • Chart Selection Guide
      • Map Selector
      • Donut Chart
      • Donut Progress Bar Chart
      • Spider Chart
      • Line Chart
      • Chart Area
      • Speedometer
      • Heat Map
      • Scatter Plot
      • Pie Chart
      • Bar Chart
      • Waterfall Chart
      • Sunburst Chart
      • Tree Decomposition Chart
      • Scorecards
      • Table
      • Micro Visualization
    • Typography
    • Color Palette
  • data_objectTokens
    upcoming
  • inventory_2Resources
    • 💡 Overview
    • Mobile
      new
      • 💡 Introduction
      • Installation
      • General
        • Important Rules
        • Naming Convention
        • Clean Architecture
    • Web
      upcoming
ComponentsIconIcons are graphic elements that symbolize concepts, items, or actions. They deliver information quickly, facilitate user interaction, and highlight critical details.
Guidelines
Web
Resources You can use these components by accessing the provided resource files.

Usage

The package is already installed in the repository's shell. To use the component, you only need to add the following code:

<BIcon name="person" />

Attributes

If there is a question mark ? in the Data Type, it means that the properties are optional.

PropertyData TypeDescriptionDefault Value
name?stringOptional name of the itemfiber-manual-record
width?stringOptional width of the item16
color?stringOptional color of the item#111111
size?string``numberOptional size of the itemnone
Mobile
Resources
  • You can use these components by accessing the provided resource files.
  • Preview animations are examples and may not suit Mobile Widgets. Press 'View Code' to access the Widgetbook Playground and see the Flutter widget displaying all created components and interactive.

Usage

BUMA mostly uses material icons directly supported by Flutter, therefore we can directly use Flutter's built-in widgets.

Import this line to your file:

import 'package:flutter/material.dart';

Attributes

If there is a question mark ? in the Data Type.

PropertiesData TypeDescriptionDefault Value
iconIconDataThe icon to displaynull
sizedouble?Adjust the size of the icon24.0
colorColor?Set the color of the iconColors.black
semanticLabelString?Label for accessibility purposenull
textDirectionTextDirection?Specify text directionTextDirection.ltr

Code

Icon(
    Icons.favorite, // Icon name
    color: Colors.red, // Icon color
    size: 48.0, // Icon size
    semanticLabel: 'Favorite Icon', // Accessibility label
)
arrow_back
Previous Hint
Next List Choice
arrow_forward