[bd] widget framework